tarjei / rector-move-property-into-class

Quick repo for a custom rector rule.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rector-move-property-into-class

Quick repo for a custom rector rule.

usage

Copy the rules directory into your own project f.x. into rector/rules and adjust the autoload settings like this:

{
 "autoload": {
    "psr-4": {
      "App\\": "src/",
      "Rector\\ParameterAnnotation\\": "rector/rules/ParameterAnnotation",
      "Rector\\Tests\\ParameterAnnotation\\": "rector/rules-tests/ParameterAnnotation",
    }
  },
}

About

Quick repo for a custom rector rule.

License:MIT License


Languages

Language:PHP 100.0%