diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7c6b381..d8632bb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,11 +21,14 @@ jobs: strategy: fail-fast: false matrix: - php: ["8.1"] + php: ["8.0", "8.1"] symfony: ["^5.4", "^6.0"] sylius: ["~1.12.0", "~1.13.0"] node: ["14.x"] mysql: ["5.7", "8.0"] + exclude: + - sylius: "~1.13.0" + php: "8.0" env: APP_ENV: test diff --git a/composer.json b/composer.json index 9c5ca3c..d61b28b 100644 --- a/composer.json +++ b/composer.json @@ -8,7 +8,7 @@ "description": "Bonus points plugin for Sylius.", "license": "MIT", "require": { - "php": "^8.1", + "php": "^8.0 || ^8.1", "sylius/sylius": "~1.12.0 || ~1.13.0" }, "require-dev": { diff --git a/ecs.php b/ecs.php index 4a3eb77..4982640 100644 --- a/ecs.php +++ b/ecs.php @@ -5,8 +5,6 @@ use Symplify\EasyCodingStandard\Config\ECSConfig; return static function (ECSConfig $config): void { - - // Change this if you want to automatically add BitBag OpenSource Header putenv('ALLOW_BITBAG_OS_HEADER=1'); $config->import('vendor/bitbag/coding-standard/ecs.php');