You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In 7.3 type info crashes when it encounters a doc block referencing other types.
The types are only for PHPStan or IDE auto completion and shouldn't have any significance to Symfony. The error occurs in a live component that has a service injected with such annotations.
This PR was merged into the 7.3 branch.
Discussion
----------
[TypeInfo] Fix type alias resolving
| Q | A
| ------------- | ---
| Branch? | 7.3
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Issues | Fixes#60598, fixes#60657
| License | MIT
Take other type aliases into account when resolving type aliases, no matter the order they're defined.
Commits
-------
b778a80 [TypeInfo] Fix type alias resolving
Symfony version(s) affected
7.3.0
Description
In 7.3 type info crashes when it encounters a doc block referencing other types.
The types are only for PHPStan or IDE auto completion and shouldn't have any significance to Symfony. The error occurs in a live component that has a service injected with such annotations.
How to reproduce
Have type info parse the doc block of this class:
Possible Solution
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: