magdv / psalm-plugin-yii2
Psalm plugin for a better typed yii2 application
Installs: 3 040
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 6
Language:Gherkin
Type:psalm-plugin
Requires
- php: >=7.1
- vimeo/psalm: ^4.8 || ^5.12
- yiisoft/yii2: ^2.0
Requires (Dev)
- codeception/codeception: ^4.1
- squizlabs/php_codesniffer: ^3.6
- weirdan/codeception-psalm-module: ^0.13.1
Replaces
README
Installation
The preferred method is with composer.
composer require practically/psalm-plugin-yii2
Contributing
Getting set up
Clone the repo and run composer install
.
Then start hacking!
Testing
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
Coding Standards
This library uses Practically coding standards and squizlabs/php_codesniffer
for linting. There is a composer script for this:
composer run-script cs:check
Pull Requests
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
Credits
This package is created and maintained by Practically.io