Skip to content

Commit cb8f910

Browse files
committed
E_ALL value is different on PHP 8.4
1 parent 9263039 commit cb8f910

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

conf/config.neon

+1
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,7 @@ parameters:
260260
- OPENSSL_VERSION_NUMBER
261261
- ZEND_DEBUG_BUILD
262262
- ZEND_THREAD_SAFE
263+
- E_ALL # different on PHP 8.4
263264
customRulesetUsed: null
264265
editorUrl: null
265266
editorUrlTitle: null

tests/PHPStan/Analyser/nsrt/predefined-constants.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
assertType('4096', E_RECOVERABLE_ERROR);
4646
assertType('8192', E_DEPRECATED);
4747
assertType('16384', E_USER_DEPRECATED);
48-
assertType('32767', E_ALL);
48+
assertType('int', E_ALL);
4949
assertType('2048', E_STRICT);
5050
assertType('int<1, max>', __COMPILER_HALT_OFFSET__);
5151
assertType('true', true);

0 commit comments

Comments
 (0)