Skip to content

Commit

Permalink
[TASK] Drop symfony 4.4 support
Browse files Browse the repository at this point in the history
  • Loading branch information
o-ba committed Feb 15, 2024
1 parent 410a9f2 commit 402de9b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
6 changes: 1 addition & 5 deletions bin/tailor
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,7 @@ foreach ([__DIR__ . '/../vendor/autoload.php', __DIR__ . '/../../../autoload.php
\call_user_func(static function() {
foreach ([ __DIR__ . '/../.env', __DIR__ . '/../../../../.env', __DIR__ . '/../../../../../.env'] as $file) {
if (file_exists($file)) {
if (method_exists(Dotenv::class, 'usePutenv')) {
$dotEnv = (new Dotenv())->usePutenv(true);
} else {
$dotEnv = new Dotenv(true);
}
$dotEnv = (new Dotenv())->usePutenv();
$dotEnv->loadEnv($file);
break;
}
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
"php": "^7.2 || ^8.0",
"ext-json": "*",
"ext-zip": "*",
"symfony/console": "^4.4 || ^5.4 || ^6.4",
"symfony/dotenv": "^4.4 || ^5.4 || ^6.4",
"symfony/http-client": "^4.4 || ^5.4 || ^6.4",
"symfony/mime": "^4.4 || ^5.4 || ^6.4"
"symfony/console": "^5.4 || ^6.4",
"symfony/dotenv": "^5.4 || ^6.4",
"symfony/http-client": "^5.4 || ^6.4",
"symfony/mime": "^5.4 || ^6.4"
},
"require-dev": {
"phpunit/phpunit": "^8.5.36",
Expand Down

0 comments on commit 402de9b

Please sign in to comment.