Passed
Branch master (fcd681)
by Ryan
04:03
created
Category
src/Middleware/Html/HtmlInterface.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\Middleware\Html;
12 12
 
Please login to merge, or discard this patch.
src/Middleware/Json/JsonInterface.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\Middleware\Json;
12 12
 
Please login to merge, or discard this patch.
src/Middleware/MiddlewareInterface.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\Middleware;
12 12
 
Please login to merge, or discard this patch.
src/Middleware/Xml/XmlInterface.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\Middleware\Xml;
12 12
 
Please login to merge, or discard this patch.
src/Middleware/Xml/AbstractXmlMiddleware.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\Middleware\Xml;
12 12
 
Please login to merge, or discard this patch.
src/Middleware/Xml/Atom.php 1 patch
Spacing   +2 added lines, -2 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\Middleware\Xml;
12 12
 
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
         $query = $this->generateQuery($namespaceAlias, true, 'feed', $nodeName);
73 73
         $this->getLogger()->debug(\sprintf('%s is running an XPath query:', __CLASS__), [$query]);
74 74
 
75
-        return $this->handleSingleNode(function () use ($xpath, $query) {
75
+        return $this->handleSingleNode(function() use ($xpath, $query) {
76 76
             return $xpath->query($query);
77 77
         });
78 78
     }
Please login to merge, or discard this patch.
src/Middleware/Xml/Rss.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\Middleware\Xml;
12 12
 
Please login to merge, or discard this patch.
src/Middleware/AbstractMiddleware.php 1 patch
Spacing   +3 added lines, -3 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\Middleware;
12 12
 
@@ -38,11 +38,11 @@  discard block
 block discarded – undo
38 38
      *                          A value of `false` means that the middleware should NOT run, By
39 39
      *                          default, the middleware will run.
40 40
      */
41
-    public function __construct(?callable $fn = null)
41
+    public function __construct(? callable $fn = null)
42 42
     {
43 43
         $this->logger = Configuration::getLogger();
44 44
 
45
-        $this->fn = $fn ?: function () {
45
+        $this->fn = $fn ?: function() {
46 46
             return true;
47 47
         };
48 48
     }
Please login to merge, or discard this patch.
src/Configuration.php 1 patch
Spacing   +2 added lines, -2 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
 
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
      * @param ContainerInterface|null $container A PSR-11 container. The default value is null,
69 69
      *                                           which will instantiate `SimplePie\Container`.
70 70
      */
71
-    public static function setContainer(?ContainerInterface $container = null): void
71
+    public static function setContainer(?ContainerInterface $container = null) : void
72 72
     {
73 73
         self::$container = $container ?? new Container();
74 74
 
Please login to merge, or discard this patch.