Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. NoTestCaseObjectOnCallStackException.php

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\Code
View source
final class NoTestCaseObjectOnCallStackException extends RuntimeException implements Exception {
    public function __construct() {
        parent::__construct('Cannot find TestCase object on call stack');
    }

}

Members

Title Sort descending Modifiers Object type Summary
NoTestCaseObjectOnCallStackException::__construct public function
RSS feed
Powered by Drupal