Passed
Push — main ( d9c688...e09db1 )
by
unknown
05:27 queued 02:37
created
src/Rules/PresentUnless.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
         $this->setParameterTextValues((array) $anotherAttribute, 'other_attribute');
46 46
         $this->setParameterTextValues((array) $definedValues, 'other_value');
47 47
 
48
-        if (! in_array($anotherValue, $definedValues, is_bool($anotherValue) || null === $definedValues)) {
48
+        if (!in_array($anotherValue, $definedValues, is_bool($anotherValue) || null === $definedValues)) {
49 49
             $presentValidator = $this->getRuleValidator('present');
50 50
 
51 51
             $presentValidator->setValidation($this->validation);
Please login to merge, or discard this patch.
src/Rules/CreditCard.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -178,7 +178,7 @@  discard block
 block discarded – undo
178 178
         $value = str_replace([' ', '-'], '', $value);
179 179
 
180 180
         // Non-numeric values cannot be a number...duh
181
-        if (! is_numeric($value)) {
181
+        if (!is_numeric($value)) {
182 182
             return false;
183 183
         }
184 184
 
@@ -209,7 +209,7 @@  discard block
 block discarded – undo
209 209
             return false;
210 210
         }
211 211
 
212
-        if (! $this->validCC($info, $value)) {
212
+        if (!$this->validCC($info, $value)) {
213 213
             array_shift($types);
214 214
 
215 215
             goto label;
@@ -226,7 +226,7 @@  discard block
 block discarded – undo
226 226
         // Make sure it's a valid length for this card
227 227
         $lengths = explode(',', $info['length']);
228 228
 
229
-        if (! in_array((string) strlen($value), $lengths, true)) {
229
+        if (!in_array((string) strlen($value), $lengths, true)) {
230 230
             return false;
231 231
         }
232 232
 
Please login to merge, or discard this patch.