-
-
Notifications
You must be signed in to change notification settings - Fork 122
Support PHPStan/Psalm syntax and intersection types #339
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
`array<>`, `list<>`, `class-string<>`, `int<>`, `()[]`, `iterable`, `mixed`, `never`, `void`
…k\Tags\Method::getParameters()`
| =========================================== | ||
|
|
||
| 3.0.9 under development | ||
| 4.0.0 under development |
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.
There are quite a few changes that break backward compatibility, so I suggest changing it to 4.0.0.
| - Enh #337: Log invalid tags (mspirkov) | ||
| - Enh #339: Add support for PHPStan/Psalm syntax (mspirkov) | ||
| - Enh #339: Add support for intersection types (mspirkov) | ||
| - Bug #339: Fix the mechanism for replacing `static` with FQCN (mspirkov) |
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.
This mechanism already existed, but it didn't work well. You can view examples in the demo PR.
For example: https://github.com/mspirkov/yiiframework.com/pull/1/files#diff-8a9950c5cd9d026539178094cdc0d0e9898d121f72538c6489a5a5a31c0f8190
| - Enh #339: Add support for PHPStan/Psalm syntax (mspirkov) | ||
| - Enh #339: Add support for intersection types (mspirkov) | ||
| - Bug #339: Fix the mechanism for replacing `static` with FQCN (mspirkov) | ||
| - Bug #339: Fix processing of multidimensional arrays (mspirkov) |
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.
Multidimensional arrays were processed, but no links were created. You can view examples in the demo PR.
For example: https://github.com/mspirkov/yiiframework.com/pull/1/files#diff-7acb57053cdcc5e391d9abe74d134e2514b83a5ec83afb891afac1d936298584
|
🔥 |
Video: https://skrinshoter.ru/vYmVVoDTxOS
Demo PR: mspirkov/yiiframework.com#1
Here you can see what has changed since 3.0.8.