Page MenuHomeDevCentral

D3635.id9401.diff
No OneTemporary

D3635.id9401.diff

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

Mime Type
text/plain
Expires
Mon, Jun 9, 03:54 (18 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2715097
Default Alt Text
D3635.id9401.diff (722 B)

Event Timeline