rector/config/level/nikic/php-parser40.yml
2018-08-03 09:12:54 +02:00

26 lines
980 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:
$perClassOldToNewProperties:
'PhpParser\Node\Stmt\Class_':
'type': 'flags'
'PhpParser\Node\Stmt\ClassMethod':
'type': 'flags'
'PhpParser\Node\Stmt\Property':
'type': 'flags'
Rector\Rector\Constant\ClassConstantReplacerRector:
$oldToNewConstantsByClass:
'PhpParser\Node\Stmt\Class_':
'VISIBILITY_MODIFER_MASK': 'VISIBILITY_MODIFIER_MASK'
Rector\Rector\Class_\ClassReplacerRector:
$oldToNewClasses:
'PhpParser\BuilderAbstract': 'PhpParser\Builder'