Create bin that calls the phar
fprochazka opened this issue · 2 comments
fprochazka commented
Providing the .phar as composer bin directly is bad, because the phar appears in project two times and PhpStorm is confused from it, and claims duplicated classes.
There should be a phpstan binary (that actually calls the phar), that can be safely symlinked.
TomasVotruba commented
How would you differentiate between normal vendor/bin/phpstan and this one if they'd share a name?
ondrejmirtes commented
Solved in 0.9.1 thanks to @JanTvrdik #10 .