[Doctrine][FrameworkBundle][Serializer][Validator] Increase minimum version of type-info component #61020
+4
−4
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.
Hey there 👋
If I execute
composer update --prefer-lowest
in our project, I have a problem while checking the code with PHPStan. This is because thetype-info
component will be installed with version7.1.0
. But this version is not yet compatible withphpstan/phpdoc-parser
in version 2. This happened with7.1.8
.So my suggestion for fixing this problem is to increase the minimum version of the
type-info
component dependency in the other components, as we do not depend on thetype-info
component directly, but on theserializer
andvalidator
component instead.We are using Symfony 7.2 in our project, so I targeted the bugfix to this branch, but if it would be applicable, I can also set this to 7.1.
Thanks for having a look at this and I am looking for feedback 🙂 👍
Best regards