This plugin provides rector integration for phpcq.
Extend your .phpcq.yaml.dist
configuration by adding the plugin and configuring the task:
phpcq:
plugins:
rector:
version: ^1.0
signed: false
tasks:
rector:
config:
# Set to false will enable automatic refactoring
dry-run: false
# Custom config file, defaults to rector.php
config: custom-rector.php