Completed
Push — master ( a67e7e...95640a )
by Tomasz
02:42
created
src/Validator/Message/MessageInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace Hop\Validator\Message;
6 6
 
Please login to merge, or discard this patch.
src/Validator/Message/MessagesContainer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace Hop\Validator\Message;
6 6
 
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
     {
29 29
         $cnt = 0;
30 30
         foreach ($this->messages as $message) {
31
-            $cnt+= $message->count();
31
+            $cnt += $message->count();
32 32
         }
33 33
         return $cnt;
34 34
     }
Please login to merge, or discard this patch.
src/Validator/Message/FieldMessage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace Hop\Validator\Message;
6 6
 
Please login to merge, or discard this patch.
src/Validator/StdValidator.php 1 patch
Spacing   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace Hop\Validator;
6 6
 
@@ -85,8 +85,7 @@  discard block
 block discarded – undo
85 85
             $messages->attachMessage(
86 86
                 $field->fieldName(),
87 87
                 $field->isArray() ?
88
-                    $this->processArrayField($field, $data[$field->fieldName()]) :
89
-                    $this->processSingleField(@$data[$field->fieldName()], $field)
88
+                    $this->processArrayField($field, $data[$field->fieldName()]) : $this->processSingleField(@$data[$field->fieldName()], $field)
90 89
             );
91 90
         }
92 91
         return $messages;
Please login to merge, or discard this patch.
src/Validator/StdFilter.php 1 patch
Spacing   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace Hop\Validator;
6 6
 
@@ -53,8 +53,7 @@  discard block
 block discarded – undo
53 53
             }
54 54
 
55 55
             $filtered[$fieldName] = $field->isArray() ?
56
-                $this->filterArray($field, $data[$fieldName]) :
57
-                $this->filterSingle($field, $data[$fieldName]);
56
+                $this->filterArray($field, $data[$fieldName]) : $this->filterSingle($field, $data[$fieldName]);
58 57
         }
59 58
         return $filtered;
60 59
     }
Please login to merge, or discard this patch.