Passed
Push — 0.7.0 ( a89e02...6d61aa )
by Alexander
03:28
created
src/components/Contracts/Dotenv/Adapter.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -38,14 +38,14 @@
 block discarded – undo
38 38
      */
39 39
     public function read(string $name);
40 40
 
41
-     /**
42
-     * Write to an environment variable.
43
-     * 
44
-     * @param  string  $name
45
-     * @param  string  $value
46
-     * 
47
-     * @return bool
48
-     */
41
+        /**
42
+         * Write to an environment variable.
43
+         * 
44
+         * @param  string  $name
45
+         * @param  string  $value
46
+         * 
47
+         * @return bool
48
+         */
49 49
     public function write(string $name, string $value);
50 50
 
51 51
     /**
Please login to merge, or discard this patch.
src/components/Autoloader/Autoloader.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
     public function initialize(AutoloadConfig $config)
76 76
     {
77 77
         if (isset($config->psr4)) {
78
-           $this->addNamespace($config->addPsr4((array) $this->classOrNamespaceListMap[0]));
78
+            $this->addNamespace($config->addPsr4((array) $this->classOrNamespaceListMap[0]));
79 79
         }
80 80
 
81 81
         if (isset($config->classmap)) {
@@ -325,7 +325,7 @@  discard block
 block discarded – undo
325 325
             include_once $config[$class];
326 326
 
327 327
         }, true, // Throw exception
328
-           true // Prepend
328
+            true // Prepend
329 329
         );
330 330
 
331 331
         // Autoloading for the files helpers, hooks or functions
@@ -338,7 +338,7 @@  discard block
 block discarded – undo
338 338
             }
339 339
             
340 340
         }, true, 
341
-           true
341
+            true
342 342
         );
343 343
     }
344 344
 
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -316,7 +316,7 @@  discard block
 block discarded – undo
316 316
         // Now prepend another loader for the files in our class map
317 317
         $config = is_array($this->classmap) ? $this->classmap : [];
318 318
         
319
-        spl_autoload_register(function ($class) use ($config) {
319
+        spl_autoload_register(function($class) use ($config) {
320 320
 
321 321
             if (empty($config[$class])) {
322 322
                 return false;
@@ -331,7 +331,7 @@  discard block
 block discarded – undo
331 331
         // Autoloading for the files helpers, hooks or functions
332 332
         $files = is_array($this->includeFiles) ? $this->includeFiles : [];
333 333
 
334
-        spl_autoload_register(function () use ($files) {
334
+        spl_autoload_register(function() use ($files) {
335 335
 
336 336
             foreach ($files as $fileIdentifier => $file) {
337 337
                 $this->getAutoloaderFileRequire($fileIdentifier, $file);                
Please login to merge, or discard this patch.
src/components/Dotenv/Repository/AdapterRepository.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -62,14 +62,14 @@
 block discarded – undo
62 62
         return $this->adapter->read($name);
63 63
     }
64 64
 
65
-     /**
66
-     * Set an environment variable.
67
-     * 
68
-     * @param  string  $name
69
-     * @param  string  $value
70
-     * 
71
-     * @return bool
72
-     */
65
+        /**
66
+         * Set an environment variable.
67
+         * 
68
+         * @param  string  $name
69
+         * @param  string  $value
70
+         * 
71
+         * @return bool
72
+         */
73 73
     public function set(string $name, string $value)
74 74
     {
75 75
         return $this->adapter->write($name);
Please login to merge, or discard this patch.
src/components/Dotenv/Repository/Adapters/PutenvAdapter.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -72,14 +72,14 @@
 block discarded – undo
72 72
         return null;
73 73
     }
74 74
 
75
-     /**
76
-     * Write to an environment variable.
77
-     * 
78
-     * @param  string  $name
79
-     * @param  string  $value
80
-     * 
81
-     * @return bool
82
-     */
75
+        /**
76
+         * Write to an environment variable.
77
+         * 
78
+         * @param  string  $name
79
+         * @param  string  $value
80
+         * 
81
+         * @return bool
82
+         */
83 83
     public function write(string $name, string $value)
