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
I know this is a PHPStan extension. However nowadays it is not uncommon for people to run both PHPStan and Psalm on a project simultaneously since the feature set is not completely equivalent. And Psalm currently does not have anything similar to the functionality of this extension.
In my project, I did this to provide support for Dibi. It may be a good starting point if someone decides to give it a shot:
It turns out that it is fairly easy to convert PHPStan types to Psalm types by calling Type::parseString($phpstanType->describe(VerbosityLevel::precise()))
The text was updated successfully, but these errors were encountered:
I know this is a PHPStan extension. However nowadays it is not uncommon for people to run both PHPStan and Psalm on a project simultaneously since the feature set is not completely equivalent. And Psalm currently does not have anything similar to the functionality of this extension.
In my project, I did this to provide support for
Dibi
. It may be a good starting point if someone decides to give it a shot:It turns out that it is fairly easy to convert PHPStan types to Psalm types by calling
Type::parseString($phpstanType->describe(VerbosityLevel::precise()))
The text was updated successfully, but these errors were encountered: