Skip to content

Widen cebe/php-openapi to ^1.7 for PHP 8.5 / Symfony 8 support - #225

Merged
hotmeteor merged 1 commit into
masterfrom
widen-cebe-openapi-constraint
Aug 23, 2026
Merged

Widen cebe/php-openapi to ^1.7 for PHP 8.5 / Symfony 8 support#225
hotmeteor merged 1 commit into
masterfrom
widen-cebe-openapi-constraint

Conversation

@hotmeteor

Copy link
Copy Markdown
Owner

Summary

  • Widen cebe/php-openapi constraint from ^1.8^1.7. The devizzent fork declares replace: {cebe/php-openapi: 1.7.0}, so downstream users on PHP 8.5 / Symfony 8 can composer require devizzent/cebe-php-openapi to escape the upstream symfony/yaml ^7 cap and implicit-nullable deprecations, while everyone else keeps resolving upstream cebe 1.8.0. Spectator only touches classes present in both packages, so no code change is needed.
  • Add PHP 8.5 to the tests CI matrix.

Closes #224

Test plan

  • phpunit (260 tests) passes on PHP 8.4 with upstream cebe 1.8.0
  • phpunit (260 tests) passes on PHP 8.4 with devizzent/cebe-php-openapi 1.1.5 (verified via a temporary composer require)
  • Verified in a scratch project that cebe/php-openapi: ^1.7 + devizzent/cebe-php-openapi: ^1.1 resolves to the fork and pulls symfony/yaml v8.1.5
  • phpstan clean
  • CI green on PHP 8.3 / 8.4 / 8.5 × Laravel 12 / 13

🤖 Generated with Claude Code

https://claude.ai/code/session_011zRSy9QqthUcMpLQUKCqgP

Upstream cebe/php-openapi 1.8.0 caps symfony/yaml at ^7 and emits
implicit-nullable deprecations on PHP 8.5. Widening to ^1.7 lets
Symfony 8 / PHP 8.5 users opt into devizzent/cebe-php-openapi (which
declares replace: {cebe/php-openapi: 1.7.0}) without forcing the fork
on everyone else — Spectator only touches classes present in both.

Closes #224

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011zRSy9QqthUcMpLQUKCqgP
@hotmeteor
hotmeteor merged commit 4fa43f5 into master Aug 23, 2026
7 checks passed
@hotmeteor
hotmeteor deleted the widen-cebe-openapi-constraint branch August 23, 2026 15:25
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.

switch from cebe/php-openapi back to devizzent fork

1 participant