From 6178b037eb010a6d77c509c686f7842c2163eadf Mon Sep 17 00:00:00 2001 From: David Jeanmonod Date: Wed, 3 Sep 2025 05:41:38 +0200 Subject: [PATCH 1/3] Upgrade the tests versions --- .github/workflows/ci.yml | 32 +++++++++----------------------- 1 file changed, 9 insertions(+), 23 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e339633..51df014 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,39 +13,25 @@ jobs: fail-fast: false matrix: include: - # Test the latest stable release - - php-version: '7.1' - phpunit-version: 7 - - php-version: '7.2' - phpunit-version: 8 - - php-version: '7.3' - phpunit-version: 8 + # Test deprecated version - php-version: '7.4' phpunit-version: 8 - php-version: '8.0' phpunit-version: 9 - # Test Symfony LTS versions. Read more at https://github.com/symfony/lts - - php-version: '7.4' - dependencies: 'symfony/lts:^3' - phpunit-version: 8 - - php-version: '8.0' + # Test security fixes version + - php-version: '8.1' phpunit-version: 9 - symfony-version: '^4' - - php-version: '8.0' + - php-version: '8.2' phpunit-version: 9 - symfony-version: '^5' - - php-version: '8.0' - phpunit-version: 9 - symfony-version: '^6' + # Test active version - php-version: '8.3' phpunit-version: 9 symfony-version: '^7' - # Minimum supported dependencies with the oldest PHP version - - php-version: '7.1' - phpunit-version: 7 - composer-flag: '--prefer-stable --prefer-lowest' + - php-version: '8.4' + phpunit-version: 9 + symfony-version: '^7' # Test latest unreleased versions - - php-version: '8.3' + - php-version: '8.5' phpunit-version: 9 symfony-version: '^7' stability: 'dev' From 98dc2e31e8cb6aeceb9d7b1a98c8bcd4427237f2 Mon Sep 17 00:00:00 2001 From: David Jeanmonod Date: Wed, 3 Sep 2025 05:45:40 +0200 Subject: [PATCH 2/3] Remove PHPUnit coverage setting --- phpunit.xml.dist | 5 ----- 1 file changed, 5 deletions(-) diff --git a/phpunit.xml.dist b/phpunit.xml.dist index f3c292f..4c8c291 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,10 +1,5 @@ - - - ./src - - ./test/Liip/RMT/Tests/Unit From ec6ea36b498b1e20abb8a50c3e32c650d9a78157 Mon Sep 17 00:00:00 2001 From: David Jeanmonod Date: Wed, 3 Sep 2025 09:20:56 +0200 Subject: [PATCH 3/3] Update the composer settings too --- composer.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index 0c0222c..62ad74d 100644 --- a/composer.json +++ b/composer.json @@ -21,10 +21,10 @@ }, "require": { "ext-json": "*", - "php": "^7.1|^8.0", - "symfony/console": "^3.4|^4.0|^5.0|^6.0|^7.0", - "symfony/yaml": "^3.4|^4.0|^5.0|^6.0|^7.0", - "symfony/process": "^3.4|^4.0|^5.0|^6.0|^7.0", + "php": "^7.4|^8.0", + "symfony/console": "^5.0|^6.0|^7.0", + "symfony/yaml": "^5.0|^6.0|^7.0", + "symfony/process": "^5.0|^6.0|^7.0", "composer/semver": "^3.4" }, "autoload": {