Completed
Push — develop ( e9e74b...323919 )
by Neomerx
04:30
created
src/Factory.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;
4 4
 
Please login to merge, or discard this patch.
src/Types/DateTimeType.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\Types;
4 4
 
Please login to merge, or discard this patch.
src/Encoder/Encoder.php 1 patch
Spacing   +3 added lines, -3 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\Encoder;
4 4
 
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
 
127 127
         parse_str($this->getOriginalUri()->getQuery(), $queryParams);
128 128
 
129
-        return function ($offset) use ($pageSize, $queryParams) {
129
+        return function($offset) use ($pageSize, $queryParams) {
130 130
             $paramsWithPaging = array_merge($queryParams, [
131 131
                 BaseQueryParserInterface::PARAM_PAGE => [
132 132
                     JsonApiQueryParserInterface::PARAM_PAGING_OFFSET => $offset,
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
                 ],
135 135
             ]);
136 136
             $newUri  = $this->getOriginalUri()->withQuery(http_build_query($paramsWithPaging));
137
-            $fullUrl = (string)$newUri;
137
+            $fullUrl = (string) $newUri;
138 138
             $link    = $this->getFactory()->createLink(false, $fullUrl, false);
139 139
 
140 140
             return $link;
Please login to merge, or discard this patch.
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.