stickee / rector-config
Installs: 8 198
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 3
Requires
- php: ^8.1
- driftingly/rector-laravel: ^0.26.2
- rector/rector: ^0.18.13
This package is auto-updated.
Last update: 2024-04-14 15:14:08 UTC
README
Provides a Rector config for stickee projects.
Installation
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
You must commit this new directory and the rector.php
config file.
Why do we install Rector into its own directory?
Usage
tools/rector/vendor/bin/rector process # refactors code tools/rector/vendor/bin/rector process --dry-run # shows you what it would do