| 1 | <?php |
| 2 | |
| 3 | declare( strict_types = 1 ); |
| 4 | |
| 5 | namespace MediaWiki\Composer\PhpUnitSplitter; |
| 6 | |
| 7 | use Exception; |
| 8 | |
| 9 | /** |
| 10 | * @license GPL-2.0-or-later |
| 11 | */ |
| 12 | class 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 | } |