Completed
Pull Request — master (#1)
by Jonathan
04:14
created
src/PhpValueObjects/Tests/Network/Ipv4ValueObjectTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -27,9 +27,9 @@
 block discarded – undo
27 27
     public function invalidIpv4AddressProvider()
28 28
     {
29 29
         return [
30
-            [null],
31
-            [$this->faker()->numberBetween()],
32
-            [$this->faker()->ipv6]
30
+            [ null ],
31
+            [ $this->faker()->numberBetween() ],
32
+            [ $this->faker()->ipv6 ]
33 33
         ];
34 34
     }
35 35
 
Please login to merge, or discard this patch.
src/PhpValueObjects/Tests/Network/Ipv6ValueObjectTest.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -26,10 +26,10 @@
 block discarded – undo
26 26
     public function invalidIpv6Provider()
27 27
     {
28 28
         return [
29
-            [null],
30
-            [$this->faker()->ipv4],
31
-            [$this->faker()->localIpv4],
32
-            [$this->faker()->numberBetween()],
29
+            [ null ],
30
+            [ $this->faker()->ipv4 ],
31
+            [ $this->faker()->localIpv4 ],
32
+            [ $this->faker()->numberBetween() ],
33 33
         ];
34 34
     }
35 35
 
Please login to merge, or discard this patch.
src/PhpValueObjects/Tests/Network/UrlValueObjectTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -26,9 +26,9 @@
 block discarded – undo
26 26
     public function invalidUrlProvider()
27 27
     {
28 28
         return [
29
-            [null],
30
-            [$this->faker()->email],
31
-            [$this->faker()->phoneNumber],
29
+            [ null ],
30
+            [ $this->faker()->email ],
31
+            [ $this->faker()->phoneNumber ],
32 32
         ];
33 33
     }
34 34
 
Please login to merge, or discard this patch.
src/PhpValueObjects/Tests/Identity/Md5ValueObjectTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -26,9 +26,9 @@
 block discarded – undo
26 26
     public function invalidMd5HashProvider()
27 27
     {
28 28
         return [
29
-            [$this->faker()->sha1],
30
-            [$this->faker()->sha256],
31
-            [$this->faker()->text],
29
+            [ $this->faker()->sha1 ],
30
+            [ $this->faker()->sha256 ],
31
+            [ $this->faker()->text ],
32 32
         ];
33 33
     }
34 34
 
Please login to merge, or discard this patch.
src/PhpValueObjects/Tests/Identity/Sha256ValueObjectTest.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -26,10 +26,10 @@
 block discarded – undo
26 26
     public function invalidSha256Provider()
27 27
     {
28 28
         return [
29
-            [null],
30
-            [$this->faker()->md5],
31
-            [$this->faker()->sha1],
32
-            [$this->faker()->text],
29
+            [ null ],
30
+            [ $this->faker()->md5 ],
31
+            [ $this->faker()->sha1 ],
32
+            [ $this->faker()->text ],
33 33
         ];
34 34
     }
35 35
 
Please login to merge, or discard this patch.
src/PhpValueObjects/Tests/Identity/Sha1ValueObjectTest.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -26,10 +26,10 @@
 block discarded – undo
26 26
     public function invalidSha1Provider()
27 27
     {
28 28
         return [
29
-            [null],
30
-            [$this->faker()->md5],
31
-            [$this->faker()->sha256],
32
-            [$this->faker()->text],
29
+            [ null ],
30
+            [ $this->faker()->md5 ],
31
+            [ $this->faker()->sha256 ],
32
+            [ $this->faker()->text ],
33 33
         ];
34 34
     }
35 35
 
Please login to merge, or discard this patch.
src/PhpValueObjects/Identity/Md5ValueObject.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
      */
15 15
     protected function guard($value)
16 16
     {
17
-        if (false === (bool)preg_match('/^[a-f0-9]{32}$/', $value)) {
17
+        if (false === (bool) preg_match('/^[a-f0-9]{32}$/', $value)) {
18 18
             throw new InvalidMd5Exception($value);
19 19
         }
20 20
     }
Please login to merge, or discard this patch.