Skip to content

Commit d6605c5

Browse files
author
Ondřej Ešler
committed
support PHPUnit 8
1 parent 6ff30d0 commit d6605c5

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"require": {
1515
"php": "^7.0",
1616
"ext-pcntl": "*",
17-
"phpunit/phpunit": "^7.0"
17+
"phpunit/phpunit": "^7.0||^8.0"
1818
},
1919
"autoload": {
2020
"psr-4": {

tests/unit/PHPUnit/Listener/GracefulInterruptListenerTest.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,9 @@ class GracefulInterruptListenerTest extends TestCase
1616
{
1717

1818
/**
19-
* Init before test
20-
*
21-
* @return void
19+
* @before
2220
*/
23-
protected function setUp() {
21+
protected function disableNestingProtection() {
2422
// disable nesting protection for ackermann function
2523
ini_set('xdebug.max_nesting_level', -1);
2624
}

0 commit comments

Comments
 (0)