Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
0.00% covered (danger)
0.00%
0 / 3
0.00% covered (danger)
0.00%
0 / 1
CRAP
0.00% covered (danger)
0.00%
0 / 1
MissingNamespaceMatchForTestException
0.00% covered (danger)
0.00%
0 / 3
0.00% covered (danger)
0.00%
0 / 1
2
0.00% covered (danger)
0.00%
0 / 1
 __construct
0.00% covered (danger)
0.00%
0 / 3
0.00% covered (danger)
0.00%
0 / 1
2
1<?php
2
3declare( strict_types = 1 );
4
5namespace MediaWiki\Composer\PhpUnitSplitter;
6
7use Exception;
8
9/**
10 * @license GPL-2.0-or-later
11 */
12class MissingNamespaceMatchForTestException extends Exception {
13    public function __construct( TestDescriptor $testDescriptor ) {
14        parent::__construct(
15            "Could not match " . $testDescriptor->getFullClassname() . " to a namespace in a php test file"
16        );
17    }
18
19}