Test Failed
Branch master (a67e7e)
by Tomasz
07:04
created
Category
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/Strategy/Field.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/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.
src/Validator/StdFilter.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;
6 6
 
Please login to merge, or discard this patch.
src/Validator/Messages.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;
6 6
 
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
 
38 38
     public function toArray(): array
39 39
     {
40
-        $arr = \array_map(function (array $messages) {
40
+        $arr = \array_map(function(array $messages) {
41 41
             $rows = [];
42 42
             /** @var Message $message */
43 43
             foreach ($messages as $message) {
Please login to merge, or discard this patch.