From 4392c899a9fd42940165ed6559f2a4f132c1f484 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois-Xavier=20de=20Guillebon?= Date: Mon, 10 Jun 2024 16:51:25 +0200 Subject: [PATCH] chore: remove unmaintained symfony versions --- .github/workflows/continuous-integration.yaml | 13 +++++----- composer.json | 25 ++++++++----------- 2 files changed, 18 insertions(+), 20 deletions(-) diff --git a/.github/workflows/continuous-integration.yaml b/.github/workflows/continuous-integration.yaml index 916611ed..7c54593b 100644 --- a/.github/workflows/continuous-integration.yaml +++ b/.github/workflows/continuous-integration.yaml @@ -4,10 +4,10 @@ on: [push] jobs: build-test: - runs-on: ubuntu-latest + runs-on: 'ubuntu-latest' name: 'PHPUnit (PHP ${{ matrix.php }}, Symfony ${{ matrix.symfony }} + ${{ matrix.dependencies }} deps, ES ${{ matrix.elasticsearch }})' env: - SYMFONY_REQUIRE: "${{ matrix.symfony }}" + SYMFONY_REQUIRE: "${{ matrix.symfony }}" strategy: matrix: php: @@ -15,9 +15,10 @@ jobs: - '8.0' - '8.1' - '8.2' + - '8.3' symfony: - - '5.4.*' - - '6.3.*' + - '5.4.*' + - '6.4.*' dependencies: - 'highest' include: @@ -28,7 +29,7 @@ jobs: dependencies: 'highest' steps: - name: 'Checkout' - uses: actions/checkout@v3 + uses: 'actions/checkout@v4' - name: 'Setup PHP' uses: 'shivammathur/setup-php@v2' @@ -38,7 +39,7 @@ jobs: extensions: 'curl, json, intl, mbstring, mongodb, openssl' - name: 'Install Composer dependencies' - uses : 'ramsey/composer-install@v2' + uses : 'ramsey/composer-install@v3' with: dependency-versions: "${{ matrix.dependencies }}" composer-options: "--no-interaction" diff --git a/composer.json b/composer.json index dd0e3f08..931dde2b 100644 --- a/composer.json +++ b/composer.json @@ -25,21 +25,18 @@ ], "require": { "php": "^7.4 || ^8.0", - "symfony/form": "^3.0 || ^4.0 || ^5.0 || ^6.0", - "symfony/dependency-injection": "^3.0 || ^4.0 || ^5.0 || ^6.0", - "symfony/config": "^3.0 || ^4.0 || ^5.0 || ^6.0", - "symfony/http-foundation": "^3.0 || ^4.0 || ^5.0 || ^6.0", - "symfony/http-kernel": "^3.0 || ^4.0 || ^5.0 || ^6.0", - "symfony/options-resolver": "^3.0 || ^4.0 || ^5.0 || ^6.0", - "symfony/security-bundle": "^3.0 || ^4.0 || ^5.0 || ^6.0", - "symfony/serializer": "^3.0 || ^4.0 || ^5.0 || ^6.0", + "symfony/form": "^5.4 || ^6.4", + "symfony/dependency-injection": "^5.4 || ^6.4", + "symfony/config": "^5.4 || ^6.4", + "symfony/http-foundation": "^5.4 || ^6.4", + "symfony/http-kernel": "^5.4 || ^6.4", + "symfony/options-resolver": "^5.4 || ^6.4", + "symfony/security-core": "^5.4 || ^6.4", + "symfony/serializer": "^5.4 || ^6.4", "twig/twig": "^2.14 || ^3.0" }, "require-dev": { - "symfony/framework-bundle": "^4.3 || ^5.0 || ^6.0", - "symfony/browser-kit": "^3.0 || ^4.0 || ^5.0 || ^6.0", - "symfony/templating": "^3.0 || ^4.0 || ^5.0 || ^6.0", - "symfony/expression-language": "^3.0 || ^4.0 || ^5.0 || ^6.0", + "symfony/framework-bundle": "^5.4 || ^6.4", "phpunit/phpunit": "^9.5", "friendsofphp/php-cs-fixer": "^2.0", "php-coveralls/php-coveralls": "^2.0", @@ -47,8 +44,8 @@ "doctrine/mongodb-odm": "^2.2", "rector/rector": "^0.12.13", "dg/bypass-finals": "^1.3", - "symfony/security-bundle": "^3.0 || ^4.0 || ^5.0", - "symfony/twig-bundle": "^3.0 || ^4.0 || ^5.0", + "symfony/security-bundle": "^5.4 || ^6.4", + "symfony/twig-bundle": "^5.4 || ^6.4", "doctrine/doctrine-bundle": "^2.5" }, "suggest": {