add celebrity level config

This commit is contained in:
Tomas Votruba 2019-02-23 01:14:01 +01:00
parent 945291a960
commit 47a4267846
2 changed files with 9 additions and 2 deletions

View File

@ -0,0 +1,7 @@
services:
# <> → !=
Rector\Celebrity\Rector\NotEqual\CommonNotEqualRector: ~
Rector\Rector\Function_\FunctionReplaceRector:
split: 'explode'
join: 'implode'

View File

@ -1,6 +1,6 @@
# run "bin/rector create" to create a new Rector + tests from this config
package: "CodeQuality"
name: "SimplifyMirrorAssignRector"
package: "Celebrity"
name: "SplitToExplodeRector"
node_types:
- "Assign" # put main node first