-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[PropertyInfo] Fix interface handling in PhpStanTypeHelper
#59012
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
Actually, this fix seems to be valid even for 6.4, should I rebase? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please submit another PR for 6.4: this will help with merging up.
src/Symfony/Component/PropertyInfo/Tests/Extractor/PhpStanExtractorTest.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/PropertyInfo/Tests/Extractor/PhpStanExtractorTest.php
Outdated
Show resolved
Hide resolved
PhpStanTypeHelper
Will do that once this is approved. |
@janedbal Can you open the PR targeting 6.4? |
@xabbuh Sure, but it does not affect mergeability here, right? |
@janedbal, the 6.4 changes will be upmerged up to 7.3, therefore this 7.1 PR will become useless. |
Looks like we misunderstood each other, so I just rebase it to 6.4. No need for another MR, right? |
If there is not much difference between the branches, rebasing the PR on 6.4 should be enough. Having a different PR for 7.1 would only be useful if there are conflicts to be expected when merging up which would then serve as a reference for us to ease resolving the conflicts. |
a56d730
to
36f4d3f
Compare
Rebased and changed base branch to |
Is this mergeable now? Or are we waiting for code-owner approve? Or? |
36f4d3f
to
88e7a72
Compare
Thank you @janedbal. |
Thank you! |
…Helper (mtarld) This PR was merged into the 7.1 branch. Discussion ---------- [PropertyInfo] [7.1] Fix interface handling in PhpStanTypeHelper | Q | A | ------------- | --- | Branch? | 7.1 | Bug fix? | yes | New feature? | no | Deprecations? | no | Issues | | License | MIT Upmerge #59012 up to 7.1 Commits ------- 65b370e [PropertyInfo] Upmerge #59012
* 7.1: Fix resolve enum in string type resolver [PropertyInfo] Upmerge #59012 [BeanstalkMessenger] Round delay to an integer to avoid deprecation warning [PropertyInfo] Fix interface handling in `PhpStanTypeHelper` [HttpClient] Test POST to GET redirects [HttpKernel] Denormalize request data using the csv format when using "#[MapQueryString]" or "#[MapRequestPayload]" (except for content data) fix: preserve and nowrap in profiler code highlighting
* 7.2: Bump Symfony version to 7.2.2 Fix resolve enum in string type resolver Update VERSION for 7.2.1 Update CHANGELOG for 7.2.1 [PropertyInfo] Upmerge #59012 [BeanstalkMessenger] Round delay to an integer to avoid deprecation warning [Console] Fix tests [PropertyInfo] Fix interface handling in `PhpStanTypeHelper` [TypeInfo] Remove useless dependency [HttpClient] Test POST to GET redirects [TypeInfo] Fix outdated README [HttpKernel] Denormalize request data using the csv format when using "#[MapQueryString]" or "#[MapRequestPayload]" (except for content data) [TypeInfo] Fix handle nullable with mixed fix: preserve and nowrap in profiler code highlighting
Previously, deserializing object with
Interface<T>
property was failing on undefined array key inPhpStanTypeHelper
(genericClazz<T>
works just fine):