Content-Length: 298023 | pFad | http://github.com/symfony/symfony/pull/61020

38 [Doctrine][FrameworkBundle][Serializer][Validator] Increase minimum version of type-info component by mitelg · Pull Request #61020 · symfony/symfony · GitHub
Skip to content

[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

Open
wants to merge 1 commit into
base: 7.2
Choose a base branch
from

Conversation

mitelg
Copy link

@mitelg mitelg commented Jul 2, 2025

Q A
Branch? 7.2
Bug fix? yes
New feature? no
Deprecations? no
Issues n/a
License MIT

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 the type-info component will be installed with version 7.1.0. But this version is not yet compatible with phpstan/phpdoc-parser in version 2. This happened with 7.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 the type-info component directly, but on the serializer and validator 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

@mitelg mitelg requested a review from dunglas as a code owner July 2, 2025 08:43
@carsonbot carsonbot added this to the 7.2 milestone Jul 2, 2025
@carsonbot
Copy link

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:

  • Always add tests
  • Keep backward compatibility (see https://symfony.com/bc).
  • Bug fixes must be submitted against the lowest maintained branch where they apply (see https://symfony.com/releases)
  • Features and deprecations must be submitted against the 7.4 branch.

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!
If this PR is merged in a lower version branch, it will be merged up to all maintained branches within a few days.

I am going to sit back now and wait for the reviews.

Cheers!

Carsonbot

@mitelg
Copy link
Author

mitelg commented Jul 2, 2025

not sure, if the Psalm issues are related to my change 🤔

@carsonbot carsonbot changed the title chore: Increase minimum version of type-info component [Doctrine][FrameworkBundle][Serializer][Validator] chore: Increase minimum version of type-info component Jul 2, 2025
@OskarStark OskarStark changed the title [Doctrine][FrameworkBundle][Serializer][Validator] chore: Increase minimum version of type-info component [Doctrine][FrameworkBundle][Serializer][Validator] Increase minimum version of type-info component Jul 2, 2025
@OskarStark OskarStark requested a review from mtarld July 2, 2025 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/symfony/symfony/pull/61020

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy