refactoring: folowing phpinsights recomendations

This commit is contained in:
Anatoliy Poloz
2023-12-28 17:07:09 +03:00
parent 0efb8536dd
commit 9b2d703374
23 changed files with 244 additions and 170 deletions

View File

@@ -1,13 +1,11 @@
<?php
// use Rector\Nette\Set\NetteSetList;
use Rector\Set\ValueObject\SetList;
use Rector\Config\RectorConfig;
use Rector\Set\ValueObject\LevelSetList;
use Rector\Set\ValueObject\SetList;
use RectorLaravel\Set\LaravelSetList;
return function (RectorConfig $rectorConfig): void {
$rectorConfig->paths([
__DIR__ . '/app',
__DIR__ . '/bootstrap',
@@ -26,4 +24,3 @@ return function (RectorConfig $rectorConfig): void {
// $rectorConfig->import(LevelSetList::UP_TO_PHP_82);
$rectorConfig->import(LaravelSetList::LARAVEL_100);
};