File tree 3 files changed +10
-1
lines changed
3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 32
32
"phpstan/phpstan-phpunit" : " ^1.3" ,
33
33
"phpstan/phpstan-strict-rules" : " ^1.5" ,
34
34
"phpstan/phpstan-symfony" : " ^1.3" ,
35
- "phpunit/phpunit" : " ^10.4" ,
35
+ "phpunit/phpunit" : " ^10.4 || ^11.0 " ,
36
36
"ramsey/uuid" : " ^4.7" ,
37
37
"roave/security-advisories" : " dev-latest" ,
38
38
"sentry/sentry" : " ^4.2" ,
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
<phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3
3
xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/10.4/phpunit.xsd"
4
+ bootstrap =" tests/bootstrap.php"
4
5
failOnRisky =" true"
5
6
failOnWarning =" true"
6
7
beStrictAboutChangesToGlobalState =" true"
Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ declare (strict_types=1 );
4
+
5
+ use Symfony \Component \ErrorHandler \ErrorHandler ;
6
+
7
+ // PHPUnit 11 compatibility. Symfony does not unregister error handlers (yet)
8
+ ErrorHandler::register (null , false );
You can’t perform that action at this time.
0 commit comments