Skip to content

Commit 402de9b

Browse files
committed
[TASK] Drop symfony 4.4 support
1 parent 410a9f2 commit 402de9b

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

bin/tailor

+1-5
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,7 @@ foreach ([__DIR__ . '/../vendor/autoload.php', __DIR__ . '/../../../autoload.php
2323
\call_user_func(static function() {
2424
foreach ([ __DIR__ . '/../.env', __DIR__ . '/../../../../.env', __DIR__ . '/../../../../../.env'] as $file) {
2525
if (file_exists($file)) {
26-
if (method_exists(Dotenv::class, 'usePutenv')) {
27-
$dotEnv = (new Dotenv())->usePutenv(true);
28-
} else {
29-
$dotEnv = new Dotenv(true);
30-
}
26+
$dotEnv = (new Dotenv())->usePutenv();
3127
$dotEnv->loadEnv($file);
3228
break;
3329
}

composer.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@
2121
"php": "^7.2 || ^8.0",
2222
"ext-json": "*",
2323
"ext-zip": "*",
24-
"symfony/console": "^4.4 || ^5.4 || ^6.4",
25-
"symfony/dotenv": "^4.4 || ^5.4 || ^6.4",
26-
"symfony/http-client": "^4.4 || ^5.4 || ^6.4",
27-
"symfony/mime": "^4.4 || ^5.4 || ^6.4"
24+
"symfony/console": "^5.4 || ^6.4",
25+
"symfony/dotenv": "^5.4 || ^6.4",
26+
"symfony/http-client": "^5.4 || ^6.4",
27+
"symfony/mime": "^5.4 || ^6.4"
2828
},
2929
"require-dev": {
3030
"phpunit/phpunit": "^8.5.36",

0 commit comments

Comments
 (0)