Skip to content

Commit abd781b

Browse files
committed
feat: don't display deprecation notices when the runtime is starting
1 parent 39d0fff commit abd781b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

runtime/runtime.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
use Ymir\Runtime\Runtime;
1515

1616
ini_set('display_errors', '1');
17-
error_reporting(E_ALL);
17+
error_reporting(E_ALL & ~E_DEPRECATED & ~E_STRICT);
1818

1919
fwrite(STDERR, 'Cold start'.PHP_EOL);
2020

0 commit comments

Comments
 (0)