File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change 1+ <?php
2+
3+ declare (strict_types=1 );
4+
5+ use Rector \Config \RectorConfig ;
6+ use RectorLaravel \Rector \Expr \AppEnvironmentComparisonToParameterRector ;
7+
8+ return static function (RectorConfig $ rectorConfig ): void {
9+ $ rectorConfig ->import (__DIR__ . '/../config.php ' );
10+ $ rectorConfig ->rule (AppEnvironmentComparisonToParameterRector::class);
11+ };
Original file line number Diff line number Diff line change @@ -46,6 +46,8 @@ final class LaravelSetList
4646
4747 final public const string LARAVEL_CODE_QUALITY = __DIR__ . '/../../config/sets/laravel-code-quality.php ' ;
4848
49+ final public const string LARAVEL_CODE_STYLE = __DIR__ . '/../../config/sets/laravel-code-style.php ' ;
50+
4951 final public const string LARAVEL_COLLECTION = __DIR__ . '/../../config/sets/laravel-collection.php ' ;
5052
5153 final public const string LARAVEL_CONTAINER_STRING_TO_FULLY_QUALIFIED_NAME = __DIR__ . '/../../config/sets/laravel-container-string-to-fully-qualified-name.php ' ;
You can’t perform that action at this time.
0 commit comments