Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 501 Bytes

README.md

File metadata and controls

23 lines (18 loc) · 501 Bytes

Rector plugin for phpcq

This plugin provides rector integration for phpcq.

Configuration

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