Passed
Push — master ( a263b7...6f8328 )
by Alain
02:24
created
config/defaults.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
      * specific view to be rendered.
20 20
      */
21 21
     'view_root_locations' => [
22
-        'default' => __DIR__ . '/../views',
22
+        'default' => __DIR__.'/../views',
23 23
     ],
24 24
 
25 25
     /*
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
@@ -150,7 +150,7 @@
 block discarded – undo
150 150
      */
151 151
     protected function getViewLocation(array $context)
152 152
     {
153
-        return $this->getViewRoot() . '/sections/' . $context['format'] . '/' . $this->getViewName();
153
+        return $this->getViewRoot().'/sections/'.$context['format'].'/'.$this->getViewName();
154 154
     }
155 155
 
156 156
     /**
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,7 +155,7 @@
 block discarded – undo
155 155
      */
156 156
     protected function getViewLocation(array $context)
157 157
     {
158
-        return $this->getViewRoot() . '/templates/' . $context['format'] . '/' . $this->getViewName();
158
+        return $this->getViewRoot().'/templates/'.$context['format'].'/'.$this->getViewName();
159 159
     }
160 160
 
161 161
     /**
Please login to merge, or discard this patch.
src/View/PHPView.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
 
38 38
         ob_start();
39 39
 
40
-        include $this->viewLocation . '.php';
40
+        include $this->viewLocation.'.php';
41 41
 
42 42
         return ob_get_clean();
43 43
     }
Please login to merge, or discard this patch.
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.
src/Support/Config.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
     public function __call($function, $arguments)
53 53
     {
54 54
         if ( ! is_callable($function) || substr($function, 0, 6) !== 'array_') {
55
-            throw new BadMethodCallException(__CLASS__ . '->' . $function);
55
+            throw new BadMethodCallException(__CLASS__.'->'.$function);
56 56
         }
57 57
 
58 58
         return call_user_func_array($function,
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
      */
70 70
     public function hasKey($key)
71 71
     {
72
-        return array_key_exists($key, (array)$this);
72
+        return array_key_exists($key, (array) $this);
73 73
     }
74 74
 
75 75
     /**
@@ -93,6 +93,6 @@  discard block
 block discarded – undo
93 93
      */
94 94
     public function getKeys()
95 95
     {
96
-        return array_keys((array)$this);
96
+        return array_keys((array) $this);
97 97
     }
98 98
 }
99 99
\ No newline at end of file
Please login to merge, or discard this patch.