rector/config/level/nikic/php-parser40.yml
2018-10-06 09:26:35 +08:00

23 lines
846 B
YAML

services:
Rector\PhpParser\Rector\IdentifierRector: ~
Rector\PhpParser\Rector\ParamAndStaticVarNameRector: ~
Rector\PhpParser\Rector\CatchAndClosureUseNameRector: ~
Rector\PhpParser\Rector\SetLineRector: ~
Rector\PhpParser\Rector\RemoveNodeRector: ~
Rector\PhpParser\Rector\UseWithAliasRector: ~
Rector\Rector\Property\PropertyNameReplacerRector:
'PhpParser\Node\Stmt\Class_':
'type': 'flags'
'PhpParser\Node\Stmt\ClassMethod':
'type': 'flags'
'PhpParser\Node\Stmt\Property':
'type': 'flags'
Rector\Rector\Constant\ClassConstantReplacerRector:
'PhpParser\Node\Stmt\Class_':
'VISIBILITY_MODIFER_MASK': 'VISIBILITY_MODIFIER_MASK'
Rector\Rector\Class_\ClassReplacerRector:
'PhpParser\BuilderAbstract': 'PhpParser\Builder'