Passed
Push — master ( be0c82...f539f4 )
by Alain
02:33
created
src/ChainMail.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
 class ChainMail
28 28
 {
29 29
 
30
-    const DEFAULT_CONFIG = __DIR__ . '/../config/defaults.php';
30
+    const DEFAULT_CONFIG = __DIR__.'/../config/defaults.php';
31 31
 
32 32
     /**
33 33
      * Configuration Settings.
@@ -57,8 +57,8 @@  discard block
 block discarded – undo
57 57
         }
58 58
 
59 59
         $this->config = new Config(array_merge(
60
-                (array)$defaults,
61
-                (array)$config)
60
+                (array) $defaults,
61
+                (array) $config)
62 62
         );
63 63
     }
64 64
 
Please login to merge, or discard this patch.
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/Mail/AbstractMail.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -155,7 +155,7 @@
 block discarded – undo
155 155
         if ( ! $template instanceof Template) {
156 156
             throw new InvalidTemplate(
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   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -155,6 +155,6 @@
 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.
src/Section/AbstractSection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -155,6 +155,6 @@
 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.
src/Support/Domain.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
             throw InvalidDomain::from($domain);
45 45
         }
46 46
 
47
-        $this->domain = (string)$domain;
47
+        $this->domain = (string) $domain;
48 48
     }
49 49
 
50 50
     /**
Please login to merge, or discard this patch.
src/Support/EmailAddress.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
      */
94 94
     public function getAddress()
95 95
     {
96
-        return $this->getLocalPart() . '@' . $this->getDomain();
96
+        return $this->getLocalPart().'@'.$this->getDomain();
97 97
     }
98 98
 
99 99
     /**
@@ -115,6 +115,6 @@  discard block
 block discarded – undo
115 115
      */
116 116
     protected function isValid($email)
117 117
     {
118
-        return (bool)filter_var($email, FILTER_VALIDATE_EMAIL);
118
+        return (bool) filter_var($email, FILTER_VALIDATE_EMAIL);
119 119
     }
120 120
 }
121 121
\ No newline at end of file
Please login to merge, or discard this patch.