Test Failed
Push — master ( 01fa8f...c1582b )
by Florian
03:18
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/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/Service/ResponseRenderServiceInterface.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\Service;
5 5
 
Please login to merge, or discard this patch.
src/View/HelperAwareViewInterface.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\View;
5 5
 
Please login to merge, or discard this patch.
src/Renderer/ViewRendererInterface.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/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/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/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.
src/Renderer/WkhtmlToPdfRenderer.php 1 patch
Spacing   +9 added lines, -9 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
 
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
 
86 86
         if (!empty($content['stderr'])) {
87 87
             throw new RuntimeException(sprintf(
88
-                'System error "%s" when executing command "%s". ' .
88
+                'System error "%s" when executing command "%s". '.
89 89
                 'Try using the binary provided on http://wkhtmltopdf.org/downloads.html',
90 90
                 $content['stderr'],
91 91
                 $command
@@ -143,13 +143,13 @@  discard block
 block discarded – undo
143 143
         $margin = $pdfView->getMargin();
144 144
         foreach ($margin as $key => $value) {
145 145
             if ($value !== null) {
146
-                $options['margin-' . $key] = $value . 'mm';
146
+                $options['margin-'.$key] = $value.'mm';
147 147
             }
148 148
         }
149
-        $options = array_merge($options, (array)$this->options);
149
+        $options = array_merge($options, (array) $this->options);
150 150
 
151 151
         if ($this->isWindowsEnvironment) {
152
-            $command = '"' . $this->binary . '"';
152
+            $command = '"'.$this->binary.'"';
153 153
         } else {
154 154
             $command = $this->binary;
155 155
         }
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
                     $command .= sprintf(' --%s %s %s', $key, escapeshellarg($k), escapeshellarg($v));
163 163
                 }
164 164
             } elseif ($value === true) {
165
-                $command .= ' --' . $key;
165
+                $command .= ' --'.$key;
166 166
             } else {
167 167
                 $command .= sprintf(' --%s %s', $key, escapeshellarg($value));
168 168
             }
@@ -170,20 +170,20 @@  discard block
 block discarded – undo
170 170
         $footer = $pdfView->footer();
171 171
         foreach ($footer as $location => $text) {
172 172
             if ($text !== null) {
173
-                $command .= " --footer-$location \"" . addslashes($text) . "\"";
173
+                $command .= " --footer-$location \"".addslashes($text)."\"";
174 174
             }
175 175
         }
176 176
 
177 177
         $header = $pdfView->header();
178 178
         foreach ($header as $location => $text) {
179 179
             if ($text !== null) {
180
-                $command .= " --header-$location \"" . addslashes($text) . "\"";
180
+                $command .= " --header-$location \"".addslashes($text)."\"";
181 181
             }
182 182
         }
183 183
         $command .= " - -";
184 184
 
185 185
         if ($this->isWindowsEnvironment) {
186
-            $command = '"' . $command . '"';
186
+            $command = '"'.$command.'"';
187 187
         }
188 188
 
189 189
         return $command;
Please login to merge, or discard this patch.