Skip to content

Commit 15b5e02

Browse files
committed
PHP 8.4 | build-phar: remove use of E_STRICT
The `E_STRICT` constant is deprecated as of PHP 8.4 and will be removed in PHP 9.0. The error level hasn't been in use since PHP 8.0 anyway, so removing the exclusion from the `error_reporting()` setting in the `build-phar` script should make no difference in practice. Ref: * https://wiki.php.net/rfc/deprecations_php_8_4#remove_e_strict_error_level_and_deprecate_e_strict_constant
1 parent f735d4e commit 15b5e02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/build-phar.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
use PHP_CodeSniffer\Tokenizers\PHP;
2020
use PHP_CodeSniffer\Util\Tokens;
2121

22-
error_reporting(E_ALL | E_STRICT);
22+
error_reporting(E_ALL);
2323

2424
if (ini_get('phar.readonly') === '1') {
2525
echo 'Unable to build, phar.readonly in php.ini is set to read only.'.PHP_EOL;

0 commit comments

Comments
 (0)