Skip to content

ci: add PHP AI Client PHPUnit matrix - #40

Merged
jeffpaul merged 2 commits into
trunkfrom
ci/php-ai-client-phpunit-matrix
Aug 17, 2026
Merged

jeffpaul merged 2 commits into
trunkfrom
ci/php-ai-client-phpunit-matrix

Conversation

@superdav42

Copy link
Copy Markdown
Member

Summary

  • set PHP AI Client 1.3.1, bundled with WordPress 7.0, as the supported development baseline
  • add PHPUnit coverage proving Google provider availability can be created with that baseline
  • add a pull-request matrix across PHP 7.4–8.4 and lowest/latest compatible dependencies
  • include tests in PHPCS and resolve existing violations exposed by current quality tooling

This provides executable evidence for the compatibility concern discussed in #28: ListModelsApiBasedProviderAvailability is present and usable with the WordPress 7.0 client baseline, so a fallback implementation is unnecessary.

Verification

  • composer lint
  • composer test — 1 test, 2 assertions
  • composer validate --no-check-publish --no-interaction
  • composer audit --no-interaction --no-ansi
  • PHPUnit passes with both PHP AI Client 1.3.1 and 1.4.0 locally

Ref #28

@superdav42
superdav42 requested a review from a team August 16, 2026 06:57
@github-actions

github-actions Bot commented Aug 16, 2026 •

Copy link
Copy Markdown

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: superdav42 <superdav42@git.wordpress.org>
Co-authored-by: jeffpaul <jeffpaul@git.wordpress.org>
Co-authored-by: dkotter <dkotter@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@jeffpaul
jeffpaul requested a review from dkotter August 17, 2026 17:58
@jeffpaul jeffpaul added this to the 1.3.0 milestone Aug 17, 2026
@dkotter dkotter modified the milestones: 1.3.0, 1.2.0 Aug 17, 2026
@jeffpaul
jeffpaul merged commit 726500d into trunk Aug 17, 2026
13 checks passed
@jeffpaul
jeffpaul deleted the ci/php-ai-client-phpunit-matrix branch August 17, 2026 20:09
@saarnilauri saarnilauri mentioned this pull request Sep 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants