From 4f1d11d15ea5c928e02c7d53f22e019101dc0005 Mon Sep 17 00:00:00 2001 From: Matthias Pigulla Date: Wed, 4 Sep 2024 10:30:16 +0200 Subject: [PATCH] Update test matrix and dependencies to use supported Symfony versions only --- .github/workflows/tests.yml | 7 +++---- composer.json | 28 ++++++++++++++-------------- 2 files changed, 17 insertions(+), 18 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 1dca769..8bbf943 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -17,10 +17,9 @@ jobs: fail-fast: false matrix: include: - - { php-version: 7.2, symfony-locked-version: none, dependency-version: prefer-lowest } - - { php-version: 7.4, symfony-locked-version: 5.3.*, dependency-version: prefer-stable } - - { php-version: 8.1, symfony-locked-version: none, dependency-version: prefer-stable } - - { php-version: 8.2, symfony-locked-version: none, dependency-version: prefer-stable } + - { php-version: 8.1, symfony-locked-version: none, dependency-version: prefer-lowest } + - { php-version: 8.1, symfony-locked-version: 5.4.*, dependency-version: prefer-stable } + - { php-version: 8.2, symfony-locked-version: 6.4.*, dependency-version: prefer-stable } - { php-version: 8.3, symfony-locked-version: none, dependency-version: prefer-stable } name: PHPUnit (PHP ${{matrix.php-version}}, Symfony Version Lock ${{ matrix.symfony-locked-version }}, ${{ matrix.dependency-version }}) steps: diff --git a/composer.json b/composer.json index ff5afe7..058e7f0 100644 --- a/composer.json +++ b/composer.json @@ -4,29 +4,29 @@ "license": "MIT", "require": { - "php": ">=7.2", + "php": ">=8.1", "ext-json": "*", "ext-mbstring": "*", "psr/log": "^1.0.2", - "symfony/config": "^4.4|^5.0|^6.0|^7.0", - "symfony/dependency-injection": "^4.4|^5.0|^6.0|^7.0", + "symfony/config": "^5.4|^6.0|^7.0", + "symfony/dependency-injection": "^5.4|^6.0|^7.0", "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/form": "^4.4|^5.0|^6.0|^7.0", - "symfony/http-foundation": "^5.3|^6.0|^7.0", - "symfony/http-kernel": "^4.4|^5.0|^6.0|^7.0", + "symfony/form": "^5.4|^6.0|^7.0", + "symfony/http-foundation": "^5.4|^6.0|^7.0", + "symfony/http-kernel": "^5.4|^6.0|^7.0", "thunderer/shortcode": "^0.6.5|^0.7", - "twig/twig": "^1.34|^2.0|^3.0" + "twig/twig": "^2.0|^3.0" }, "require-dev": { - "phpunit/phpunit": "^8.5|^9.5", - "symfony/browser-kit": "^4.4|^5.4|^6.0|^7.0", - "symfony/expression-language": "^4.4|^5.0|^6.0|^7.0", - "symfony/framework-bundle": "^5.3|^6.0|^7.0", + "phpunit/phpunit": "^10.5", + "symfony/browser-kit": "^5.4|^6.0|^7.0", + "symfony/expression-language": "^5.4|^6.0|^7.0", + "symfony/framework-bundle": "^5.4|^6.0|^7.0", "symfony/phpunit-bridge": ">= 6.0", - "symfony/routing": "^4.4|^5.0|^6.0|^7.0", - "symfony/twig-bundle": "^4.4|^5.0|^6.0|^7.0", - "symfony/yaml": "^4.4|^5.0|^6.0|^7.0" + "symfony/routing": "^5.4|^6.0|^7.0", + "symfony/twig-bundle": "^5.4|^6.0|^7.0", + "symfony/yaml": "^5.4|^6.0|^7.0" }, "autoload": {