Loading core/tests/bootstrap.php +1 −1 Original line number Diff line number Diff line Loading @@ -171,7 +171,7 @@ class_alias('\Drupal\Tests\DocumentElement', '\Behat\Mink\Element\DocumentElemen // DebugClassLoader, that occur before tests' setUp() methods are called. // We pass an instance of the PHPUnit error handler to redirect any error not // managed by our layer back to PHPUnit. set_error_handler(new BootstrapErrorHandler(new PhpUnitErrorHandler())); set_error_handler(new BootstrapErrorHandler(PhpUnitErrorHandler::instance())); // Enable the DebugClassLoader to get deprecations for methods' signature // changes. Loading Loading
core/tests/bootstrap.php +1 −1 Original line number Diff line number Diff line Loading @@ -171,7 +171,7 @@ class_alias('\Drupal\Tests\DocumentElement', '\Behat\Mink\Element\DocumentElemen // DebugClassLoader, that occur before tests' setUp() methods are called. // We pass an instance of the PHPUnit error handler to redirect any error not // managed by our layer back to PHPUnit. set_error_handler(new BootstrapErrorHandler(new PhpUnitErrorHandler())); set_error_handler(new BootstrapErrorHandler(PhpUnitErrorHandler::instance())); // Enable the DebugClassLoader to get deprecations for methods' signature // changes. Loading