Skip to content

Commit

Permalink
E_ALL value is different on PHP 8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Sep 19, 2024
1 parent 9263039 commit cb8f910
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions conf/config.neon
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ parameters:
- OPENSSL_VERSION_NUMBER
- ZEND_DEBUG_BUILD
- ZEND_THREAD_SAFE
- E_ALL # different on PHP 8.4
customRulesetUsed: null
editorUrl: null
editorUrlTitle: null
Expand Down
2 changes: 1 addition & 1 deletion tests/PHPStan/Analyser/nsrt/predefined-constants.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
assertType('4096', E_RECOVERABLE_ERROR);
assertType('8192', E_DEPRECATED);
assertType('16384', E_USER_DEPRECATED);
assertType('32767', E_ALL);
assertType('int', E_ALL);
assertType('2048', E_STRICT);
assertType('int<1, max>', __COMPILER_HALT_OFFSET__);
assertType('true', true);
Expand Down

0 comments on commit cb8f910

Please sign in to comment.