Skip to content

Update API Client for Guzzle 8 and QA PHP 3 - #16

Merged
lennartvava merged 1 commit into
developfrom
feature/guzzle-qaphp-update
Sep 18, 2026
Merged

lennartvava merged 1 commit into
developfrom
feature/guzzle-qaphp-update

Conversation

@lennartvava

Copy link
Copy Markdown
Contributor

Summary

Updates digipolisgent/api-client for Drupal 12-compatible dependency resolution and modernizes its QA tooling.

Changes

  • Added Guzzle 8 support:

    • Updated guzzlehttp/guzzle from ^6.5 || ^7.0 to ^6.5 || ^7.0 || ^8.0.
    • Allows Drupal 12 consumers to resolve Guzzle PSR-7 3.x through Guzzle 8.
    • Retains compatibility with existing Guzzle 6 and 7 consumers.
  • Updated QA tooling:

    • Updated district09/qa-php from ^2.2 to ^3.1.
    • Added PHP 8.5 to the GitHub Actions matrix.
    • Uses QA PHP’s shared, version-aware PHPUnit configuration.
    • Supports PHPUnit 11.5 and 12.5 through QA PHP.
  • Simplified PHPUnit configuration:

    • Removed the package-local phpunit.xml.
    • Updated composer phpunit and composer coverage to run QA PHP’s GrumPHP test suite.
    • PHPUnit configuration is now generated automatically by QA PHP with the correct schema for the installed PHPUnit version.
  • Updated documentation:

    • Refreshed package requirements and Guzzle compatibility information.
    • Updated testing instructions for QA PHP 3.1.
    • Documented automatic PHPUnit configuration and coverage output.
    • Replaced obsolete Travis CI badges with GitHub Actions badges.
    • Corrected the license link.
    • Added 4.2.0 changelog notes and release comparison link.

Verification

  • Composer validation passed.
  • Composer normalization passed.
  • PHPUnit 12.5 passed: 26 tests, 44 assertions.
  • Generated QA PHP PHPUnit configuration uses the PHPUnit 12.5 schema.
  • Diff whitespace validation passed.

Release

This is intended for API Client 4.2.0.

@github-actions

github-actions Bot commented Sep 17, 2026

Copy link
Copy Markdown

Coverage report for commit: a83b544
File: build/logs/clover.xml

Summary - Lines: 77.21% | Methods: 90.24%
FilesLinesMethodsBranches
src/Client
   AbstractClient.php71.88%83.33%100.00%
src/Client/Token
   OidcTokenProvider.php--100.00%

🤖 comment via lucassabreu/comment-coverage-clover

@github-actions

Copy link
Copy Markdown

Coverage report for commit: 3317bb6
File: build/logs/clover.xml

Summary - Lines: 77.21% | Methods: 90.24%
FilesLinesMethodsBranches
src/Client
   AbstractClient.php71.88%83.33%100.00%
src/Client/Token
   OidcTokenProvider.php--100.00%

🤖 comment via lucassabreu/comment-coverage-clover

@lennartvava
lennartvava force-pushed the feature/guzzle-qaphp-update branch from 3317bb6 to a83b544 Compare September 17, 2026 15:35
@lennartvava
lennartvava merged commit d2f0c44 into develop Sep 18, 2026
3 checks passed
@lennartvava
lennartvava deleted the feature/guzzle-qaphp-update branch September 18, 2026 07:00
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.

2 participants