Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 1 |
UnexpectedVirtualNamespaceException | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
__construct | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 |
1 | <?php |
2 | |
3 | declare( strict_types=1 ); |
4 | |
5 | namespace MediaWiki\Extension\CampaignEvents\MWEntity; |
6 | |
7 | use RuntimeException; |
8 | |
9 | class UnexpectedVirtualNamespaceException extends RuntimeException { |
10 | /** |
11 | * @param int $ns |
12 | */ |
13 | public function __construct( int $ns ) { |
14 | parent::__construct( "Unexpectedly got a page with virtual namespace `$ns`" ); |
15 | } |
16 | } |