Skip to content

Commit 18d46a7

Browse files
committed
Fix constant E_STRICT deprecation warning when running tests
E_STRICT was deprecated in PHP 8.4. It's used in tests/bootstrap.php, causing a deprecation warning to be emitted when running tests.
1 parent 5f9ed7c commit 18d46a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/bootstrap.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
* Whoops - php errors for cool kids
44
* @author Filipe Dobreira <http://github.com/filp>
55
*
6-
* Bootstraper for PHPUnit tests.
6+
* Bootstrapper for PHPUnit tests.
77
*/
8-
error_reporting(E_ALL | E_STRICT);
8+
error_reporting(E_ALL);
99

1010
require_once __DIR__ . '/../vendor/autoload.php';

0 commit comments

Comments
 (0)