mirror of
https://github.com/pestphp/pest.git
synced 2026-03-05 23:37:22 +01:00
26 lines
591 B
PHP
26 lines
591 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use Rector\CodeQuality\Rector\Class_\InlineConstructorDefaultToPropertyRector;
|
|
use Rector\Config\RectorConfig;
|
|
|
|
return RectorConfig::configure()
|
|
->withPaths([
|
|
__DIR__.'/src',
|
|
])
|
|
->withRules([
|
|
InlineConstructorDefaultToPropertyRector::class,
|
|
])
|
|
->withSkip([
|
|
__DIR__.'/src/Plugins/Parallel/Paratest/WrapperRunner.php',
|
|
])
|
|
->withPreparedSets(
|
|
deadCode: true,
|
|
codeQuality: true,
|
|
typeDeclarations: true,
|
|
privatization: true,
|
|
earlyReturn: true,
|
|
)
|
|
->withPhpSets();
|