mirror of
https://github.com/rectorphp/rector.git
synced 2025-04-22 16:32:27 +02:00
add celebrity level config
This commit is contained in:
parent
945291a960
commit
47a4267846
7
config/level/celebrity/celebrity.yaml
Normal file
7
config/level/celebrity/celebrity.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
services:
|
||||
# <> → !=
|
||||
Rector\Celebrity\Rector\NotEqual\CommonNotEqualRector: ~
|
||||
|
||||
Rector\Rector\Function_\FunctionReplaceRector:
|
||||
split: 'explode'
|
||||
join: 'implode'
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user