Skip to content

Commit

Permalink
[ErrorHandler] silence warning when zend.assertions=-1
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-grekas committed Feb 13, 2020
1 parent e87b599 commit 67ef532
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Symfony/Component/ErrorHandler/Debug.php
Expand Up @@ -29,7 +29,7 @@ public static function enable(): ErrorHandler
ini_set('display_errors', 1);
}

ini_set('zend.assertions', 1);
@ini_set('zend.assertions', 1);
ini_set('assert.active', 1);
ini_set('assert.warning', 0);
ini_set('assert.exception', 1);
Expand Down

0 comments on commit 67ef532

Please sign in to comment.