-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[PropertyInfo] PhpStan FQSEN error #44431
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
Comments
This bug is actual and not fixed in #44430 |
Could you share what is your issue and how to reproduce it maybe ? This bug was fixed and there is a test in the PR to show how I fixed it. Maybe you found a different bug or a new way to get the same issue ? |
I have exactly the same case as @vlastv. In your test, the full namespace is indicated, but here is the relative one. The problem is with inheritance in another namespace |
Are you sure you are up-to-date ? |
Yes, i ran this code on version property-info v5.4.3
|
@isypov-andrey Please open a new issue and provide an example project that allows to reproduce your issue. Thanks! |
Please provide an example application that allows to reproduce and we can consider to reopen. |
Thanks for the reproducer, I'll try to fix it as soon as possible. |
I think I found the issue and fixed it, could you take a look on the linked pull request @isypov-andrey ? |
@Korbeil PR solves the problem, thanks for the quick fix! |
…(Korbeil) This PR was merged into the 5.4 branch. Discussion ---------- [PropertyInfo] PhpStanExtractor namespace missmatch issue | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | Fix #44431 | License | MIT | Doc PR | N/A Thanks to `@isypov`-andrey report, we found out an issue with namespace matching and the PhpStanExtractor. In this PR I'm fixing this issue. - [x] Test to validate the issue - [x] Fix Commits ------- d46b676 [PropertyInfo] PhpStanExtractor namespace missmatch issue
Symfony version(s) affected
5.4, 6.*
Description
PhpStanExtractor incorrect detect class with different namespace. PhpDocExtractor work correct.
#40457
How to reproduce
Possible Solution
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: