Skip to content

Commit

Permalink
Merge pull request #5555 from Codeception/fix-symfony-deprecate
Browse files Browse the repository at this point in the history
hiding Symfony 4.3 deprecation warning
  • Loading branch information
Naktibalda committed Jun 19, 2019
2 parents 0654e67 + 69d7184 commit 65ffe3b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Codeception/Subscriber/ErrorHandler.php
Expand Up @@ -146,6 +146,9 @@ private function handleDeprecationError($type, $message, $file, $line, $context)
call_user_func($this->oldHandler, $type, $message, $file, $line, $context);
return;
}
if (strpos($message, 'Symfony 4.3')) { // skip Symfony 4.3 deprecations
return;
}
Notification::deprecate("$message", "$file:$line");
}
}

0 comments on commit 65ffe3b

Please sign in to comment.