class NoTestCaseObjectOnCallStackException
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
@internal This class is not covered by the backward compatibility promise for PHPUnit
Hierarchy
- class \PHPUnit\Event\Code\NoTestCaseObjectOnCallStackException extends \RuntimeException implements \PHPUnit\Event\Exception
Expanded class hierarchy of NoTestCaseObjectOnCallStackException
1 file declares its use of NoTestCaseObjectOnCallStackException
- ErrorHandler.php in vendor/
phpunit/ phpunit/ src/ Runner/ ErrorHandler.php
File
-
vendor/
phpunit/ phpunit/ src/ Event/ Exception/ NoTestCaseObjectOnCallStackException.php, line 20
Namespace
PHPUnit\Event\CodeView source
final class NoTestCaseObjectOnCallStackException extends RuntimeException implements Exception {
public function __construct() {
parent::__construct('Cannot find TestCase object on call stack');
}
}