Skip to content

Commit

Permalink
support PHPUnit 8
Browse files Browse the repository at this point in the history
  • Loading branch information
Ondřej Ešler committed Jan 7, 2020
1 parent 6ff30d0 commit d6605c5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"require": {
"php": "^7.0",
"ext-pcntl": "*",
"phpunit/phpunit": "^7.0"
"phpunit/phpunit": "^7.0||^8.0"
},
"autoload": {
"psr-4": {
Expand Down
6 changes: 2 additions & 4 deletions tests/unit/PHPUnit/Listener/GracefulInterruptListenerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,9 @@ class GracefulInterruptListenerTest extends TestCase
{

/**
* Init before test
*
* @return void
* @before
*/
protected function setUp() {
protected function disableNestingProtection() {
// disable nesting protection for ackermann function
ini_set('xdebug.max_nesting_level', -1);
}
Expand Down

0 comments on commit d6605c5

Please sign in to comment.