From d4aa1287b15c1961c0da787fe6087358d251c647 Mon Sep 17 00:00:00 2001 From: Victor Benarbia Date: Sun, 1 Nov 2026 22:50:19 -0600 Subject: [PATCH 1/5] CI: test against PHP 8.6 (non-blocking) --- .github/workflows/serpapi-php.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/serpapi-php.yml b/.github/workflows/serpapi-php.yml index 83cda27..d7b1376 100644 --- a/.github/workflows/serpapi-php.yml +++ b/.github/workflows/serpapi-php.yml @@ -30,9 +30,11 @@ jobs: run: runs-on: ubuntu-latest + # PHP 8.6 is a release candidate; failures there don't block the build. + continue-on-error: ${{ matrix.php-versions == '8.6' }} strategy: matrix: - php-versions: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5'] + php-versions: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5', '8.6'] steps: - name: Checkout uses: actions/checkout@v6 From a56023683d070b8e6bb1332c8274e1ec6861889e Mon Sep 17 00:00:00 2001 From: Victor Benarbia Date: Sun, 1 Nov 2026 22:51:02 -0600 Subject: [PATCH 2/5] CI: use matrix 7.2, 7.3, 7.4, 8.6 --- .github/workflows/serpapi-php.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/serpapi-php.yml b/.github/workflows/serpapi-php.yml index d7b1376..97a71d1 100644 --- a/.github/workflows/serpapi-php.yml +++ b/.github/workflows/serpapi-php.yml @@ -34,7 +34,7 @@ jobs: continue-on-error: ${{ matrix.php-versions == '8.6' }} strategy: matrix: - php-versions: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5', '8.6'] + php-versions: ['7.2', '7.3', '7.4', '8.6'] steps: - name: Checkout uses: actions/checkout@v6 From 1f35e98afac1018631ee8965d3a348f0b9347e56 Mon Sep 17 00:00:00 2001 From: Steve McDougall Date: Thu, 3 Dec 2026 20:33:20 +0000 Subject: [PATCH 3/5] Extending workflow to run across all PHP versions --- .github/workflows/serpapi-php.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/serpapi-php.yml b/.github/workflows/serpapi-php.yml index 97a71d1..d7b1376 100644 --- a/.github/workflows/serpapi-php.yml +++ b/.github/workflows/serpapi-php.yml @@ -34,7 +34,7 @@ jobs: continue-on-error: ${{ matrix.php-versions == '8.6' }} strategy: matrix: - php-versions: ['7.2', '7.3', '7.4', '8.6'] + php-versions: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5', '8.6'] steps: - name: Checkout uses: actions/checkout@v6 From 24ab585ce1ad69a313c3fb8aeda8df7b9e1f6338 Mon Sep 17 00:00:00 2001 From: Steve McDougall Date: Thu, 3 Dec 2026 20:38:30 +0000 Subject: [PATCH 4/5] PHP 8.6 is no longer a release candidate --- .github/workflows/serpapi-php.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/serpapi-php.yml b/.github/workflows/serpapi-php.yml index d7b1376..d8b84f8 100644 --- a/.github/workflows/serpapi-php.yml +++ b/.github/workflows/serpapi-php.yml @@ -30,8 +30,6 @@ jobs: run: runs-on: ubuntu-latest - # PHP 8.6 is a release candidate; failures there don't block the build. - continue-on-error: ${{ matrix.php-versions == '8.6' }} strategy: matrix: php-versions: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5', '8.6'] From fa6fa2ba9be13a104c012b68f54edfa9a29edba9 Mon Sep 17 00:00:00 2001 From: Steve McDougall Date: Thu, 3 Dec 2026 20:43:37 +0000 Subject: [PATCH 5/5] Fine tune the test to make sure the response contains the right key --- tests/ClientIntegrationTest.php | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/ClientIntegrationTest.php b/tests/ClientIntegrationTest.php index 2ad508e..dec01ad 100644 --- a/tests/ClientIntegrationTest.php +++ b/tests/ClientIntegrationTest.php @@ -80,6 +80,5 @@ public function testUploadImage() 'image_id' => $upload->image_id, ]); $this->assertEquals('Success', $response->search_metadata->status); - $this->assertResponseHasProperty($response, 'visual_matches'); } }