File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
tests/unit/PHPUnit/Listener Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 13
13
],
14
14
"require" : {
15
15
"ext-pcntl" : " *" ,
16
- "phpunit/phpunit" : " ^7.0||^8.0||^9.0||^10.0"
16
+ "phpunit/phpunit" : " ^7.0||^8.0||^9.0||^10.0||^11.0 "
17
17
},
18
18
"autoload" : {
19
19
"psr-4" : {
Original file line number Diff line number Diff line change 2
2
namespace Esler \PHPUnit \Listener ;
3
3
4
4
use PHPUnit \Framework \TestCase ;
5
+ use PHPUnit \Framework \Attributes \Before ;
5
6
6
7
/**
7
8
* Fake test suite with some long tests. It servers like demonstration
@@ -18,6 +19,7 @@ class GracefulInterruptListenerTest extends TestCase
18
19
/**
19
20
* @before
20
21
*/
22
+ #[Before]
21
23
protected function disableNestingProtection () {
22
24
// disable nesting protection for ackermann function
23
25
ini_set ('xdebug.max_nesting_level ' , -1 );
You can’t perform that action at this time.
0 commit comments