Commit a6102d2
committed
bug symfony#61020 [Doctrine][FrameworkBundle][Serializer][Validator] Increase minimum version of type-info component (mitelg)
This PR was merged into the 7.2 branch.
Discussion
----------
[Doctrine][FrameworkBundle][Serializer][Validator] Increase minimum version of type-info component
| 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
<!--
🛠️ Replace this text with a concise explanation of your change:
- What it does and why it's needed
- A simple example of how it works (include PHP, YAML, etc.)
- If it modifies existing behavior, include a before/after comparison
Contributor guidelines:
- ✅ Add tests and ensure they pass
- 🐞 Bug fixes must target the **lowest maintained** branch where they apply
https://symfony.com/releases#maintained-symfony-branches
- ✨ New features and deprecations must target the **feature** branch
and must add an entry to the changelog file of the patched component:
https://symfony.com/doc/current/contributing/code/conventions.html#writing-a-changelog-entry
- 🔒 Do not break backward compatibility:
https://symfony.com/bc
-->
Commits
-------
732f781 chore: Increase minimum version of type-info componentFile tree
4 files changed
+4
-4
lines changed- src/Symfony
- Bridge/Doctrine
- Bundle/FrameworkBundle
- Component
- Serializer
- Validator
4 files changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
0 commit comments