Passed
Push — master ( 38467b...a00135 )
by Enjoys
07:06 queued 04:22
created
src/Rule/Upload.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@
 block discarded – undo
125 125
         $parsed = $this->parseRuleOpts($ruleOpts);
126 126
 
127 127
         $threshold_size = $parsed['param'];
128
-       // Assert::in($threshold_size);
128
+        // Assert::in($threshold_size);
129 129
 
130 130
         $message = $parsed['message'];
131 131
 
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
     /**
117 117
      * @param false|UploadedFileInterface $value
118 118
      */
119
-    private function checkMaxsize($value, int|array|string $ruleOpts, Ruleable $element): bool
119
+    private function checkMaxsize($value, int | array | string $ruleOpts, Ruleable $element): bool
120 120
     {
121 121
         if ($value === false) {
122 122
             return true;
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
     /**
147 147
      * @param false|UploadedFileInterface $value
148 148
      */
149
-    private function checkExtensions($value, string|array $ruleOpts, Ruleable $element): bool
149
+    private function checkExtensions($value, string | array $ruleOpts, Ruleable $element): bool
150 150
     {
151 151
         if ($value === false) {
152 152
             return true;
@@ -175,7 +175,7 @@  discard block
 block discarded – undo
175 175
     private function parseRuleOpts($opts): array
176 176
     {
177 177
         if (!is_array($opts)) {
178
-            $opts = (array)$opts;
178
+            $opts = (array) $opts;
179 179
             $opts[1] = null;
180 180
         }
181 181
         list($param, $message) = $opts;
Please login to merge, or discard this patch.
src/Helper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 
7 7
 final class Helper
8 8
 {
9
-    public static function arrayRecursiveSearchKeyMap(mixed $needle, array $haystack): array|null
9
+    public static function arrayRecursiveSearchKeyMap(mixed $needle, array $haystack): array | null
10 10
     {
11 11
         foreach ($haystack as $firsLevelKey => $value) {
12 12
             if ($needle === $value) {
Please login to merge, or discard this patch.