@@ -27,7 +27,8 @@ discard block |
||
| 27 | 27 | */ |
| 28 | 28 | public function testFuture(bool $expected, $value, bool $orNow, bool $useMicroseconds): void |
| 29 | 29 | { |
| 30 | - if ($value instanceof \Closure) { |
|
| 30 | + if ($value instanceof \Closure) |
|
| 31 | + { |
|
| 31 | 32 | $value = $value(); |
| 32 | 33 | } |
| 33 | 34 | |
@@ -41,7 +42,8 @@ discard block |
||
| 41 | 42 | */ |
| 42 | 43 | public function futureProvider(): array |
| 43 | 44 | { |
| 44 | - $future = static function () { |
|
| 45 | + $future = static function () |
|
| 46 | + { |
|
| 45 | 47 | return time() + 10; |
| 46 | 48 | }; |
| 47 | 49 | |
@@ -208,7 +210,8 @@ discard block |
||
| 208 | 210 | { |
| 209 | 211 | $checker = new DatetimeChecker(); |
| 210 | 212 | |
| 211 | - foreach (\DateTimeZone::listIdentifiers() as $identifier) { |
|
| 213 | + foreach (\DateTimeZone::listIdentifiers() as $identifier) |
|
| 214 | + { |
|
| 212 | 215 | $this->assertTrue($checker->timezone($identifier)); |
| 213 | 216 | $this->assertFalse($checker->timezone(str_rot13($identifier))); |
| 214 | 217 | } |