This repository has been archived by the owner on Dec 9, 2019. It is now read-only.
Thank you for using PHPStan!
Read more about the latest release here!
With the release of PHPStan 0.12, the primary Composer package used by most users,
phpstan/phpstan
, has switched to a PHAR file. It works the same way as phpstan-shim
.
The need for a separate PHAR distribution has ceased.
Package phpstan/phpstan-shim
is no longer needed.
You should upgrade to phpstan/phpstan
0.12 with the following steps:
- In your composer.json, rewrite line with
"phpstan/phpstan-shim"
to"phpstan/phpstan": "^0.12"
. - Delete your
composer.lock
. - Delete
vendor/phpstan
directory. - Delete
vendor/bin/phpstan
andvendor/bin/phpstan.phar
. - Run composer install.
If you have any problem upgrading, don't hesitate to describe your issue at:
https://github.com/phpstan/phpstan/issues/new/choose