Test Failed
Branch master (db7808)
by Florian
04:01
created
src/Renderer/Exception/MissingTemplateFolderException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 
4 4
 namespace Phauthentic\Presentation\Renderer\Exception;
5 5
 
Please login to merge, or discard this patch.
src/Renderer/Exception/RendererException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 
4 4
 namespace Phauthentic\Presentation\Renderer\Exception;
5 5
 
Please login to merge, or discard this patch.
src/Renderer/Exception/MissingTemplateException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 
4 4
 namespace Phauthentic\Presentation\Renderer\Exception;
5 5
 
Please login to merge, or discard this patch.
src/Renderer/RendererInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 
4 4
 namespace Phauthentic\Presentation\Renderer;
5 5
 
Please login to merge, or discard this patch.
src/Renderer/CakePHPRenderer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 
4 4
 namespace Phauthentic\Presentation\Renderer;
5 5
 
Please login to merge, or discard this patch.
src/Renderer/SimpleXMLRenderer.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 
4 4
 namespace Phauthentic\Presentation\Renderer;
5 5
 
@@ -75,18 +75,18 @@  discard block
 block discarded – undo
75 75
      */
76 76
     protected function arrayToXml(array $data, SimpleXMLElement &$xmlData): void
77 77
     {
78
-        foreach($data as $key => $value) {
79
-            if(is_array($value)) {
80
-                if(!is_numeric($key)){
78
+        foreach ($data as $key => $value) {
79
+            if (is_array($value)) {
80
+                if (!is_numeric($key)) {
81 81
                     $subnode = $xmlData->addChild("$key");
82 82
                     $this->arrayToXml($value, $subnode);
83 83
                 }
84
-                else{
84
+                else {
85 85
                     $this->arrayToXml($value, $xmlData);
86 86
                 }
87 87
             }
88 88
             else {
89
-                $xmlData->addChild("$key","$value");
89
+                $xmlData->addChild("$key", "$value");
90 90
             }
91 91
         }
92 92
     }
Please login to merge, or discard this patch.
src/Renderer/TemplateFolderCollection.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 
4 4
 namespace Phauthentic\Presentation\Renderer;
5 5
 
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
      */
30 30
     public function __construct(array $folders)
31 31
     {
32
-        foreach($folders as $folder) {
32
+        foreach ($folders as $folder) {
33 33
             $this->add($folder);
34 34
         }
35 35
     }
Please login to merge, or discard this patch.
src/Renderer/AbstractBaseRenderer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 
4 4
 namespace Phauthentic\Presentation\Renderer;
5 5
 
Please login to merge, or discard this patch.
src/Renderer/Utility.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 
4 4
 namespace Phauthentic\Presentation\Renderer;
5 5
 
Please login to merge, or discard this patch.