Passed
Push — develop ( 43a598...04e7b2 )
by nguereza
02:46
created
src/Env/Loader.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -168,7 +168,7 @@
 block discarded – undo
168 168
                 continue;
169 169
             }
170 170
 
171
-            $value = preg_replace_callback('~\$\{(\w+)\}~', function ($m) {
171
+            $value = preg_replace_callback('~\$\{(\w+)\}~', function($m) {
172 172
                 return (null === $ref = Env::get($m[1], null)) ? $m[0] : $ref;
173 173
             }, $value);
174 174
 
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,8 +55,7 @@
 block discarded – undo
55 55
  * @class Loader
56 56
  * @package Platine\Framework\Env
57 57
  */
58
-class Loader
59
-{
58
+class Loader {
60 59
     /**
61 60
      * Put the parsed key value pair into
62 61
      * $_ENV super global.
Please login to merge, or discard this patch.
src/Env/Env.php 2 patches
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -116,12 +116,12 @@
 block discarded – undo
116 116
         $options = 0
117 117
     ) {
118 118
         static $special = [
119
-          'true' => true,
120
-          'TRUE' => true,
121
-          'false' => false,
122
-          'FALSE' => false,
123
-          'null' => null,
124
-          'NULL' => null,
119
+            'true' => true,
120
+            'TRUE' => true,
121
+            'false' => false,
122
+            'FALSE' => false,
123
+            'null' => null,
124
+            'NULL' => null,
125 125
         ];
126 126
 
127 127
         // strlen($value) < 6.
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,8 +52,7 @@
 block discarded – undo
52 52
  * @class Env
53 53
  * @package Platine\Framework\Env
54 54
  */
55
-class Env
56
-{
55
+class Env {
57 56
 
58 57
     /**
59 58
      * Get the environment variable by its key/name.
Please login to merge, or discard this patch.