mirror of https://github.com/rectorphp/rector.git
Updated Rector to commit 183422d041785e31cbd50665023cece58616ea25
183422d041
Kick off basic rector.php with simpler and more practical rule (#5552)
This commit is contained in:
parent
b707660218
commit
2f8afbb309
|
@ -19,12 +19,12 @@ final class VersionResolver
|
|||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const PACKAGE_VERSION = '081cf7f7e508428f259b83125883178632e350dc';
|
||||
public const PACKAGE_VERSION = '183422d041785e31cbd50665023cece58616ea25';
|
||||
/**
|
||||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const RELEASE_DATE = '2024-02-04 12:03:25';
|
||||
public const RELEASE_DATE = '2024-02-04 13:42:24';
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
|
|
|
@ -2,18 +2,15 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
use Rector\CodeQuality\Rector\Class_\InlineConstructorDefaultToPropertyRector;
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Set\ValueObject\LevelSetList;
|
||||
use Rector\TypeDeclaration\Rector\ClassMethod\AddVoidReturnTypeWhereNoReturnRector;
|
||||
|
||||
return RectorConfig::configure()
|
||||
->withPaths([
|
||||
__PATHS__
|
||||
])
|
||||
// uncomment to reach your current PHP version
|
||||
// ->withPhpSets()
|
||||
->withRules([
|
||||
InlineConstructorDefaultToPropertyRector::class,
|
||||
])
|
||||
->withSets([
|
||||
// define sets of rules
|
||||
// LevelSetList::UP_TO_PHP_XY
|
||||
AddVoidReturnTypeWhereNoReturnRector::class,
|
||||
]);
|
||||
|
|
Loading…
Reference in New Issue