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