Passed
Branch master (fcd681)
by Ryan
04:03
created
Category
src/Mixin/RawDocumentTrait.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
  * http://opensource.org/licenses/Apache2.0
7 7
  */
8 8
 
9
-declare(strict_types=1);
9
+declare(strict_types = 1);
10 10
 
11 11
 namespace SimplePie\Mixin;
12 12
 
Please login to merge, or discard this patch.
src/Mixin/DomDocumentTrait.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
  * http://opensource.org/licenses/Apache2.0
7 7
  */
8 8
 
9
-declare(strict_types=1);
9
+declare(strict_types = 1);
10 10
 
11 11
 namespace SimplePie\Mixin;
12 12
 
Please login to merge, or discard this patch.
src/Mixin/MiddlewareStackTrait.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
  * http://opensource.org/licenses/Apache2.0
7 7
  */
8 8
 
9
-declare(strict_types=1);
9
+declare(strict_types = 1);
10 10
 
11 11
 namespace SimplePie\Mixin;
12 12
 
Please login to merge, or discard this patch.
src/Mixin/LibxmlTrait.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
  * http://opensource.org/licenses/Apache2.0
7 7
  */
8 8
 
9
-declare(strict_types=1);
9
+declare(strict_types = 1);
10 10
 
11 11
 namespace SimplePie\Mixin;
12 12
 
Please login to merge, or discard this patch.
src/HandlerStack.php 1 patch
Spacing   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@  discard block
 block discarded – undo
6 6
  * http://opensource.org/licenses/Apache2.0
7 7
  */
8 8
 
9
-declare(strict_types=1);
9
+declare(strict_types = 1);
10 10
 
11 11
 namespace SimplePie;
12 12
 
@@ -67,10 +67,10 @@  discard block
 block discarded – undo
67 67
         callable $middleware,
68 68
         ?string $name = null,
69 69
         ?string $overrideType = null
70
-    ): HandlerStackInterface {
70
+    ) : HandlerStackInterface {
71 71
         // @codingStandardsIgnoreEnd
72 72
 
73
-        $this->validateMiddleware($middleware, $name, $overrideType, function (&$arr) use ($middleware, $name): void {
73
+        $this->validateMiddleware($middleware, $name, $overrideType, function(&$arr) use ($middleware, $name) : void {
74 74
             $arr[] = [$middleware, $name];
75 75
         });
76 76
 
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
         string $overrideType,
89 89
         callable $middleware,
90 90
         ?string $name = null
91
-    ): HandlerStackInterface {
91
+    ) : HandlerStackInterface {
92 92
         // @codingStandardsIgnoreEnd
93 93
 
94 94
         return $this->append($middleware, $name, $overrideType);
@@ -103,10 +103,10 @@  discard block
 block discarded – undo
103 103
         callable $middleware,
104 104
         ?string $name = null,
105 105
         ?string $overrideType = null
106
-    ): HandlerStackInterface {
106
+    ) : HandlerStackInterface {
107 107
         // @codingStandardsIgnoreEnd
108 108
 
109
-        $this->validateMiddleware($middleware, $name, $overrideType, function (&$arr) use ($middleware, $name): void {
109
+        $this->validateMiddleware($middleware, $name, $overrideType, function(&$arr) use ($middleware, $name) : void {
110 110
             \array_unshift($arr, [$middleware, $name]);
111 111
         });
112 112
 
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
         string $overrideType,
125 125
         callable $middleware,
126 126
         ?string $name = null
127
-    ): HandlerStackInterface {
127
+    ) : HandlerStackInterface {
128 128
         // @codingStandardsIgnoreEnd
129 129
 
130 130
         return $this->prepend($middleware, $name, $overrideType);
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
         stdClass $feedRoot,
141 141
         ?string $namespaceAlias,
142 142
         DOMXPath $xpath
143
-    ): void {
143
+    ) : void {
144 144
         // @codingStandardsIgnoreEnd
145 145
 
146 146
         if (isset($this->stack[$feedType])) {
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
                 'Could not determine which handler stack to invoke. Stack `%s` was requested. [Allowed: %s]',
157 157
                 $feedType,
158 158
                 \implode(', ', \array_map(
159
-                    function ($type) {
159
+                    function($type) {
160 160
                         return \sprintf('FeedType::%s', $type);
161 161
                     },
162 162
                     $allowedTypes
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
      */
173 173
     public function debugStack(): array
174 174
     {
175
-        $fn = function ($mw) {
175
+        $fn = function($mw) {
176 176
             return \sprintf(
177 177
                 '[<%s: resource %s>, %s]',
178 178
                 Types::getClassOrType($mw[0]),
@@ -211,7 +211,7 @@  discard block
 block discarded – undo
211 211
         ?string $name = null,
212 212
         ?string $overrideType = null,
213 213
         callable $fn
214
-    ): void {
214
+    ) : void {
215 215
         // @codingStandardsIgnoreEnd
216 216
 
217 217
         if ($overrideType === FeedType::ALL) {
@@ -247,7 +247,7 @@  discard block
 block discarded – undo
247 247
         callable $middleware,
248 248
         ?string $name = null,
249 249
         ?string $overrideType = null
250
-    ): void {
250
+    ) : void {
251 251
         // @codingStandardsIgnoreEnd
252 252
 
253 253
         $this->logger->info(\sprintf(
@@ -277,7 +277,7 @@  discard block
 block discarded – undo
277 277
         callable $middleware,
278 278
         ?string $name = null,
279 279
         ?string $overrideType = null
280
-    ): string {
280
+    ) : string {
281 281
         // @codingStandardsIgnoreEnd
282 282
 
283 283
         return \sprintf(
Please login to merge, or discard this patch.
src/Exception/ContainerException.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
  * http://opensource.org/licenses/Apache2.0
7 7
  */
8 8
 
9
-declare(strict_types=1);
9
+declare(strict_types = 1);
10 10
 
11 11
 namespace SimplePie\Exception;
12 12
 
Please login to merge, or discard this patch.
src/Exception/NotFoundException.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
  * http://opensource.org/licenses/Apache2.0
7 7
  */
8 8
 
9
-declare(strict_types=1);
9
+declare(strict_types = 1);
10 10
 
11 11
 namespace SimplePie\Exception;
12 12
 
Please login to merge, or discard this patch.
src/Exception/MiddlewareException.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
  * http://opensource.org/licenses/Apache2.0
7 7
  */
8 8
 
9
-declare(strict_types=1);
9
+declare(strict_types = 1);
10 10
 
11 11
 namespace SimplePie\Exception;
12 12
 
Please login to merge, or discard this patch.
src/Exception/ConfigurationException.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
  * http://opensource.org/licenses/Apache2.0
7 7
  */
8 8
 
9
-declare(strict_types=1);
9
+declare(strict_types = 1);
10 10
 
11 11
 namespace SimplePie\Exception;
12 12
 
Please login to merge, or discard this patch.