Updated Rector to commit 183422d041785e31cbd50665023cece58616ea25

183422d041 Kick off basic rector.php with simpler and more practical rule (#5552)
This commit is contained in:
Tomas Votruba 2024-02-04 12:44:34 +00:00
parent b707660218
commit 2f8afbb309
2 changed files with 6 additions and 9 deletions

View File

@ -19,12 +19,12 @@ final class VersionResolver
* @api * @api
* @var string * @var string
*/ */
public const PACKAGE_VERSION = '081cf7f7e508428f259b83125883178632e350dc'; public const PACKAGE_VERSION = '183422d041785e31cbd50665023cece58616ea25';
/** /**
* @api * @api
* @var string * @var string
*/ */
public const RELEASE_DATE = '2024-02-04 12:03:25'; public const RELEASE_DATE = '2024-02-04 13:42:24';
/** /**
* @var int * @var int
*/ */

View File

@ -2,18 +2,15 @@
declare(strict_types=1); declare(strict_types=1);
use Rector\CodeQuality\Rector\Class_\InlineConstructorDefaultToPropertyRector;
use Rector\Config\RectorConfig; use Rector\Config\RectorConfig;
use Rector\Set\ValueObject\LevelSetList; use Rector\TypeDeclaration\Rector\ClassMethod\AddVoidReturnTypeWhereNoReturnRector;
return RectorConfig::configure() return RectorConfig::configure()
->withPaths([ ->withPaths([
__PATHS__ __PATHS__
]) ])
// uncomment to reach your current PHP version
// ->withPhpSets()
->withRules([ ->withRules([
InlineConstructorDefaultToPropertyRector::class, AddVoidReturnTypeWhereNoReturnRector::class,
])
->withSets([
// define sets of rules
// LevelSetList::UP_TO_PHP_XY
]); ]);