Skip to content

Commit 6f176b3

Browse files
authored
Remove usage of deprecated E_STRICT (#1668)
1 parent 2d0ccfc commit 6f176b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/utils/tools.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,7 @@ function severityToString(int $severity): string {
602602
'E_USER_ERROR' => E_USER_ERROR,
603603
'E_USER_WARNING' => E_USER_WARNING,
604604
'E_USER_NOTICE' => E_USER_NOTICE,
605-
'E_STRICT' => E_STRICT,
605+
'E_STRICT' => 2048, // E_STRICT was deprecated in PHP 8.4
606606
'E_RECOVERABLE_ERROR' => E_RECOVERABLE_ERROR,
607607
'E_DEPRECATED' => E_DEPRECATED,
608608
'E_USER_DEPRECATED' => E_USER_DEPRECATED,

0 commit comments

Comments
 (0)