-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Doctrine][FrameworkBundle][Serializer][Validator] Increase minimum version of type-info component #61020
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Hey! I see that this is your first PR. That is great! Welcome! Symfony has a contribution guide which I suggest you to read. In short:
Review the GitHub status checks of your pull request and try to solve the reported issues. If some tests are failing, try to see if they are failing because of this change. When two Symfony core team members approve this change, it will be merged and you will become an official Symfony contributor! I am going to sit back now and wait for the reviews. Cheers! Carsonbot |
not sure, if the Psalm issues are related to my change 🤔 |
@mitelg, psalm errors aren't related 🙂 |
Thank you @mitelg. |
thanks for merging 👍 |
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