Skip to content

Commit

Permalink
Use -1 instead of E_ALL | E_STRICT
Browse files Browse the repository at this point in the history
E_STRICT is deprecated as of PHP 8.4
  • Loading branch information
greg0ire committed Oct 8, 2024
1 parent 166389d commit 718bccc
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/Tests/TestInit.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@
use function file_exists;
use function mkdir;

use const E_ALL;
use const E_STRICT;

error_reporting(E_ALL | E_STRICT);
error_reporting(-1);
date_default_timezone_set('UTC');

if (file_exists(__DIR__ . '/../../vendor/autoload.php')) {
Expand Down

0 comments on commit 718bccc

Please sign in to comment.