File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ public function execute(callable $code)
8484 /*
8585 * Calculate max time remaining, don't sleep any longer than that.
8686 */
87- $ usecRemaining = intval (($ timeout - microtime (true )) * 1e6 );
87+ $ usecRemaining = \ intval (($ timeout - \ microtime (true )) * 1e6 );
8888
8989 if ($ usecRemaining <= 0 ) {
9090 /*
Original file line number Diff line number Diff line change @@ -159,7 +159,6 @@ public function testRelease(callable $mutexFactory)
159159 * @param callable $mutexFactory The Mutex factory.
160160 * @test
161161 * @dataProvider provideMutexFactories
162- * @requires PHP 7.0
163162 */
164163 public function testLiveness (callable $ mutexFactory )
165164 {
@@ -190,7 +189,6 @@ public function testLiveness(callable $mutexFactory)
190189 * @test
191190 * @dataProvider provideMutexFactories
192191 * @expectedException \DomainException
193- * @requires PHP 5.6
194192 */
195193 public function testSynchronizedPassesExceptionThrough (callable $ mutexFactory )
196194 {
You can’t perform that action at this time.
0 commit comments