Repository navigation
Conversation
symfony/console was limited to 7.x, so applications using this package could not move to Symfony 8 components. The test suite and PHPStan pass unchanged with symfony/console 8.1 on PHP 8.4, so allow ^7.0 || ^8.0. symfony/error-handler was a hard dependency only for an instanceof check in Application::execute(), which is safe when the class is missing. Move it to require-dev and suggest. Also add prefer-stable next to minimum-stability dev, and let PHPStan analyse for PHP 8.3, the minimum version the package requires. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Author
|
Approved. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary of Changes
Dependency and tooling updates:
symfony/consolewas constrained to^v7.0.0, so applications using this package could not move to Symfony 8 components. The constraint is now^7.0 || ^8.0. Symfony 8 requires PHP 8.4, so on PHP 8.3 Composer keeps resolving 7.x.symfony/error-handleroptional: it was a hard dependency only for theinstanceof ErrorHandlercheck inApplication::execute(), which is safe when the class does not exist. It moves torequire-dev(PHPStan needs it) andsuggest. Projects that use Symfony'sErrorHandlerthemselves and only got it through this package need to require it directly — the docs say so.prefer-stable: truenext tominimum-stability: dev, so dev versions are only picked where nothing stable fits.phpVersion: 80300instead of80100; the package requires PHP 8.3.Testing Instructions
composer.json,composer updateinstallssymfony/console8.1.11 andsymfony/error-handler8.1.10; the unchanged test suite passes (45 tests) and PHPStan reports no errors.^7.0.Documentation Changes Required
docs/overview.md: a paragraph on Symfony 7/8 support and the now optionalsymfony/error-handler.🤖 Generated with Claude Code