Completed
Push — master ( f0faac...5bd571 )
by Pablo
02:41
created
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.