We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29a33d2 commit 634743cCopy full SHA for 634743c
composer.json
@@ -13,7 +13,7 @@
13
}
14
],
15
"require-dev": {
16
- "phpunit/phpunit": "^7.0|^8.0|^9.0|^10.5|^11.0"
+ "phpunit/phpunit": "^6.0|^7.0|^8.0|^9.0|^10.5|^11.0"
17
},
18
"require": {
19
"ext-pcntl": "*",
tests/RedisSimpleLockTest.php
@@ -21,7 +21,7 @@ public function testLock()
21
$lock1->acquire();
22
23
// Only the second acquire is supposed to fail
24
- $this->setExpectedException("Exception");
+ $this->expectException("Exception");
25
$lock2->acquire();
26
27
0 commit comments