Skip to content

Commit 60cee7e

Browse files
committed
Fix error_reporting in dev mode
1 parent a85b708 commit 60cee7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/orange/cfhelper/configuration/PhpIniConfigurator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function loadConfig()
4141
{
4242
if (!empty($this->config['type']) && $this->config['type'] == 'development') {
4343
ini_set("display_errors", "On");
44-
ini_set("error_reporting", -1);
44+
ini_set("error_reporting", E_ALL & ~E_NOTICE);
4545
$whoops = new \Whoops\Run;
4646
$whoops->pushHandler(new \Whoops\Handler\PrettyPageHandler);
4747
$whoops->register();

0 commit comments

Comments
 (0)