Skip to content

Commit

Permalink
php 8.4 support
Browse files Browse the repository at this point in the history
  • Loading branch information
xtrime-ru committed Dec 22, 2024
1 parent 7803aef commit d809be2
Show file tree
Hide file tree
Showing 3 changed files with 186 additions and 122 deletions.
2 changes: 1 addition & 1 deletion bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
}
}

Dotenv\Dotenv::createImmutable(ROOT_DIR, $envFile)->load();
Dotenv\Dotenv::createUnsafeImmutable(ROOT_DIR, $envFile)->load();

if (getenv('VERSION') !== ENV_VERSION) {
Logger::getInstance()->critical("Env version mismatch. Update {$envPath} from {$envPathExample}", [
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"amphp/http-server-form-parser": "^v2",
"amphp/websocket-server": "^3.0.1",
"amphp/websocket-client": "^v2",
"vlucas/phpdotenv": "^4.3",
"vlucas/phpdotenv": "^5",
"danog/madelineproto": "dev-v8-tas",
"amphp/dns": "2.x-dev"
},
Expand Down
Loading

0 comments on commit d809be2

Please sign in to comment.