From 68d6b4d1d825f7ead17643702ab36098a2c127e7 Mon Sep 17 00:00:00 2001 From: W0rma Date: Fri, 28 Nov 2025 11:56:15 +0100 Subject: [PATCH 1/4] chore(ci): add php8.5 --- .github/workflows/main.yml | 6 +++++- .github/workflows/release.yml | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f05844d..d65f9a4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,7 +8,7 @@ jobs: strategy: matrix: - php: [8.1, 8.2, 8.3, 8.4] + php: [8.1, 8.2, 8.3, 8.4, 8.5] steps: - name: Checkout code @@ -19,6 +19,10 @@ jobs: with: php-version: ${{ matrix.php }} coverage: none + # this ini directive seems to be off by default in PHP 8.5 + # see https://github.com/php/php-src/issues/20279 + # enable it because codeception relies on it. + ini-values: register_argc_argv=1 - name: Validate composer.json and composer.lock run: composer validate diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fb8341c..22c3de1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,7 +9,7 @@ jobs: strategy: matrix: - php: [ 8.1, 8.2, 8.3, 8.4 ] + php: [ 8.1, 8.2, 8.3, 8.4, 8.5 ] steps: - name: Checkout code @@ -20,6 +20,10 @@ jobs: with: php-version: ${{ matrix.php }} coverage: none + # this ini directive seems to be off by default in PHP 8.5 + # see https://github.com/php/php-src/issues/20279 + # enable it because codeception relies on it. + ini-values: register_argc_argv=1 - name: Validate composer.json and composer.lock run: composer validate From 65bb7cb0b1f48947e243fe6aa1609f0ba48ffb8f Mon Sep 17 00:00:00 2001 From: W0rma Date: Fri, 28 Nov 2025 11:57:38 +0100 Subject: [PATCH 2/4] chore(ci): bump actions/checkout version --- .github/workflows/main.yml | 2 +- .github/workflows/release.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d65f9a4..82e62df 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,7 +12,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Setup PHP uses: shivammathur/setup-php@v2 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 22c3de1..47f35ad 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,7 +13,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Setup PHP uses: shivammathur/setup-php@v2 @@ -50,7 +50,7 @@ jobs: - tests runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: fetch-depth: 0 persist-credentials: false From 72e7ca8c26058303d8030335983c32daa1020e47 Mon Sep 17 00:00:00 2001 From: W0rma Date: Sat, 29 Nov 2025 08:30:53 +0100 Subject: [PATCH 3/4] chore(ci): use ini workaround for php 8.5 only --- .github/workflows/main.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 82e62df..14422d4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,10 +15,18 @@ jobs: uses: actions/checkout@v6 - name: Setup PHP + if: ${{ matrix.php != '8.5' }} uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} coverage: none + + - name: Setup PHP with register_arg_argv + uses: shivammathur/setup-php@v2 + if: ${{ matrix.php == '8.5' }} + with: + php-version: ${{ matrix.php }} + coverage: none # this ini directive seems to be off by default in PHP 8.5 # see https://github.com/php/php-src/issues/20279 # enable it because codeception relies on it. From f2454c23c2c45bf5209e467e070ea49abe502127 Mon Sep 17 00:00:00 2001 From: W0rma Date: Sat, 29 Nov 2025 08:32:35 +0100 Subject: [PATCH 4/4] chore(ci): add php nightly --- .github/workflows/main.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 14422d4..bb87ee7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -5,10 +5,15 @@ on: jobs: tests: runs-on: ubuntu-latest + continue-on-error: ${{ matrix.experimental }} strategy: matrix: php: [8.1, 8.2, 8.3, 8.4, 8.5] + experimental: [false] + include: + - php: 8.6 + experimental: true steps: - name: Checkout code