1
0
Fork 0

Ignore all symfony deprecations

pull/10346/head
Jordi Boggiano 2021-09-03 21:38:44 +02:00 committed by David Zuelke
parent ac9f4ac86d
commit be273491c6
1 changed files with 3 additions and 0 deletions

View File

@ -57,6 +57,9 @@ class ErrorHandler
if (preg_match('{^Return type of (Symfony|Composer)\\\\.*ReturnTypeWillChange}is', $message)) {
return true;
}
if (strpos(strtr($file, '\\', '/'), 'vendor/symfony/') !== false) {
return true;
}
self::$io->writeError('<warning>Deprecation Notice: '.$message.' in '.$file.':'.$line.'</warning>');
if (self::$io->isVerbose()) {