Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3769114
D3050.id7784.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
789 B
Referenced Files
None
Subscribers
None
D3050.id7784.diff
View Options
diff --git a/composer.json b/composer.json
--- a/composer.json
+++ b/composer.json
@@ -16,7 +16,7 @@
}
],
"require": {
- "vlucas/phpdotenv": "dev-master",
+ "vlucas/phpdotenv": "^5.5.0",
"nasqueron/saas-service": "^0.0.1",
"keruald/commands": "^0.0.1"
},
diff --git a/src/Environment.php b/src/Environment.php
--- a/src/Environment.php
+++ b/src/Environment.php
@@ -18,7 +18,7 @@
public static function load () : void {
if (!self::$isLoaded) {
$directory = self::getDirectory();
- $dotenv = new Dotenv($directory);
+ $dotenv = Dotenv::createImmutable($directory);
$dotenv->safeLoad();
try {
$dotenv->required(self::getRequiredVariables());
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 24, 13:03 (8 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2260204
Default Alt Text
D3050.id7784.diff (789 B)
Attached To
Mode
D3050: Fix DotEnv dependency
Attached
Detach File
Event Timeline
Log In to Comment