stickee / rector-config
v3.0.0
2024-07-18 15:45 UTC
Requires
- php: ^8.3
- driftingly/rector-laravel: ^1.2.0
- rector/rector: ^1.1.1
README
为 stickee 项目提供Rector 配置。
安装
mkdir -p tools/rector composer require --working-dir=tools/rector stickee/rector-config cp tools/rector/vendor/stickee/rector-config/dist/rector.php rector.php
您必须提交这个新目录和 rector.php
配置文件。
使用方法
tools/rector/vendor/bin/rector process # refactors code tools/rector/vendor/bin/rector process --dry-run # shows you what it would do