Issue #3597251: Drupal 12 and PHP 8.5 compatibility

Builds on the Project Update Bot changes (cherry-picked from MR !14, authorship preserved) and the #3536828 fix.

  • Core constraint now allows Drupal 12 (^10.1 || ^11 || ^12).
  • Requires hussainweb/drupal-api-client ^2.3 (psr7 3 / Guzzle 8) and drops php-http/guzzle7-adapter; the Drupal @http_client is passed directly since Guzzle implements PSR-18. This also resolves #3565097.
  • Tests: static data providers, PHPUnit attributes, no deprecated Symfony validator calls, stubs where no expectations are set.
  • setup_dev.sh builds a DDEV site on PHP 8.5 with Drupal 11 or 12 (SQLite).

Tested locally on Drupal 11 and 12.0.0-beta2 with PHP 8.5: phpunit, phpcs and phpstan pass.

Merge request reports

Loading
Loading