From 12388c22d193c2bbfe756a66d1dc7936843d0397 Mon Sep 17 00:00:00 2001 From: janpalen Date: Fri, 26 Jul 2024 08:44:53 +0200 Subject: [PATCH] OP-371 - Codereview changes --- .github/workflows/build.yml | 4 ++-- composer.json | 2 +- tests/Application/config/bootstrap.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6a0ecb0..aa2fe06 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,8 +14,8 @@ jobs: strategy: fail-fast: false matrix: - php: ["8.1", "8.2", "8.3"] - node: ["20.x"] + php: ["8.0", "8.1", "8.2", "8.3"] + node: ["^18.0", "^20.0"] symfony: ["^5.4", "^6.4"] sylius: ["~1.12.0", "~1.13.0"] mysql: ["8.0"] diff --git a/composer.json b/composer.json index 8e645ba..7304ae3 100644 --- a/composer.json +++ b/composer.json @@ -8,7 +8,7 @@ ], "license": "MIT", "require": { - "php": "^8.1 || ^8.2 || ^8.3", + "php": "^8.0 || ^8.1 || ^8.2 || ^8.3", "bitbag/shipping-export-plugin": "^3.1.0", "sylius/sylius": "~1.12.0 || ~1.13.0", "symfony/webpack-encore-bundle": "^1.17", diff --git a/tests/Application/config/bootstrap.php b/tests/Application/config/bootstrap.php index ae509ac..e0439c1 100644 --- a/tests/Application/config/bootstrap.php +++ b/tests/Application/config/bootstrap.php @@ -15,7 +15,7 @@ throw new RuntimeException('Please run "composer require symfony/dotenv" to load the ".env" files configuring the application.'); } else { // load all the .env files - (new Dotenv())->loadEnv(dirname(__DIR__) . '/.env'); + (new Dotenv())->usePutenv()->loadEnv(dirname(__DIR__) . '/.env'); } $_SERVER['APP_ENV'] = $_ENV['APP_ENV'] = ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? null) ?: 'dev';