Completed
Pull Request — master (#6)
by
unknown
04:28
created
src/PhpValueObjects/Tests/Network/TcpPortValueObjectTest.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -24,10 +24,10 @@
 block discarded – undo
24 24
     public function invalidTcpPortProvider(): array
25 25
     {
26 26
         return [
27
-            [11362.0],
28
-            [$this->faker()->randomFloat()],
29
-            [$this->faker()->numberBetween(65536)],
30
-            [-$this->faker()->numberBetween()],
27
+            [ 11362.0 ],
28
+            [ $this->faker()->randomFloat() ],
29
+            [ $this->faker()->numberBetween(65536) ],
30
+            [-$this->faker()->numberBetween() ],
31 31
         ];
32 32
     }
33 33
 
Please login to merge, or discard this patch.
src/PhpValueObjects/Tests/Network/Ipv6ValueObjectTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -24,9 +24,9 @@
 block discarded – undo
24 24
     public function invalidIpv6Provider(): array
25 25
     {
26 26
         return [
27
-            [$this->faker()->ipv4],
28
-            [$this->faker()->localIpv4],
29
-            [$this->faker()->numberBetween()],
27
+            [ $this->faker()->ipv4 ],
28
+            [ $this->faker()->localIpv4 ],
29
+            [ $this->faker()->numberBetween() ],
30 30
         ];
31 31
     }
32 32
 
Please login to merge, or discard this patch.
src/PhpValueObjects/Tests/Geography/LocaleValueObjectTest.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -12,10 +12,10 @@  discard block
 block discarded – undo
12 12
     public function localeProvider(): array
13 13
     {
14 14
         return [
15
-            ['es_ES'],
16
-            ['es_AR'],
17
-            ['en_GB'],
18
-            ['en_US'],
15
+            [ 'es_ES' ],
16
+            [ 'es_AR' ],
17
+            [ 'en_GB' ],
18
+            [ 'en_US' ],
19 19
 
20 20
         ];
21 21
     }
@@ -34,8 +34,8 @@  discard block
 block discarded – undo
34 34
     public function invalidLocaleProvider(): array
35 35
     {
36 36
         return [
37
-            [$this->faker()->address],
38
-            [$this->faker()->numberBetween()],
37
+            [ $this->faker()->address ],
38
+            [ $this->faker()->numberBetween() ],
39 39
         ];
40 40
     }
41 41
 
Please login to merge, or discard this patch.
src/PhpValueObjects/Tests/Geography/LanguageCodeValueObjectTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,8 +25,8 @@
 block discarded – undo
25 25
     public function invalidLanguageCodeProvider(): array
26 26
     {
27 27
         return [
28
-            [$this->faker()->address],
29
-            [$this->faker()->numberBetween()],
28
+            [ $this->faker()->address ],
29
+            [ $this->faker()->numberBetween() ],
30 30
         ];
31 31
     }
32 32
 
Please login to merge, or discard this patch.
src/PhpValueObjects/Tests/Geography/LatitudeValueObjectTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -24,9 +24,9 @@
 block discarded – undo
24 24
     public function invalidLatitudeProvider(): array
25 25
     {
26 26
         return [
27
-            [$this->faker()->name],
28
-            [$this->faker()->randomFloat(4, -200, -95)],
29
-            [$this->faker()->randomFloat(4, 100, 200)]
27
+            [ $this->faker()->name ],
28
+            [ $this->faker()->randomFloat(4, -200, -95) ],
29
+            [ $this->faker()->randomFloat(4, 100, 200) ]
30 30
         ];
31 31
     }
32 32
 
Please login to merge, or discard this patch.
src/PhpValueObjects/Tests/Geography/CountryCodeValueObjectTest.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -14,10 +14,10 @@  discard block
 block discarded – undo
14 14
     public function countryCodeProvider(): array
15 15
     {
16 16
         return [
17
-            ['GB'],
18
-            ['ES'],
19
-            ['BA'],
20
-            ['FR'],
17
+            [ 'GB' ],
18
+            [ 'ES' ],
19
+            [ 'BA' ],
20
+            [ 'FR' ],
21 21
         ];
22 22
     }
23 23
 
@@ -36,8 +36,8 @@  discard block
 block discarded – undo
36 36
     public function invalidCountryCodeProvider(): array
37 37
     {
38 38
         return [
39
-            [$this->faker()->address],
40
-            [$this->faker()->numberBetween()]
39
+            [ $this->faker()->address ],
40
+            [ $this->faker()->numberBetween() ]
41 41
         ];
42 42
     }
43 43
 
Please login to merge, or discard this patch.
src/PhpValueObjects/Tests/Geography/LongitudeValueObjectTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -24,9 +24,9 @@
 block discarded – undo
24 24
     public function invalidLongitudeProvider(): array
25 25
     {
26 26
         return [
27
-            [$this->faker()->name],
28
-            [$this->faker()->randomFloat(4, -200, -185)],
29
-            [$this->faker()->randomFloat(4, 185, 200)]
27
+            [ $this->faker()->name ],
28
+            [ $this->faker()->randomFloat(4, -200, -185) ],
29
+            [ $this->faker()->randomFloat(4, 185, 200) ]
30 30
         ];
31 31
     }
32 32
 
Please login to merge, or discard this patch.
src/PhpValueObjects/Tests/Collection/CollectionTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
     {
41 41
         $this->expectException(InvalidCollectionObjectException::class);
42 42
 
43
-        new Collection([new stdClass(), new stdClass()]);
43
+        new Collection([ new stdClass(), new stdClass() ]);
44 44
     }
45 45
 
46 46
     /**
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
      */
57 57
     public function itShouldReturnEmptyCollection(): void
58 58
     {
59
-        $collection = new Collection([]);
59
+        $collection = new Collection([ ]);
60 60
 
61 61
         $this->assertEmpty($collection->getCollection());
62 62
     }
Please login to merge, or discard this patch.
src/PhpValueObjects/Tests/Identity/Sha256ValueObjectTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -25,9 +25,9 @@
 block discarded – undo
25 25
     public function invalidSha256Provider(): array
26 26
     {
27 27
         return [
28
-            [$this->faker()->md5],
29
-            [$this->faker()->sha1],
30
-            [$this->faker()->text],
28
+            [ $this->faker()->md5 ],
29
+            [ $this->faker()->sha1 ],
30
+            [ $this->faker()->text ],
31 31
         ];
32 32
     }
33 33
 
Please login to merge, or discard this patch.