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
PHPDoc parsing broken (phpdoc_types_order
issue)
#5921
Comments
phpdoc_types_order
issue)
Still the same issue with 3.2.1 :( |
@keradus or @SpacePossum is there an issue open already for this one? |
Thanks for retesting! |
@drupol , would you mind to raise a fixing PR? |
I already tried but without success yet. I don't mind having a bit of help on this one. |
This is a PR that contains a failing test with a similar case: #5919 |
Still the same issue with 3.3.2: - * @var Closure(Iterator<TKey, T>): Generator<TKey, T> $callback
+ * @var Closure(Iterator<TKey, <|T>): Generator|TKey, T> $callback |
…, julienfalque) This PR was merged into the master branch. Discussion ---------- PhpdocTypesOrderFixer - Improve nested types support Fixes #5850, #5921 and replaces #5919. It also improves nested union types support. Commits ------- 0c76fe5 PhpdocTypesOrderFixer - Improve nested types support 533a934 Add failing test for #5850
fixed in #6063 |
I tried the latest ^3.1.0 on loophp/collection and I get:
I guess this is a follow-up of: #5834, #5832, #5798
The text was updated successfully, but these errors were encountered: