Fix return types for PHP 8.1 #42260
Fix return types for PHP 8.1 #42260
Conversation
derrabus
commented
Jul 26, 2021
|
9c45520
to
38d60d1
Did you use some tool to generate this? It'd be cool to document how we did so that others can do the same I their libs. |
...ridge/Doctrine/Tests/Validator/Constraints/UniqueEntityValidatorTest.php
Show resolved
Hide resolved
No, this was manual work. I used PhpStorm to find all implementations of |
Would be nice if that did not have to be the case. CC @TomasVotruba |
@sebastianbergmann Depends how much time it took to do. If its < 30 minutes, than automation would take longer. |
I was definitely faster than 30 min. |
Sorry for the noise. |
@sebastianbergmann Thanks for the ping. If this would be something that every Symfony user has to change in their projects too, saved times is enourmous. |
38d60d1
to
1e171ca
This comment has been hidden.
This comment has been hidden.
@wouterj This PR already includes that change. Code reviews welcome. |
Oh, missed that. Looks good! |
1b6624b
to
3eca446
@symfony/mergers Merging this PR would remove some noise from our CI. Any objections against it? |
Im happy with this PR. I dont know if this is complete or not. But if we missed some iterator we can fix them in a follow up PR. |
5b1fc10
into
symfony:4.4
Thanks everyone. |
Follow-up for the 5.3 branch: #42379 |
This PR was merged into the 5.3 branch. Discussion ---------- Fix return types for PHP 8.1 | Q | A | ------------- | --- | Branch? | 5.3 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | #41552 | License | MIT | Doc PR | N/A Follow-up of #42260. Commits ------- ab3c43f Fix return types for PHP 8.1