chore: static checks

This commit is contained in:
Nuno Maduro
2023-03-18 23:35:05 +00:00
parent 840364891c
commit d4c66d73a0
4 changed files with 12 additions and 16 deletions

View File

@ -4,6 +4,7 @@ declare(strict_types=1);
use Rector\CodeQuality\Rector\Class_\InlineConstructorDefaultToPropertyRector;
use Rector\Config\RectorConfig;
use Rector\Php71\Rector\FuncCall\RemoveExtraParametersRector;
use Rector\Set\ValueObject\LevelSetList;
use Rector\Set\ValueObject\SetList;
@ -16,6 +17,10 @@ return static function (RectorConfig $rectorConfig): void {
InlineConstructorDefaultToPropertyRector::class,
]);
$rectorConfig->skip([
RemoveExtraParametersRector::class,
]);
$rectorConfig->sets([
LevelSetList::UP_TO_PHP_81,
SetList::CODE_QUALITY,