-
Notifications
You must be signed in to change notification settings - Fork 5
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
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.