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-yii2
Clone 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 test
This library uses Practically coding standards and squizlabs/php_codesniffer
for linting. There is a composer script for this:
composer run-script cs:check
Before you create a pull request with you changes, the pre-commit script must pass. That can be run as follows:
composer run-script pre-commit
This package is created and maintained by Practically.io