This commit is contained in:
Bastian Allgeier
2020-07-07 12:40:29 +02:00
parent 5f025ac2c2
commit f79d2e960c
176 changed files with 10531 additions and 5342 deletions
+2 -2
View File
@@ -26,9 +26,9 @@ class SystemFacade
*/
public function setErrorHandler(callable $handler, $types = 'use-php-defaults')
{
// Workaround for PHP 5.5
// Since PHP 5.4 the constant E_ALL contains all errors (even E_STRICT)
if ($types === 'use-php-defaults') {
$types = E_ALL | E_STRICT;
$types = E_ALL;
}
return set_error_handler($handler, $types);
}