Use PHPStan-specific annotations when using PHPStan alias types#60
Use PHPStan-specific annotations when using PHPStan alias types#60
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
✅ All tests successful. No failed tests found. Additional details and impacted files@@ Coverage Diff @@
## main #60 +/- ##
=========================================
Coverage 87.74% 87.74%
Complexity 197 197
=========================================
Files 1 1
Lines 506 506
=========================================
Hits 444 444
Misses 62 62 ☔ View full report in Codecov by Sentry. |
|
The PR title is misleading. Phpstan types already work, but the way how they're specified breaks other stuff. I'd suggest rename to |
|
@uuf6429 I assume it's because of "other" IDE then PhpStorm? because PS does understand this type tags |
|
Psalm actually knows about phpstan type aliases (if the type used in them is supported by psalm, as it converts it to a psalm type alias). However, some other tools don't support it (for instance, |
No description provided.