From fda808ef3be79b03d1be662ae10f66e2ae393c75 Mon Sep 17 00:00:00 2001 From: Worma Date: Fri, 1 Aug 2025 08:25:22 +0200 Subject: [PATCH 1/5] Bump versions --- .github/workflows/php.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index d5b2156..94c5848 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -18,13 +18,13 @@ jobs: - "8.0" - "8.1" steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Validate composer.json and composer.lock run: composer validate - name: Cache Composer packages id: composer-cache - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: vendor key: ${{ runner.os }}-node-${{ hashFiles('**/composer.lock') }} @@ -49,14 +49,14 @@ jobs: - "8.0" - "8.1" steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Validate composer.json and composer.lock run: composer validate - name: Cache Composer packages id: composer-cache - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: vendor key: ${{ runner.os }}-node-${{ hashFiles('**/composer.lock') }} @@ -76,14 +76,14 @@ jobs: php-version: - "7.2" steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Validate composer.json and composer.lock run: composer validate - name: Cache Composer packages id: composer-cache - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: vendor key: ${{ runner.os }}-node-${{ hashFiles('**/composer.lock') }} @@ -110,7 +110,7 @@ jobs: php-version: - "7.2" steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: "Install PHP" uses: "shivammathur/setup-php@v2" with: @@ -123,7 +123,7 @@ jobs: - name: Cache Composer packages id: composer-cache - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: vendor key: ${{ runner.os }}-node-${{ hashFiles('**/composer.lock') }} From 65e0a15c83fe902934b0d1e3a1003ba9d5396436 Mon Sep 17 00:00:00 2001 From: Worma Date: Fri, 1 Aug 2025 08:25:58 +0200 Subject: [PATCH 2/5] Test against newer PHP versions --- .github/workflows/php.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 94c5848..4bda5e3 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -17,6 +17,9 @@ jobs: - "7.4" - "8.0" - "8.1" + - "8.2" + - "8.3" + - "8.4" steps: - uses: actions/checkout@v4 - name: Validate composer.json and composer.lock @@ -48,6 +51,9 @@ jobs: - "7.4" - "8.0" - "8.1" + - "8.2" + - "8.3" + - "8.4" steps: - uses: actions/checkout@v4 From d7a19a2efb3f70d3d5712cbfa97a50d604efcbc8 Mon Sep 17 00:00:00 2001 From: Worma Date: Fri, 1 Aug 2025 08:31:04 +0200 Subject: [PATCH 3/5] Bump min phpunit versions to fix phpunit jobs using lowest dependency versions --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 6589501..a453789 100644 --- a/composer.json +++ b/composer.json @@ -20,7 +20,7 @@ "require-dev" : { "doctrine/cache" : "^1.0|^2.0", "doctrine/coding-standard": "^8.0", - "phpunit/phpunit": "^8.5|^9.0", + "phpunit/phpunit": "^8.5.42|^9.6.23", "psr/container": "^1.0|^2.0", "symfony/cache" : "^3.1|^4.0|^5.0", "symfony/dependency-injection" : "^3.1|^4.0|^5.0", From 55d9684893a8e8152051473024929d76da012868 Mon Sep 17 00:00:00 2001 From: Worma Date: Fri, 1 Aug 2025 08:44:01 +0200 Subject: [PATCH 4/5] Allow newer symfony versions in tests --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index a453789..96dbfd5 100644 --- a/composer.json +++ b/composer.json @@ -22,8 +22,8 @@ "doctrine/coding-standard": "^8.0", "phpunit/phpunit": "^8.5.42|^9.6.23", "psr/container": "^1.0|^2.0", - "symfony/cache" : "^3.1|^4.0|^5.0", - "symfony/dependency-injection" : "^3.1|^4.0|^5.0", + "symfony/cache" : "^3.1|^4.0|^5.0|^6.0|^7.0", + "symfony/dependency-injection" : "^3.1|^4.0|^5.0|^6.0|^7.0", "mikey179/vfsstream": "^1.6.7" }, "autoload": { From 904b950bda03890a780d159f16641214cf2a578f Mon Sep 17 00:00:00 2001 From: Worma Date: Fri, 1 Aug 2025 08:59:24 +0200 Subject: [PATCH 5/5] Remove caching for the ci job With caching the cs job fails with a PHP parse error --- .github/workflows/php.yml | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 4bda5e3..56093b4 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -127,17 +127,7 @@ jobs: - name: Validate composer run: composer validate - - name: Cache Composer packages - id: composer-cache - uses: actions/cache@v4 - with: - path: vendor - key: ${{ runner.os }}-node-${{ hashFiles('**/composer.lock') }} - restore-keys: | - ${{ runner.os }}-node- - - name: Install dependencies - if: steps.composer-cache.outputs.cache-hit != 'true' run: composer update --prefer-dist --no-progress --no-suggest - name: Run CS