mirror of https://github.com/rectorphp/rector.git
21 lines
434 B
Plaintext
21 lines
434 B
Plaintext
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use Rector\CodeQuality\Rector\Class_\InlineConstructorDefaultToPropertyRector;
|
|
use Rector\Config\RectorConfig;
|
|
use Rector\Set\ValueObject\LevelSetList;
|
|
|
|
return RectorConfig::configure()
|
|
->withPaths([
|
|
__PATHS__
|
|
])
|
|
->withRules([
|
|
InlineConstructorDefaultToPropertyRector::class,
|
|
])
|
|
->withSets([
|
|
// define sets of rules
|
|
// LevelSetList::UP_TO_PHP_XY
|
|
]);
|
|
};
|