We've found Yii2 works quite nicely with Psalm now, so we've made the decision to archive this repository.
The preferred method is with composer.
composer require practically/psalm-plugin-yii2Clone the repo and run composer install.
Then start hacking!
All new features of bug fixes must be tested. Testing is with phpunit and can be run with the following command:
composer run-script testThis library uses Practically coding standards and squizlabs/php_codesniffer
for linting. There is a composer script for this:
composer run-script cs:checkBefore you create a pull request with you changes, the pre-commit script must pass. That can be run as follows:
composer run-script pre-commitThis package is created and maintained by Practically.io