@@ -23,8 +23,8 @@ |
||
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 |
@@ -23,8 +23,8 @@ |
||
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 |
@@ -7,6 +7,6 @@ |
||
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 | } |
@@ -23,7 +23,7 @@ |
||
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 |
@@ -16,30 +16,30 @@ discard block |
||
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 |
||
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); |
@@ -12,7 +12,7 @@ discard block |
||
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 |
||
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 |
@@ -23,8 +23,8 @@ |
||
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 |
@@ -22,8 +22,8 @@ |
||
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 |
@@ -23,7 +23,7 @@ |
||
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 |