Passed
Push — develop ( 40890c...f31a63 )
by nguereza
02:11
created
src/DocxTemplate.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,8 +54,7 @@
 block discarded – undo
54 54
  * @class DocxTemplate
55 55
  * @package Platine\DocxTemplate
56 56
  */
57
-class DocxTemplate
58
-{
57
+class DocxTemplate {
59 58
 
60 59
     /**
61 60
      * The convertor instance to use
Please login to merge, or discard this patch.
src/Convertor/NullConvertor.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,8 +52,7 @@
 block discarded – undo
52 52
  * @class NullConvertor
53 53
  * @package Platine\DocxTemplate\Convertor
54 54
  */
55
-class NullConvertor implements DocxConvertorInterface
56
-{
55
+class NullConvertor implements DocxConvertorInterface {
57 56
     /**
58 57
      * {@inheritodc}
59 58
      */
Please login to merge, or discard this patch.
src/Convertor/LibreOfficePDFConvertor.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,8 +52,7 @@
 block discarded – undo
52 52
  * @class LibreOfficePDFConvertor
53 53
  * @package Platine\DocxTemplate\Convertor
54 54
  */
55
-class LibreOfficePDFConvertor implements DocxConvertorInterface
56
-{
55
+class LibreOfficePDFConvertor implements DocxConvertorInterface {
57 56
 
58 57
     /**
59 58
      * {@inheritodc}
Please login to merge, or discard this patch.
src/DocxTemplateRendererInterface.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,8 +51,7 @@
 block discarded – undo
51 51
  * @class DocxTemplateRendererInterface
52 52
  * @package Platine\DocxTemplate
53 53
  */
54
-interface DocxTemplateRendererInterface
55
-{
54
+interface DocxTemplateRendererInterface {
56 55
 
57 56
     /**
58 57
      * Render the template content
Please login to merge, or discard this patch.
src/Exception/DocxTemplateException.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,6 +39,5 @@
 block discarded – undo
39 39
  * @class DocxTemplateException
40 40
  * @package Platine\DocxTemplate\Exception
41 41
  */
42
-class DocxTemplateException extends Exception
43
-{
42
+class DocxTemplateException extends Exception {
44 43
 }
Please login to merge, or discard this patch.
src/DocxConvertorInterface.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,8 +51,7 @@
 block discarded – undo
51 51
  * @class DocxConvertorInterface
52 52
  * @package Platine\DocxTemplate
53 53
  */
54
-interface DocxConvertorInterface
55
-{
54
+interface DocxConvertorInterface {
56 55
 
57 56
     /**
58 57
      * Convert the template file
Please login to merge, or discard this patch.
src/Renderer/PlatineTemplateRenderer.php 2 patches
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -53,8 +53,7 @@  discard block
 block discarded – undo
53 53
  * @class PlatineTemplateRenderer
54 54
  * @package Platine\DocxTemplate\Renderer
55 55
  */
56
-class PlatineTemplateRenderer implements DocxTemplateRendererInterface
57
-{
56
+class PlatineTemplateRenderer implements DocxTemplateRendererInterface {
58 57
     /**
59 58
      * The template instance to use
60 59
      * @var Template
@@ -65,8 +64,7 @@  discard block
 block discarded – undo
65 64
      * Create new instance
66 65
      * @param Template $template
67 66
      */
68
-    public function __construct(Template $template)
69
-    {
67
+    public function __construct(Template $template) {
70 68
         $this->template = $template;
71 69
     }
72 70
 
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
      */
88 88
     protected function fixSplitTemplateTags(string $content): string
89 89
     {
90
-       /*
90
+        /*
91 91
         * If part of the tag is formatted differently we won't get a match.
92 92
      * Best explained with an example:
93 93
      *
Please login to merge, or discard this patch.
src/Renderer/NullRenderer.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,8 +52,7 @@
 block discarded – undo
52 52
  * @class NullRenderer
53 53
  * @package Platine\DocxTemplate\Renderer
54 54
  */
55
-class NullRenderer implements DocxTemplateRendererInterface
56
-{
55
+class NullRenderer implements DocxTemplateRendererInterface {
57 56
     /**
58 57
      * {@inheritodc}
59 58
      */
Please login to merge, or discard this patch.
src/DocxExtractorInterface.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,8 +53,7 @@
 block discarded – undo
53 53
  * @class DocxExtractorInterface
54 54
  * @package Platine\DocxTemplate
55 55
  */
56
-interface DocxExtractorInterface
57
-{
56
+interface DocxExtractorInterface {
58 57
 
59 58
     /**
60 59
      * Extract an archive to the given destination
Please login to merge, or discard this patch.