|
@@ -12,7 +12,7 @@ discard block |
|
|
block discarded – undo |
|
12
|
12
|
// env config |
|
13
|
13
|
// Determine the .env file in package directory ($baseBath === __DIR__) and getcwd() |
|
14
|
14
|
// this prevent path errors in case of global composer installation and package requirement |
|
15
|
|
-foreach([$basePath, getcwd()] as $directory) { |
|
|
15
|
+foreach ([$basePath, getcwd()] as $directory) { |
|
16
|
16
|
if (file_exists($directory . DIRECTORY_SEPARATOR . '.env')) { |
|
17
|
17
|
$dotenv = new Dotenv\Dotenv($directory); |
|
18
|
18
|
$dotenv->load(); |
|
@@ -36,7 +36,7 @@ discard block |
|
|
block discarded – undo |
|
36
|
36
|
$application->add(new ShowCommand()); |
|
37
|
37
|
$application->add(new CornifyCommand()); |
|
38
|
38
|
|
|
39
|
|
-if(true === $phar) { |
|
|
39
|
+if (true === $phar) { |
|
40
|
40
|
$application->add(new UpdateCommand()); |
|
41
|
41
|
$application->add(new RollbackCommand()); |
|
42
|
42
|
} |
Please login to merge, or discard this patch.