rector/create-rector.yml.dist

11 lines
348 B
Plaintext
Raw Normal View History

2018-10-23 18:57:56 +02:00
package: "CodeQuality"
name: "SimplifyMirrorAssignRector"
node_types:
2018-10-23 18:57:56 +02:00
- "Assign" # put main node first
2018-10-23 18:57:56 +02:00
description: "Removes unneeded $a = $a assigns"
code_before: "$a = $a;"
code_after: ""
source: "" # e.g. link to RFC or headline in upgrade guide, 1 or more in the list
2018-10-23 18:57:56 +02:00
level: "" # e.g. symfony30.yml, target config to append this rector to