84 84
     {
85 85
         putenv("$name=$value");
Please login to merge, or discard this patch.
src/components/Dotenv/Repository/Adapters/GlobalAdapter.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -74,14 +74,14 @@
 block discarded – undo
74 74
         return null;
75 75
     }
76 76
 
77
-     /**
78
-     * Write to an environment variable.
79
-     * 
80
-     * @param  string  $name
81
-     * @param  string  $value
82
-     * 
83
-     * @return bool
84
-     */
77
+        /**
78
+         * Write to an environment variable.
79
+         * 
80
+         * @param  string  $name
81
+         * @param  string  $value
82
+         * 
83
+         * @return bool
84
+         */
85 85
     public function write(string $name, string $value)
86 86
     {
87 87
         if ($this->has($name)) {
Please login to merge, or discard this patch.
src/components/Dotenv/Repository/Adapters/ArrayAdapter.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -76,14 +76,14 @@
 block discarded – undo
76 76
         return null;
77 77
     }
78 78
 
79
-     /**
80
-     * Write to an environment variable.
81
-     * 
82
-     * @param  string  $name
83
-     * @param  string  $value
84
-     * 
85
-     * @return bool
86
-     */
79
+        /**
80
+         * Write to an environment variable.
81
+         * 
82
+         * @param  string  $name
83
+         * @param  string  $value
84
+         * 
85
+         * @return bool
86
+         */
87 87
     public function write(string $name, string $value)
88 88
     {
89 89
         $this->data[$name] = $value;
Please login to merge, or discard this patch.
src/components/Dotenv/Repository/Adapters/ServerAdapter.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -69,14 +69,14 @@
 block discarded – undo
69 69
         return null;
70 70
     }
71 71
 
72
-     /**
73
-     * Write to an environment variable.
74
-     * 
75
-     * @param  string  $name
76
-     * @param  string  $value
77
-     * 
78
-     * @return bool
79
-     */
72
+        /**
73
+         * Write to an environment variable.
74
+         * 
75
+         * @param  string  $name
76
+         * @param  string  $value
77
+         * 
78
+         * @return bool
79
+         */
80 80
     public function write(string $name, string $value)
81 81
     {
82 82
         $_SERVER[$name] = $value;
Please login to merge, or discard this patch.
src/components/Dotenv/Repository/Adapters/EnvAdapter.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -70,14 +70,14 @@
 block discarded – undo
70 70
         return null;
71 71
     }
72 72
 
73
-     /**
74
-     * Write to an environment variable.
75
-     * 
76
-     * @param  string  $name
77
-     * @param  string  $value
78
-     * 
79
-     * @return bool
80
-     */
73
+        /**
74
+         * Write to an environment variable.
75
+         * 
76
+         * @param  string  $name
77
+         * @param  string  $value
78
+         * 
79
+         * @return bool
80
+         */
81 81
     public function write(string $name, string $value)
82 82
     {
83 83
         $_ENV[$name] = $value;
Please login to merge, or discard this patch.
src/components/Dotenv/Repository/Adapters/DefineAdapter.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -70,14 +70,14 @@
 block discarded – undo
70 70
         return null;
71 71
     }
72 72
 
73
-     /**
74
-     * Write to an environment variable.
75
-     * 
76
-     * @param  string  $name
77
-     * @param  string  $value
78
-     * 
79
-     * @return bool
80
-     */
73
+        /**
74
+         * Write to an environment variable.
75
+         * 
76
+         * @param  string  $name
77
+         * @param  string  $value
78
+         * 
79
+         * @return bool
80
+         */
81 81
     public function write(string $name, string $value)
82 82
     {
83 83
         if ( ! $this->has($name)) {
Please login to merge, or discard this patch.