Passed
Push — 0.7.0 ( 91f75a...a316e5 )
by Alexander
09:55
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/Adapters/PutenvAdapter.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -44,14 +44,14 @@
 block discarded – undo
44 44
         return getenv($name);
45 45
     }
46 46
 
47
-     /**
48
-     * Write to an environment variable.
49
-     * 
50
-     * @param  string  $name
51
-     * @param  string  $value
52
-     * 
53
-     * @return bool
54
-     */
47
+        /**
48
+         * Write to an environment variable.
49
+         * 
50
+         * @param  string  $name
51
+         * @param  string  $value
52
+         * 
53
+         * @return bool
54
+         */
55 55
     public function write(string $name, string $value)
56 56
     {
57 57
         putenv("$name=$value");
Please login to merge, or discard this patch.
src/components/Dotenv/Repository/Adapters/ApacheAdapter.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -44,14 +44,14 @@
 block discarded – undo
44 44
         return apache_getenv($name);
45 45
     }
46 46
 
47
-     /**
48
-     * Write to an environment variable.
49
-     * 
50
-     * @param  string  $name
51
-     * @param  string  $value
52
-     * 
53
-     * @return bool
54
-     */
47
+        /**
48
+         * Write to an environment variable.
49
+         * 
50
+         * @param  string  $name
51
+         * @param  string  $value
52
+         * 
53
+         * @return bool
54
+         */
55 55
     public function write(string $name, string $value)
56 56
     {
57 57
         return apache_setenv($name, $value);
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
@@ -50,14 +50,14 @@
 block discarded – undo
50 50
         return $this->vars[$name];
51 51
     }
52 52
 
53
-     /**
54
-     * Write to an environment variable.
55
-     * 
56
-     * @param  string  $name
57
-     * @param  string  $value
58
-     * 
59
-     * @return bool
60
-     */
53
+        /**
54
+         * Write to an environment variable.
55
+         * 
56
+         * @param  string  $name
57
+         * @param  string  $value
58
+         * 
59
+         * @return bool
60
+         */
61 61
     public function write(string $name, string $value)
62 62
     {
63 63
         $this->vars[$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
@@ -43,14 +43,14 @@
 block discarded – undo
43 43
         return $_SERVER[$name];
44 44
     }
45 45
 
46
-     /**
47
-     * Write to an environment variable.
48
-     * 
49
-     * @param  string  $name
50
-     * @param  string  $value
51
-     * 
52
-     * @return bool
53
-     */
46
+        /**
47
+         * Write to an environment variable.
48
+         * 
49
+         * @param  string  $name
50
+         * @param  string  $value
51
+         * 
52
+         * @return bool
53
+         */
54 54
     public function write(string $name, string $value)
55 55
     {
56 56
         $_SERVER[$name] = $value;
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.