Test Failed
Push — master ( db7808...a3c6b7 )
by Florian
01:56
created
src/Renderer/LightnCandyRenderer.php 1 patch
Spacing   +5 added lines, -5 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
 
@@ -68,10 +68,10 @@  discard block
 block discarded – undo
68 68
         $path = $view->getTemplatePath();
69 69
         $path = Utility::sanitizePath($path);
70 70
 
71
-        $template = $this->templateRoot . DIRECTORY_SEPARATOR . $path .  $view->getTemplate() . '.html';
71
+        $template = $this->templateRoot.DIRECTORY_SEPARATOR.$path.$view->getTemplate().'.html';
72 72
 
73 73
         if (!is_file($template)) {
74
-            throw new MissingTemplateException('Template file missing: ' . $template);
74
+            throw new MissingTemplateException('Template file missing: '.$template);
75 75
         }
76 76
 
77 77
         return $template;
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
     {
85 85
         $tmpDir = sys_get_temp_dir();
86 86
         $templateHash = hash_file('sha1', $template);
87
-        $cachedTemplateFile = $tmpDir . DIRECTORY_SEPARATOR . $templateHash;
87
+        $cachedTemplateFile = $tmpDir.DIRECTORY_SEPARATOR.$templateHash;
88 88
 
89 89
         if (!file_exists($cachedTemplateFile)) {
90 90
             $templateString = file_get_contents($template);
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
                 'flags' => $this->flags,
93 93
                 'helpers' => []
94 94
             ]);
95
-            file_put_contents($cachedTemplateFile, '<?php ' . $phpTemplateString . '?>');
95
+            file_put_contents($cachedTemplateFile, '<?php '.$phpTemplateString.'?>');
96 96
         }
97 97
 
98 98
         ob_start();
Please login to merge, or discard this patch.
src/Renderer/TemplateFolderCollection.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   +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/View/PdfView.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.