Passed
Push — master ( 3f067d...cddc11 )
by Kirill
04:18
created
src/Validation/tests/Checkers/DatetimeTest.php 1 patch
Braces   +6 added lines, -3 removed lines patch added patch discarded remove patch
@@ -27,7 +27,8 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
         }
Please login to merge, or discard this patch.