From 7778a380ab0d86971d29abef1272a273a0d3f827 Mon Sep 17 00:00:00 2001 From: Xenira <1288524+Xenira@users.noreply.github.com> Date: Wed, 29 Oct 2025 08:13:11 +0100 Subject: [PATCH 1/2] ci: remove tests for eol PHP 8.0 --- .github/workflows/build.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3f67638a6..cc0a2367e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -87,7 +87,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - php: ["8.0", "8.1", "8.2", "8.3", "8.4"] + php: ["8.1", "8.2", "8.3", "8.4"] rust: [stable, nightly] clang: ["15", "17"] phpts: [ts, nts] @@ -162,12 +162,13 @@ jobs: - name: Build env: EXT_PHP_RS_TEST: "" - run: cargo build --release --features closure,anyhow,runtime --workspace ${{ matrix.php == '8.0' && '--no-default-features' || '' }} + run: cargo build --release --features closure,anyhow,runtime --workspace # Test - name: Test inline examples # Macos fails on unstable rust. We skip the inline examples test for now. if: "!(contains(matrix.os, 'macos') && matrix.rust == 'nightly')" - run: cargo test --release --workspace --features closure,anyhow,runtime --no-fail-fast ${{ matrix.php == '8.0' && '--no-default-features' || '' }} + run: cargo test --release --workspace --features closure,anyhow,runtime --no-fail-fast + test-embed: name: Test with embed runs-on: ubuntu-latest From f91975b0aa5ade70b65629ae6aff7b196dabeeeb Mon Sep 17 00:00:00 2001 From: Xenira <1288524+Xenira@users.noreply.github.com> Date: Wed, 29 Oct 2025 08:16:19 +0100 Subject: [PATCH 2/2] chore: update build warning to reflect support status of php 8.0 --- build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.rs b/build.rs index 773c4c363..21ee907c5 100644 --- a/build.rs +++ b/build.rs @@ -367,7 +367,7 @@ fn check_php_version(info: &PHPInfo) -> Result<()> { ); if version == ApiVersion::Php80 { - println!("cargo:warning=PHP 8.0 is EOL and will no longer be supported in a future release. Please upgrade to a supported version of PHP. See https://www.php.net/supported-versions.php for information on version support timelines."); + println!("cargo:warning=PHP 8.0 is EOL and is no longer supported. Please upgrade to a supported version of PHP. See https://www.php.net/supported-versions.php for information on version support timelines."); } for supported_version in version.supported_apis() {