forked from wallabag/wallabag
Add root files to Rector configuration
This commit is contained in:
@ -13,6 +13,7 @@ return RectorConfig::configure()
|
|||||||
__DIR__ . '/tests',
|
__DIR__ . '/tests',
|
||||||
__DIR__ . '/web',
|
__DIR__ . '/web',
|
||||||
])
|
])
|
||||||
|
->withRootFiles()
|
||||||
->withImportNames(importShortClasses: false)
|
->withImportNames(importShortClasses: false)
|
||||||
->withAttributesSets(doctrine: true)
|
->withAttributesSets(doctrine: true)
|
||||||
->withConfiguredRule(ClassPropertyAssignToConstructorPromotionRector::class, [
|
->withConfiguredRule(ClassPropertyAssignToConstructorPromotionRector::class, [
|
||||||
|
|||||||
Reference in New Issue
Block a user