Test Setup Failed
Push — master ( 0b9d0a...dc70d4 )
by Alexpts
01:44 queued 14s
created
src/NotFoundKeyException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 
4 4
 namespace PTS\Tools;
5 5
 
Please login to merge, or discard this patch.
src/CollectionInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 
4 4
 namespace PTS\Tools;
5 5
 
Please login to merge, or discard this patch.
src/DuplicateKeyException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 
4 4
 namespace PTS\Tools;
5 5
 
Please login to merge, or discard this patch.
src/Collection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 
4 4
 namespace PTS\Tools;
5 5
 
Please login to merge, or discard this patch.
src/ArrayHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 
4 4
 namespace PTS\Tools;
5 5
 
Please login to merge, or discard this patch.
src/RegExpFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,6 +7,6 @@
 block discarded – undo
7 7
 {
8 8
     public function create(string $pattern, string $replacement = ''): callable
9 9
     {
10
-        return static fn ($value): string => preg_replace($pattern, $replacement, $value);
10
+        return static fn($value): string => preg_replace($pattern, $replacement, $value);
11 11
     }
12 12
 }
Please login to merge, or discard this patch.
src/DeepArray.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 
4 4
 namespace PTS\Tools;
5 5
 
Please login to merge, or discard this patch.
src/IOException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 
4 4
 namespace PTS\Tools;
5 5
 
Please login to merge, or discard this patch.
src/MicroDate.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
      */
29 29
     public static function createFromDateTime(DateTime $date): MicroDate
30 30
     {
31
-        return new self($date->getTimestamp(), (int)$date->format('u'));
31
+        return new self($date->getTimestamp(), (int) $date->format('u'));
32 32
     }
33 33
 
34 34
     /**
@@ -37,8 +37,8 @@  discard block
 block discarded – undo
37 37
     public static function now(): MicroDate
38 38
     {
39 39
         [$uSec, $sec] = explode(' ', microtime());
40
-        $uSec = (float)$uSec * 100000;
41
-        return new self((int)$sec, (int)$uSec);
40
+        $uSec = (float) $uSec * 100000;
41
+        return new self((int) $sec, (int) $uSec);
42 42
     }
43 43
 
44 44
     /**
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
      */
49 49
     public function toDateTime(DateTimeZone $timeZone = null): DateTime
50 50
     {
51
-        $date = DateTime::createFromFormat('U.u', $this->sec . '.' . $this->uSec);
51
+        $date = DateTime::createFromFormat('U.u', $this->sec.'.'.$this->uSec);
52 52
         if ($timeZone) {
53 53
             $date->setTimezone($timeZone);
54 54
         }
Please login to merge, or discard this patch.