From c8c12393c1b95e8639b2b197c9e10bdd3514b2a8 Mon Sep 17 00:00:00 2001 From: Pieter Oliver Date: Mon, 9 Jun 2025 20:12:33 +0100 Subject: [PATCH 1/2] Upgrade CI to run on more supported php versions since many versions are EOL, worth supporting much one to check we can run in the latest versions too. --- .github/workflows/ci.yml | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a1371365..8686352e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,10 +26,22 @@ jobs: composer-options: "--ignore-platform-reqs" experimental: true dependencies: "highest" + - php: "8.2" + composer-options: "--ignore-platform-reqs" + experimental: true + dependencies: "highest" + - php: "8.3" + composer-options: "--ignore-platform-reqs" + experimental: true + dependencies: "highest" + - php: "8.4" + composer-options: "--ignore-platform-reqs" + experimental: true + dependencies: "highest" steps: - name: Set up PHP - uses: shivammathur/setup-php@2.9.0 + uses: shivammathur/setup-php@2.33.0 with: php-version: ${{ matrix.php }} extensions: intl, mbstring @@ -51,14 +63,14 @@ jobs: run: ./vendor/bin/phpunit -c phpunit.xml cs: - name: Codestyle check on PHP 7.2 + name: Codestyle check on PHP 8.3 runs-on: ubuntu-latest steps: - name: Set up PHP - uses: shivammathur/setup-php@2.1.0 + uses: shivammathur/setup-php@2.33.0 with: - php-version: 7.2 + php-version: 8.3 - name: Checkout code uses: actions/checkout@v2 @@ -76,11 +88,11 @@ jobs: strategy: matrix: php: - - '7.2' + - '8.3' steps: - name: Set up PHP - uses: shivammathur/setup-php@2.1.0 + uses: shivammathur/setup-php@2.33.0 with: php-version: ${{ matrix.php }} From b02760b900d221711f96552be8b5951db7814e07 Mon Sep 17 00:00:00 2001 From: Pieter Oliver Date: Wed, 11 Jun 2025 17:04:55 +0100 Subject: [PATCH 2/2] Go back to 7.2 for general tests as this should probably come from dropping earlier version support --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8686352e..ae1e8e74 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -63,14 +63,14 @@ jobs: run: ./vendor/bin/phpunit -c phpunit.xml cs: - name: Codestyle check on PHP 8.3 + name: Codestyle check on PHP 7.2 runs-on: ubuntu-latest steps: - name: Set up PHP uses: shivammathur/setup-php@2.33.0 with: - php-version: 8.3 + php-version: 7.2 - name: Checkout code uses: actions/checkout@v2 @@ -88,7 +88,7 @@ jobs: strategy: matrix: php: - - '8.3' + - '7.2' steps: - name: Set up PHP