Completed
Push — master ( ee198e...323919 )
by Neomerx
02:19
created
src/Models/TagStorage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare (strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 namespace Limoncello\Flute\Models;
4 4
 
Please login to merge, or discard this patch.
src/Validation/Rules/DatabaseRulesTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare (strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 namespace Limoncello\Flute\Validation\Rules;
4 4
 
Please login to merge, or discard this patch.
src/Validation/JsonApi/Rules/DefaultQueryValidationRules.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare (strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 namespace Limoncello\Flute\Validation\JsonApi\Rules;
4 4
 
Please login to merge, or discard this patch.
src/Validation/JsonApi/Execution/JsonApiDataRulesSerializer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare (strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 namespace Limoncello\Flute\Validation\JsonApi\Execution;
4 4
 
Please login to merge, or discard this patch.
src/Validation/JsonApi/Execution/JsonApiErrorCollection.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare (strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 namespace Limoncello\Flute\Validation\JsonApi\Execution;
4 4
 
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
     ): void {
53 53
         $title  = $this->getInvalidValueMessage();
54 54
         $detail = $this->getValidationMessage($error);
55
-        $this->addDataIdError($title, $detail, (string)$errorStatus);
55
+        $this->addDataIdError($title, $detail, (string) $errorStatus);
56 56
     }
57 57
 
58 58
     /**
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
     ): void {
65 65
         $title  = $this->getInvalidValueMessage();
66 66
         $detail = $this->getValidationMessage($error);
67
-        $this->addDataTypeError($title, $detail, (string)$errorStatus);
67
+        $this->addDataTypeError($title, $detail, (string) $errorStatus);
68 68
     }
69 69
 
70 70
     /**
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
     ): void {
77 77
         $title  = $this->getInvalidValueMessage();
78 78
         $detail = $this->getValidationMessage($error);
79
-        $this->addDataAttributeError($error->getParameterName(), $title, $detail, (string)$errorStatus);
79
+        $this->addDataAttributeError($error->getParameterName(), $title, $detail, (string) $errorStatus);
80 80
     }
81 81
 
82 82
     /**
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
     ): void {
89 89
         $title  = $this->getInvalidValueMessage();
90 90
         $detail = $this->getValidationMessage($error);
91
-        $this->addRelationshipError($error->getParameterName(), $title, $detail, (string)$errorStatus);
91
+        $this->addRelationshipError($error->getParameterName(), $title, $detail, (string) $errorStatus);
92 92
     }
93 93
 
94 94
     /**
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
     ): void {
102 102
         $title  = $this->getInvalidValueMessage();
103 103
         $detail = $this->getValidationMessage($error);
104
-        $this->addQueryParameterError($paramName, $title, $detail, (string)$errorStatus);
104
+        $this->addQueryParameterError($paramName, $title, $detail, (string) $errorStatus);
105 105
     }
106 106
 
107 107
     /**
Please login to merge, or discard this patch.
src/Validation/JsonApi/Execution/JsonApiQueryRulesSerializer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare (strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 namespace Limoncello\Flute\Validation\JsonApi\Execution;
4 4
 
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
     private $serializedRules = [];
38 38
 
39 39
     /** Index key */
40
-    protected const IDENTITY_RULE= 0;
40
+    protected const IDENTITY_RULE = 0;
41 41
 
42 42
     /** Index key */
43 43
     protected const FILTER_RULES = self::IDENTITY_RULE + 1;
Please login to merge, or discard this patch.
src/Validation/JsonApi/QueryParser.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare (strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 namespace Limoncello\Flute\Validation\JsonApi;
4 4
 
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
     ) {
190 190
         assert(
191 191
             in_array(JsonApiQueryRulesSerializerInterface::class, class_implements($serializerClass)),
192
-            "`$serializerClass` should implement interface `" . JsonApiQueryRulesSerializerInterface::class . '`.'
192
+            "`$serializerClass` should implement interface `".JsonApiQueryRulesSerializerInterface::class.'`.'
193 193
         );
194 194
 
195 195
         $parameters = [];
@@ -691,7 +691,7 @@  discard block
 block discarded – undo
691 691
     {
692 692
         // no validation rule means we should accept any input value
693 693
         if ($ruleIndexes === null) {
694
-            return is_numeric($value) === true ? (int)$value : 0;
694
+            return is_numeric($value) === true ? (int) $value : 0;
695 695
         }
696 696
 
697 697
         $ruleIndex = $this->serializerClass::readRuleMainIndex($ruleIndexes);
@@ -702,7 +702,7 @@  discard block
 block discarded – undo
702 702
 
703 703
         $validatedValue = $this->readSingleCapturedValue();
704 704
 
705
-        return (int)$validatedValue;
705
+        return (int) $validatedValue;
706 706
     }
707 707
 
708 708
     /**
Please login to merge, or discard this patch.
src/Validation/Form/Execution/FormRulesSerializer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare (strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 namespace Limoncello\Flute\Validation\Form\Execution;
4 4
 
Please login to merge, or discard this patch.
src/Validation/Form/FormValidator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare (strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 namespace Limoncello\Flute\Validation\Form;
4 4
 
Please login to merge, or discard this patch.