Passed
Push — develop ( 74ee70...d5be1b )
by nguereza
17:41 queued 16:02
created
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/Renderer/PlatineTemplateRenderer.php 1 patch
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.
src/Archive/ArchiveInfo.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -50,8 +50,7 @@  discard block
 block discarded – undo
50 50
  * @class ArchiveInfo
51 51
  * @package Platine\DocxTemplate\Archive
52 52
  */
53
-class ArchiveInfo
54
-{
53
+class ArchiveInfo {
55 54
     /**
56 55
      * The archive name
57 56
      * @var string
@@ -90,8 +89,7 @@  discard block
 block discarded – undo
90 89
      * @param int $mtime
91 90
      * @param int $crc
92 91
      */
93
-    public function __construct(string $name, int $index, int $size, int $mtime, int $crc)
94
-    {
92
+    public function __construct(string $name, int $index, int $size, int $mtime, int $crc) {
95 93
         $this->name = $name;
96 94
         $this->index = $index;
97 95
         $this->size = $size;
Please login to merge, or discard this patch.
src/Archive/Zip.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -57,8 +57,7 @@  discard block
 block discarded – undo
57 57
  * @class Zip
58 58
  * @package Platine\DocxTemplate\Archive
59 59
  */
60
-class Zip implements DocxExtractorInterface
61
-{
60
+class Zip implements DocxExtractorInterface {
62 61
     /**
63 62
      * The zip archive instance
64 63
      * @var ZipArchive
@@ -69,8 +68,7 @@  discard block
 block discarded – undo
69 68
      * Create new instance
70 69
      * @param ZipArchive|null $zip
71 70
      */
72
-    public function __construct(?ZipArchive $zip = null)
73
-    {
71
+    public function __construct(?ZipArchive $zip = null) {
74 72
         $this->zip = $zip ?? new ZipArchive();
75 73
     }
76 74
 
Please login to merge, or discard this patch.
src/Exception/DocxArchiveException.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 DocxArchiveException
40 40
  * @package Platine\DocxTemplate\Exception
41 41
  */
42
-class DocxArchiveException extends Exception
43
-{
42
+class DocxArchiveException extends Exception {
44 43
 }
Please login to merge, or discard this patch.
src/DocxTemplate.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,8 +56,7 @@
 block discarded – undo
56 56
  * @class DocxTemplate
57 57
  * @package Platine\DocxTemplate
58 58
  */
59
-class DocxTemplate
60
-{
59
+class DocxTemplate {
61 60
     /**
62 61
      * The convertor instance to use
63 62
      * @var DocxConvertorInterface
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
      * Render the template content
58 57
      * @param string $content
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
      * {@inheritdoc}
59 58
      */
Please login to merge, or discard this patch.
src/Archive/NullExtractor.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 NullExtractor
53 53
  * @package Platine\DocxTemplate\Archive
54 54
  */
55
-class NullExtractor implements DocxExtractorInterface
56
-{
55
+class NullExtractor implements DocxExtractorInterface {
57 56
     /**
58 57
      * {@inheritdoc}
59 58
      */
Please login to merge, or discard this patch.