Skip to content

Commit 7cfa5d2

Browse files
Merge branch '6.4' into 7.2
* 6.4: Silence E_DEPRECATED and E_USER_DEPRECATED [HttpCache] Hit the backend only once after waiting for the cache lock fix compatibility with Symfony 7.4
2 parents a4ba21e + b088e0b commit 7cfa5d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Debug.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class Debug
2020
{
2121
public static function enable(): ErrorHandler
2222
{
23-
error_reporting(-1);
23+
error_reporting(\E_ALL & ~\E_DEPRECATED & ~\E_USER_DEPRECATED);
2424

2525
if (!\in_array(\PHP_SAPI, ['cli', 'phpdbg', 'embed'], true)) {
2626
ini_set('display_errors', 0);

0 commit comments

Comments
 (0)