Passed
Push — master ( f617b1...a2b844 )
by Alain
03:39
created
config/defaults.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
      * specific view to be rendered.
23 23
      */
24 24
     'view_root_locations' => [
25
-        'default' => realpath( __DIR__ . '/../views' ),
25
+        'default' => realpath(__DIR__.'/../views'),
26 26
     ],
27 27
 
28 28
     /*
Please login to merge, or discard this patch.
src/Section/AbstractSection.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
                 'Initialised section without passing it a section name.'
114 114
             );
115 115
         }
116
-        if (! array_key_exists($section, $this->config['sections'])) {
116
+        if ( ! array_key_exists($section, $this->config['sections'])) {
117 117
             throw new FailedToInitialiseSectionException(
118 118
                 'Initialised section with an unknown section name.'
119 119
             );
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
     protected function getViewName(array $context)
156 156
     {
157 157
         return $this->config['sections'][$this->getSectionName()]['view_name']
158
-               . '.' . $context['format'];
158
+               . '.'.$context['format'];
159 159
     }
160 160
 
161 161
     /**
Please login to merge, or discard this patch.
src/Mail/AbstractMail.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
     public function getTemplate()
117 117
     {
118 118
 
119
-        if (! $this->template) {
119
+        if ( ! $this->template) {
120 120
             $this->setDefaultTemplate();
121 121
         }
122 122
 
@@ -152,10 +152,10 @@  discard block
 block discarded – undo
152 152
             );
153 153
         }
154 154
 
155
-        if (! $template instanceof TemplateInterface) {
155
+        if ( ! $template instanceof TemplateInterface) {
156 156
             throw new InvalidTemplateException(
157 157
                 'Could not set the template, invalid type.',
158
-                (array)$template
158
+                (array) $template
159 159
             );
160 160
         }
161 161
         $this->template = $template;
Please login to merge, or discard this patch.
src/Template/AbstractTemplate.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
         if (null === $template) {
102 102
             throw new FailedToInitialiseTemplateException('Initialised template without passing it a template name.');
103 103
         }
104
-        if (! array_key_exists($template, $this->config['templates'])) {
104
+        if ( ! array_key_exists($template, $this->config['templates'])) {
105 105
             throw new FailedToInitialiseTemplateException('Initialised template with an unknown template name.');
106 106
         }
107 107
         $this->templateName = $template;
@@ -155,6 +155,6 @@  discard block
 block discarded – undo
155 155
     protected function getViewName(array $context)
156 156
     {
157 157
         return $this->config['templates'][$this->getTemplateName()]['view_name']
158
-               . '.' . $context['format'];
158
+               . '.'.$context['format'];
159 159
     }
160 160
 }
Please login to merge, or discard this patch.