forked from wallabag/wallabag
Initial Rector fixes with basic configuration
This commit is contained in:
16
rector.php
Normal file
16
rector.php
Normal file
@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
|
||||
return RectorConfig::configure()
|
||||
->withPaths([
|
||||
__DIR__ . '/app',
|
||||
__DIR__ . '/fixtures',
|
||||
__DIR__ . '/src',
|
||||
__DIR__ . '/tests',
|
||||
__DIR__ . '/web',
|
||||
])
|
||||
->withImportNames(importShortClasses: false)
|
||||
->withTypeCoverageLevel(0);
|
||||
Reference in New Issue
Block a user