Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F10190399
D3635.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
722 B
Referenced Files
None
Subscribers
None
D3635.id.diff
View Options
diff --git a/composer.json b/composer.json
--- a/composer.json
+++ b/composer.json
@@ -12,10 +12,10 @@
"require": {
"php": ">=7.3.0",
"netresearch/jsonmapper": "^4.1.0",
- "vlucas/phpdotenv": "^2.4"
+ "vlucas/phpdotenv": "^5.6"
},
"require-dev": {
- "phpunit/phpunit": "^9.5"
+ "phpunit/phpunit": "^12"
},
"autoload": {
"psr-4": {
diff --git a/src/Service.php b/src/Service.php
--- a/src/Service.php
+++ b/src/Service.php
@@ -61,7 +61,7 @@
///
private function loadEnvironment () : void {
- $env = new Dotenv(__DIR__);
+ $env = Dotenv::createUnsafeImmutable(__DIR__);
if (file_exists(__DIR__ . '/.env')) {
$env->load();
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jun 25, 05:19 (15 h, 35 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2759861
Default Alt Text
D3635.id.diff (722 B)
Attached To
Mode
D3635: Bump dependencies
Attached
Detach File
Event Timeline
Log In to Comment