practically / psalm-plugin-yii2
Psalm plugin for a better typed yii2 application
Installs: 73 360
Dependents: 0
Suggesters: 0
Security: 0
Stars: 9
Watchers: 3
Forks: 6
Open Issues: 8
Language:Gherkin
Type:psalm-plugin
Requires
- php: >=7.1
- vimeo/psalm: ^4.8
- yiisoft/yii2: ^2.0
Requires (Dev)
- codeception/codeception: ^4.1
- squizlabs/php_codesniffer: ^3.6
- weirdan/codeception-psalm-module: ^0.13.1
- 1.x-dev
- dev-dependabot/composer/codeception/codeception-tw-5.1
- dev-dependabot/composer/weirdan/codeception-psalm-module-tw-0.14.0
- dev-dependabot/composer/vimeo/psalm-tw-5.25
- dev-fix/10-remove-totally-typed
- dev-php-8-1
- dev-ci/actions-on-pr
- dev-fix/5
- dev-fix/prop-with-only-setters
- dev-feat/active-record-has-many
This package is auto-updated.
Last update: 2024-08-24 10:10:10 UTC
README
⚠️ No longer maintained
We've found Yii2 works quite nicely with Psalm now, so we've made the decision to archive this repository.
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