fix(frankenphp-symfony): add Symfony 8 to composer constraints#192
Open
dennismenken wants to merge 1 commit intophp-runtime:mainfrom
Open
fix(frankenphp-symfony): add Symfony 8 to composer constraints#192dennismenken wants to merge 1 commit intophp-runtime:mainfrom
dennismenken wants to merge 1 commit intophp-runtime:mainfrom
Conversation
PR php-runtime#185 ("Update Symfony package versions to include 8.0") updated the Symfony constraints for all other packages in this mono-repo but missed frankenphp-symfony — only the PHPUnit dev-dependency was bumped. The runtime uses stable Symfony interfaces (HttpKernelInterface, TerminableInterface, RunnerInterface, SymfonyRuntime) that are unchanged in Symfony 8.0, so no code changes are required.
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
PR #185 ("Update Symfony package versions to include 8.0") updated the Symfony constraints for all other packages in this mono-repo but missed
frankenphp-symfony— only the PHPUnit dev-dependency was bumped from^9.5to^10.5.58.This PR adds
|| ^8.0to the three Symfony constraints insrc/frankenphp-symfony/composer.json:symfony/dependency-injectionsymfony/http-kernelsymfony/runtimeWhy no code changes are needed
The runtime consists of two files (
Runtime.php,Runner.php) that only use stable Symfony interfaces:HttpKernelInterfaceTerminableInterfaceRunnerInterfaceSymfonyRuntimeRequestNone of these changed between Symfony 7 and 8. We have been running this package with Symfony 8.0 in production without issues.
Evidence
Comparing the diff of #185 for
frankenphp-symfonyvs other packages:frankenphp-symfony (only PHPUnit bumped):
psr-nyholm (correctly updated in same PR):