3 merge requests!5423Draft: Resolve #3329907 "Test2",!3478Issue #3337882: Deleted menus are not removed from content type config,!579Issue #2230909: Simple decimals fail to pass validation
@@ -63,10 +63,7 @@ public function tearDownErrorHandler(): void {
// restored during ::tearDown().
$handler=Error::currentErrorHandler();
if(!$handlerinstanceofTestErrorHandler){
thrownew\RuntimeException(sprintf('%s registered its own error handler (%s) without restoring the previous one before or during tear down. This can cause unpredictable test results. Ensure the test cleans up after itself.',
$this->name(),
self::getCallableName($handler),
));
thrownew\RuntimeException(sprintf('%s registered its own error handler without restoring the previous one before or during tear down. This can cause unpredictable test results. Ensure the test cleans up after itself.',$this->name()));
}
restore_error_handler();
...
...
@@ -97,41 +94,4 @@ public function expectDeprecation(string $message): void {
DeprecationHandler::expectDeprecation($message);
}
/**
* Returns a callable as a string suitable for inclusion in a message.