Issue #3517614 by alexpott, longwave, cmlara, catch, quietone, mstrelan:...
Issue #3517614 by alexpott, longwave, cmlara, catch, quietone, mstrelan: Possible Non GPLv2 compatible code in ExpectDeprecationTrait
(cherry picked from commit 405ac9da)
6 merge requests!12227Issue #3181946 by jonmcl, mglaman,!12079Issue #3523476 by matthiasm11: Add empty check on operator,!12024Fix: DocBlock comment for return value of Drupal\Core\Database\Connection::transactionManager(),!11974Draft: Issue #3495165 by catch, joeyroth, berdir, texas-bronius: Better warning...,!11934Issue #3520997: DefaultLazyPluginCollection unnecessarily instantiates plugins when sorting collection,!11887Issue #3520065: The migrate Row class API is incomplete
@@ -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.