Skip to content

feat(deps): support Symfony 8#68

Merged
tigitz merged 1 commit into
masterfrom
feature/symfony-8-support
May 17, 2026
Merged

feat(deps): support Symfony 8#68
tigitz merged 1 commit into
masterfrom
feature/symfony-8-support

Conversation

@tigitz

@tigitz tigitz commented May 17, 2026

Copy link
Copy Markdown
Owner

Summary

Adds Symfony 8.x to the supported dependency range. Symfony 8.0 was released October 2025 and requires PHP 8.4+; this library's lower bound stays at PHP 8.2 since Composer's platform check filters Symfony 8 out for users below PHP 8.4.

Changes

  • composer.json:
    • require: symfony/process: ^6.4 | ^7^6.4 | ^7 | ^8
    • require-dev: symfony/filesystem, symfony/finder, symfony/http-client: ^5 |^6 | ^7^5 |^6 | ^7 | ^8

Resolution behavior

  • PHP 8.4+ → Composer resolves to Symfony 8.0.x (or older if the consumer app pins lower).
  • PHP 8.2/8.3 → Composer resolves to Symfony 7.x or 6.4 (Symfony 8 is filtered by its php >= 8.4 constraint).

Test plan

  • PHP_VERSION=8.5 make tests with Symfony 8.0.11/8.0.8/8.0.9 → 94/94 tests pass
  • PHP_VERSION=8.5 make phpstan → 0 errors
  • PHP_VERSION=8.5 make examples-test → all spellcheckers run cleanly
  • PHP_VERSION=8.2 DEPS_STRATEGY=--prefer-lowest make tests → 94/94 (resolved to Symfony 6.4 / 5.0)
  • PHP_VERSION=8.2 make phpstan → 0 errors

Not changed

  • CI matrix unchanged — the existing 8.5 prefer-stable job automatically picks up Symfony 8.
  • No code change required; existing tests cover the Symfony API surface used by the library.

Add `| ^8` to symfony/process (require) and symfony/filesystem,
symfony/finder, symfony/http-client (require-dev).

Symfony 8.0 requires PHP 8.4+, so users on PHP 8.2/8.3 will continue
to resolve Symfony 7.x or 6.4 via Composer's platform check. The
library's lower bound stays at PHP 8.2.

Tested with PHP 8.5.6 + Symfony 8.0.x (prefer-stable) and PHP 8.2.31
with Symfony 6.4/5.x (prefer-lowest): 94/94 tests pass, zero PHPStan
errors, examples run cleanly.
@tigitz tigitz merged commit b9f5722 into master May 17, 2026
6 checks passed
@tigitz tigitz deleted the feature/symfony-8-support branch May 17, 2026 14:02
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.

1 participant