36 lines
871 B
PHP
36 lines
871 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use Rector\Config\RectorConfig;
|
|
|
|
return RectorConfig::configure()
|
|
->withPaths([
|
|
__DIR__ . '/classes',
|
|
__DIR__ . '/interfaces',
|
|
__DIR__ . '/traits',
|
|
__DIR__ . '/objects',
|
|
__DIR__ . '/modules',
|
|
__DIR__ . '/routes',
|
|
__DIR__ . '/statistics',
|
|
__DIR__ . '/tests/Unit',
|
|
__DIR__ . '/tests/Integration',
|
|
__DIR__ . '/tests/Api',
|
|
])
|
|
->withBootstrapFiles([
|
|
__DIR__ . '/vendor/autoload.php',
|
|
])
|
|
->withSkip([
|
|
__DIR__ . '/build',
|
|
__DIR__ . '/vendor',
|
|
__DIR__ . '/.phpunit.cache',
|
|
__DIR__ . '/modules/*/vendor',
|
|
__DIR__ . '/modules/*/vendor/*',
|
|
__DIR__ . '/tests/Legacy',
|
|
])
|
|
->withPreparedSets(
|
|
codeQuality: true,
|
|
codingStyle: true,
|
|
phpunitCodeQuality: true,
|
|
);
|