Test Failed
Push — main ( 4188bc...4df161 )
by Dimitri
12:56
created
src/Rules/PresentWithAll.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
         $this->setParameterTextValues($fields, 'values');
44 44
 
45 45
         foreach ($fields as $field) {
46
-            if (! $this->validation->hasValue($field)) {
46
+            if (!$this->validation->hasValue($field)) {
47 47
                 return true;
48 48
             }
49 49
         }
Please login to merge, or discard this patch.
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
             $validator        = $this->validation->getValidator();
50 50
             $presentValidator = $validator('present');
51 51
 
Please login to merge, or discard this patch.
phpstan-baseline.php 1 patch
Indentation   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -2,34 +2,34 @@
 block discarded – undo
2 2
 
3 3
 $ignoreErrors = [];
4 4
 $ignoreErrors[] = [
5
-	'message' => '#^Unsafe usage of new static\\(\\)\\.$#',
6
-	'count' => 1,
7
-	'path' => __DIR__ . '/src/ErrorBag.php',
5
+    'message' => '#^Unsafe usage of new static\\(\\)\\.$#',
6
+    'count' => 1,
7
+    'path' => __DIR__ . '/src/ErrorBag.php',
8 8
 ];
9 9
 $ignoreErrors[] = [
10
-	'message' => '#^Method Dimtrovich\\\\Validation\\\\Rules\\\\File\\:\\:defaults\\(\\) should return static\\(Dimtrovich\\\\Validation\\\\Rules\\\\File\\)\\|null but return statement is missing\\.$#',
11
-	'count' => 1,
12
-	'path' => __DIR__ . '/src/Rules/File.php',
10
+    'message' => '#^Method Dimtrovich\\\\Validation\\\\Rules\\\\File\\:\\:defaults\\(\\) should return static\\(Dimtrovich\\\\Validation\\\\Rules\\\\File\\)\\|null but return statement is missing\\.$#',
11
+    'count' => 1,
12
+    'path' => __DIR__ . '/src/Rules/File.php',
13 13
 ];
14 14
 $ignoreErrors[] = [
15
-	'message' => '#^Unsafe usage of new static\\(\\)\\.$#',
16
-	'count' => 2,
17
-	'path' => __DIR__ . '/src/Rules/File.php',
15
+    'message' => '#^Unsafe usage of new static\\(\\)\\.$#',
16
+    'count' => 2,
17
+    'path' => __DIR__ . '/src/Rules/File.php',
18 18
 ];
19 19
 $ignoreErrors[] = [
20
-	'message' => '#^Binary operation "\\*" between string and 2 results in an error\\.$#',
21
-	'count' => 1,
22
-	'path' => __DIR__ . '/src/Rules/Imei.php',
20
+    'message' => '#^Binary operation "\\*" between string and 2 results in an error\\.$#',
21
+    'count' => 1,
22
+    'path' => __DIR__ . '/src/Rules/Imei.php',
23 23
 ];
24 24
 $ignoreErrors[] = [
25
-	'message' => '#^Unsafe usage of new static\\(\\)\\.$#',
26
-	'count' => 2,
27
-	'path' => __DIR__ . '/src/Rules/Postalcode.php',
25
+    'message' => '#^Unsafe usage of new static\\(\\)\\.$#',
26
+    'count' => 2,
27
+    'path' => __DIR__ . '/src/Rules/Postalcode.php',
28 28
 ];
29 29
 $ignoreErrors[] = [
30
-	'message' => '#^Unsafe usage of new static\\(\\)\\.$#',
31
-	'count' => 1,
32
-	'path' => __DIR__ . '/src/Validation.php',
30
+    'message' => '#^Unsafe usage of new static\\(\\)\\.$#',
31
+    'count' => 1,
32
+    'path' => __DIR__ . '/src/Validation.php',
33 33
 ];
34 34
 
35 35
 return ['parameters' => ['ignoreErrors' => $ignoreErrors]];
Please login to merge, or discard this patch.