Completed
Push — master ( 446020...5be29e )
by Pablo
03:42
created
src/PhpValueObjects/Tests/Spatial/PolygonValueObjectTest.php 1 patch
Spacing   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -13,33 +13,33 @@  discard block
 block discarded – undo
13 13
         $latitude = $this->faker()->latitude;
14 14
         $longitude = $this->faker()->longitude;
15 15
         return [
16
-            ['no_array' => 'string'],
16
+            [ 'no_array' => 'string' ],
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
         ];
@@ -66,9 +66,9 @@  discard block
 block discarded – undo
66 66
         $longitude = $this->faker()->longitude;
67 67
 
68 68
         $data = [
69
-            [$latitude, $longitude],
70
-            [$this->faker()->latitude, $this->faker()->longitude],
71
-            [$latitude, $longitude]
69
+            [ $latitude, $longitude ],
70
+            [ $this->faker()->latitude, $this->faker()->longitude ],
71
+            [ $latitude, $longitude ]
72 72
         ];
73 73
 
74 74
         $polygon = new PolygonValueObject($data);
Please login to merge, or discard this patch.