Completed
Push — master ( ce2172...f53837 )
by Tomasz
02:50
created
config/filters.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
 return [
6 6
     'Sanitize' => \Hop\Validator\Filter\Sanitize::class,
Please login to merge, or discard this patch.
config/validators.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
 return [
6 6
     'Digits' => \Hop\Validator\Validator\Digits::class,
Please login to merge, or discard this patch.
src/Validator/Strategy/Strategy.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\Strategy;
6 6
 
Please login to merge, or discard this patch.
src/Validator/Filter/RuleFilter.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\Filter;
6 6
 
Please login to merge, or discard this patch.
src/Validator/Filter/ArrayKeys.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\Filter;
6 6
 
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
             throw new \InvalidArgumentException('Keys not passed');
17 17
         }
18 18
 
19
-        return \array_filter($value, function ($key) use ($options): bool {
19
+        return \array_filter($value, function($key) use ($options): bool {
20 20
             return \in_array($key, $options['keys'], true);
21 21
         }, \ARRAY_FILTER_USE_KEY);
22 22
     }
Please login to merge, or discard this patch.
src/Validator/Validator/InArray.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\Validator;
6 6
 
Please login to merge, or discard this patch.
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/Filter/Sanitize.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\Filter;
6 6
 
Please login to merge, or discard this patch.