Skip to content

Commit fbeeaec

Browse files
Remove some PHP version constraints that no longer apply
1 parent 25c62b7 commit fbeeaec

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

classes/util/Loop.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
/*

tests/mutex/MutexTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff 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
{

0 commit comments

Comments
 (0)