From fbce07692c3ed7cf0a84e95d7ea9543be7b25679 Mon Sep 17 00:00:00 2001 From: Christopher Davis Date: Fri, 19 Jan 2024 13:40:45 -0600 Subject: [PATCH] Run CI for Symfony 6 and 7 And drop PHP 7.4 support. --- .github/workflows/ci.yml | 30 ++++++++++-------------------- composer.json | 2 +- 2 files changed, 11 insertions(+), 21 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3868339..2097955 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,26 +21,16 @@ jobs: strategy: matrix: - include: - # Symfony 6.X does not support PHP 7.4 - - php-version: 7.4 - symfony-require: "4.4.*" - - php-version: 7.4 - symfony-require: "5.4.*" - - - - php-version: 8.0 - symfony-require: "4.4.*" - - php-version: 8.0 - symfony-require: "5.4.*" - - - php-version: 8.1 - symfony-require: "4.4.*" - - php-version: 8.1 - symfony-require: "5.4.*" - - php-version: 8.1 - symfony-require: "6.*" - + php-version: + - '8.2' + - '8.3' + symfony-require: + - '5.4.*' + - '6.*' + - '7.*' + composer-flags: + - '' + - '--prefer-lowest' steps: - name: "Checkout" uses: "actions/checkout@v2" diff --git a/composer.json b/composer.json index ced3e87..e89569f 100644 --- a/composer.json +++ b/composer.json @@ -5,7 +5,7 @@ "license": "MIT", "type": "symfony-bundle", "require": { - "php": "^7.4 || ^8.0", + "php": "^8.2", "symfony/framework-bundle": "^5.4 || ^6.0 || ^7.0", "ramsey/uuid": "^3.9 || ^4.3" },