Test Failed
Push — master ( 9a8dc5...e78d65 )
by Jan
24:28 queued 09:49
created
src/Rules/Core/EachPassed.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
      */
49 49
     private function getPassedRules($input)
50 50
     {
51
-        return array_filter($this->rules, function (RuleInterface $rule) use ($input) {
51
+        return array_filter($this->rules, function(RuleInterface $rule) use ($input) {
52 52
             return $rule->isValid($input) === true;
53 53
         });
54 54
     }
Please login to merge, or discard this patch.
src/Error/Errors.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -124,7 +124,7 @@
 block discarded – undo
124 124
     {
125 125
         $prefix = $attribute . '.' . $ruleName;
126 126
 
127
-        $messages = array_filter($this->messages, static function ($key) use ($attribute, $prefix) {
127
+        $messages = array_filter($this->messages, static function($key) use ($attribute, $prefix) {
128 128
             return $key === $attribute || strpos($key, $prefix) === 0;
129 129
         }, ARRAY_FILTER_USE_KEY);
130 130
 
Please login to merge, or discard this patch.
src/Rules/ArrayNormalizer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
     {
53 53
         $attributes = array_keys($raw);
54 54
 
55
-        $rules = array_map(function ($attribute) use ($raw) {
55
+        $rules = array_map(function($attribute) use ($raw) {
56 56
             return $this->resolveRules($raw[$attribute]);
57 57
         }, $attributes);
58 58
 
Please login to merge, or discard this patch.
src/Rules/Repository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
 
82 82
     private function getRuleNames(array $rules)
83 83
     {
84
-        return array_map(function ($key) use ($rules) {
84
+        return array_map(function($key) use ($rules) {
85 85
             return is_int($key) ? $this->instantiator->make($rules[$key])->getName() : $key;
86 86
         }, array_keys($rules));
87 87
     }
Please login to merge, or discard this patch.
src/Rules/Parser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
             return $this->cache[$string];
26 26
         }
27 27
 
28
-        $this->cache[$string] = array_map(function ($rule) {
28
+        $this->cache[$string] = array_map(function($rule) {
29 29
             return $this->rules->make(...$this->getNameAndArguments($rule));
30 30
         }, explode('|', $string));
31 31
 
Please login to merge, or discard this patch.