Skip to content

Commit 634743c

Browse files
authored
.
1 parent 29a33d2 commit 634743c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
}
1414
],
1515
"require-dev": {
16-
"phpunit/phpunit": "^7.0|^8.0|^9.0|^10.5|^11.0"
16+
"phpunit/phpunit": "^6.0|^7.0|^8.0|^9.0|^10.5|^11.0"
1717
},
1818
"require": {
1919
"ext-pcntl": "*",

tests/RedisSimpleLockTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public function testLock()
2121
$lock1->acquire();
2222

2323
// Only the second acquire is supposed to fail
24-
$this->setExpectedException("Exception");
24+
$this->expectException("Exception");
2525
$lock2->acquire();
2626
}
2727

0 commit comments

Comments
 (0)