Completed
Push — master ( ecb243...bb1b22 )
by Pablo
03:58
created
src/PhpValueObjects/Tests/Geography/LongitudeTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,8 +23,8 @@
 block discarded – undo
23 23
     public function invalidLongitudeProvider(): array
24 24
     {
25 25
         return [
26
-            [$this->faker()->randomFloat(4, -200, -185)],
27
-            [$this->faker()->randomFloat(4, 185, 200)]
26
+            [ $this->faker()->randomFloat(4, -200, -185) ],
27
+            [ $this->faker()->randomFloat(4, 185, 200) ]
28 28
         ];
29 29
     }
30 30
 
Please login to merge, or discard this patch.
src/PhpValueObjects/Tests/Geography/LatitudeTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,8 +23,8 @@
 block discarded – undo
23 23
     public function invalidLatitudeProvider(): array
24 24
     {
25 25
         return [
26
-            [$this->faker()->randomFloat(4, -200, -95)],
27
-            [$this->faker()->randomFloat(4, 100, 200)]
26
+            [ $this->faker()->randomFloat(4, -200, -95) ],
27
+            [ $this->faker()->randomFloat(4, 100, 200) ]
28 28
         ];
29 29
     }
30 30
 
Please login to merge, or discard this patch.
src/PhpValueObjects/Tests/ThrowException.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
     protected function throwException($value): void
9 9
     {
10
-        throw new \Exception((string)$value);
10
+        throw new \Exception((string) $value);
11 11
     }
12 12
 }
Please login to merge, or discard this patch.
src/PhpValueObjects/Tests/Identity/UuidTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
     public function invalidUuidProvider(): array
24 24
     {
25 25
         return [
26
-            [$this->faker()->address],
26
+            [ $this->faker()->address ],
27 27
         ];
28 28
     }
29 29
 
Please login to merge, or discard this patch.
src/PhpValueObjects/Tests/Spatial/PolygonTest.php 1 patch
Spacing   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -16,30 +16,30 @@  discard block
 block discarded – undo
16 16
         return [
17 17
             [
18 18
                 'no_two_elements_by_array' => [
19
-                    [$this->faker()->latitude],
20
-                    [$this->faker()->lastName, $this->faker()->longitude],
21
-                    [$this->faker()->lastName, $this->faker()->longitude]
19
+                    [ $this->faker()->latitude ],
20
+                    [ $this->faker()->lastName, $this->faker()->longitude ],
21
+                    [ $this->faker()->lastName, $this->faker()->longitude ]
22 22
                 ]
23 23
             ],
24 24
             [
25 25
                 'no_same_start_end_data' => [
26
-                    [$this->faker()->latitude, $this->faker()->longitude],
27
-                    [$this->faker()->latitude, $this->faker()->longitude],
28
-                    [$this->faker()->latitude, $this->faker()->randomFloat()],
26
+                    [ $this->faker()->latitude, $this->faker()->longitude ],
27
+                    [ $this->faker()->latitude, $this->faker()->longitude ],
28
+                    [ $this->faker()->latitude, $this->faker()->randomFloat() ],
29 29
                 ]
30 30
             ],
31 31
             [
32 32
                 'no_polygon' => [
33
-                    [$latitude, $longitude],
34
-                    [$latitude, $longitude],
33
+                    [ $latitude, $longitude ],
34
+                    [ $latitude, $longitude ],
35 35
                 ]
36 36
             ],
37 37
             [
38 38
                 'element_no_array' => [
39
-                    [$latitude, $longitude],
39
+                    [ $latitude, $longitude ],
40 40
                     'string',
41
-                    [$this->faker()->lastName, $this->faker()->longitude],
42
-                    [$latitude, $longitude]
41
+                    [ $this->faker()->lastName, $this->faker()->longitude ],
42
+                    [ $latitude, $longitude ]
43 43
                 ]
44 44
             ]
45 45
         ];
@@ -65,9 +65,9 @@  discard block
 block discarded – undo
65 65
         $longitude = $this->faker()->longitude;
66 66
 
67 67
         $data = [
68
-            [$latitude, $longitude],
69
-            [$this->faker()->latitude, $this->faker()->longitude],
70
-            [$latitude, $longitude]
68
+            [ $latitude, $longitude ],
69
+            [ $this->faker()->latitude, $this->faker()->longitude ],
70
+            [ $latitude, $longitude ]
71 71
         ];
72 72
 
73 73
         $polygon = new Polygon($data);
Please login to merge, or discard this patch.
src/PhpValueObjects/Tests/Spatial/MultiPolygonTest.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
     public function invalidDataProvider(): array
13 13
     {
14 14
         return [
15
-            [[['string']]]
15
+            [ [ [ 'string' ] ] ]
16 16
         ];
17 17
     }
18 18
 
@@ -39,16 +39,16 @@  discard block
 block discarded – undo
39 39
 
40 40
         $data = [
41 41
             [
42
-                [$latitude1, $longitude1],
43
-                [$this->faker()->latitude, $this->faker()->longitude],
44
-                [$this->faker()->latitude, $this->faker()->longitude],
45
-                [$latitude1, $longitude1],
42
+                [ $latitude1, $longitude1 ],
43
+                [ $this->faker()->latitude, $this->faker()->longitude ],
44
+                [ $this->faker()->latitude, $this->faker()->longitude ],
45
+                [ $latitude1, $longitude1 ],
46 46
             ],
47 47
             [
48
-                [$latitude2, $longitude2],
49
-                [$this->faker()->latitude, $this->faker()->longitude],
50
-                [$this->faker()->latitude, $this->faker()->longitude],
51
-                [$latitude2, $longitude2]
48
+                [ $latitude2, $longitude2 ],
49
+                [ $this->faker()->latitude, $this->faker()->longitude ],
50
+                [ $this->faker()->latitude, $this->faker()->longitude ],
51
+                [ $latitude2, $longitude2 ]
52 52
             ]
53 53
         ];
54 54
 
Please login to merge, or discard this patch.
src/PhpValueObjects/Tests/Network/TcpPortTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,8 +23,8 @@
 block discarded – undo
23 23
     public function invalidTcpPortProvider(): array
24 24
     {
25 25
         return [
26
-            [$this->faker()->numberBetween(65536)],
27
-            [-$this->faker()->numberBetween()],
26
+            [ $this->faker()->numberBetween(65536) ],
27
+            [-$this->faker()->numberBetween() ],
28 28
         ];
29 29
     }
30 30
 
Please login to merge, or discard this patch.
src/PhpValueObjects/Tests/Network/Ipv6Test.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,8 +22,8 @@
 block discarded – undo
22 22
     public function invalidIpv6Provider(): array
23 23
     {
24 24
         return [
25
-            [$this->faker()->ipv4],
26
-            [$this->faker()->localIpv4],
25
+            [ $this->faker()->ipv4 ],
26
+            [ $this->faker()->localIpv4 ],
27 27
         ];
28 28
     }
29 29
 
Please login to merge, or discard this patch.
src/PhpValueObjects/Tests/Network/Ipv4Test.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
     public function invalidIpv4AddressProvider(): array
24 24
     {
25 25
         return [
26
-            [$this->faker()->ipv6]
26
+            [ $this->faker()->ipv6 ]
27 27
         ];
28 28
     }
29 29
 
Please login to merge, or discard this patch.