Completed
Push — master ( 6d478b...a6a9dc )
by Giancarlos
01:56
created
src/Report/HtmlReport.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@
 block discarded – undo
112 112
         if ($directory) {
113 113
             $dirs[] = $directory;
114 114
         }
115
-        $dirs[] = __DIR__.'/Templates';
115
+        $dirs[] = __DIR__ . '/Templates';
116 116
 
117 117
         return $dirs;
118 118
     }
Please login to merge, or discard this patch.
src/Report/Filter/ImageFilter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,13 +24,13 @@
 block discarded – undo
24 24
         }
25 25
         $content = base64_encode($image);
26 26
 
27
-        return 'data:image/'.$mime.';base64,'.$content;
27
+        return 'data:image/' . $mime . ';base64,' . $content;
28 28
     }
29 29
 
30 30
     public function getMimeType($raw)
31 31
     {
32 32
         $text = substr($raw, 0, 8);
33
-        if ($text == "\x89\x50\x4E\x47\x0D\x0A\x1A\x0A"){
33
+        if ($text == "\x89\x50\x4E\x47\x0D\x0A\x1A\x0A") {
34 34
             return 'png';
35 35
         }
36 36
 
Please login to merge, or discard this patch.
src/Report/Render/QrRender.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
             $client->getTipoDoc(),
56 56
             $client->getNumDoc(),
57 57
         ];
58
-        $content = implode('|', $params).'|';
58
+        $content = implode('|', $params) . '|';
59 59
 
60 60
         return $this->getQrImage($content);
61 61
     }
Please login to merge, or discard this patch.
src/Report/Resolver/DefaultTemplateResolver.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,9 +44,9 @@
 block discarded – undo
44 44
                 $name = 'voided';
45 45
                 break;
46 46
             default:
47
-                throw new \Exception('Not found template for '.$className);
47
+                throw new \Exception('Not found template for ' . $className);
48 48
         }
49 49
 
50
-        return $name.'.html.twig';
50
+        return $name . '.html.twig';
51 51
     }
52 52
 }
Please login to merge, or discard this patch.