mu-se / yii2-rector-rules
Collection of rector rules
Installs: 17 370
Dependents: 0
Suggesters: 0
Security: 0
Stars: 8
Watchers: 2
Forks: 0
Open Issues: 0
Requires (Dev)
- phpstan/extension-installer: ^1.2
- phpstan/phpstan: ^1.9
- phpstan/phpstan-webmozart-assert: ^1.2
- phpunit/phpunit: ^10.0
- rector/phpstan-rules: ^0.6.5
- rector/rector-debugging: dev-main
- rector/rector-generator: ^0.6.14
- rector/rector-src: ^0.15.12
- squizlabs/php_codesniffer: ^3.7
- symplify/easy-ci: 11.2.0.72
- symplify/easy-coding-standard: ^11.2
- symplify/monorepo-builder: 11.2.2.72
- symplify/phpstan-extensions: ^11.1
- symplify/phpstan-rules: 11.2.3.72
- symplify/rule-doc-generator: ^11.2
- symplify/vendor-patches: 11.2.0.72
- yiisoft/yii2: ^2.0
This package is not auto-updated.
Last update: 2024-12-18 20:17:37 UTC
README
Rule's list
Useful commands
Composer install
docker run --rm --interactive --tty --volume "$PWD":/app composer install
Run tests
docker run -it --rm --name my-running-script -v "$PWD":/usr/src/myapp -w /usr/src/myapp php:8.1-cli vendor/bin/phpunit
Run phpstan
docker run -it --rm --name my-running-script -v "$PWD":/usr/src/myapp -w /usr/src/myapp php:8.1-cli vendor/bin/phpstan analyse -c phpstan.neon
Run fixer
docker run -it --rm --name my-running-script -v "$PWD":/usr/src/myapp -w /usr/src/myapp php:8.1-cli vendor/squizlabs/php_codesniffer/bin/phpcbf --standard=PSR12 --extensions=php --ignore=./vendor/ -p ./
Regenerate docs for rules
docker run -it --rm --name my-running-script -v "$PWD":/usr/src/myapp -w /usr/src/myapp php:8.1-cli vendor/bin/rule-doc-generator generate src --output-file RULES.md --ansi