Skip to content

Commit

Permalink
Add StaticClosureRector to list of skipped rules
Browse files Browse the repository at this point in the history
  • Loading branch information
usox committed Nov 3, 2023
1 parent 9820b2f commit c13e4b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use Rector\CodeQuality\Rector\Class_\InlineConstructorDefaultToPropertyRector;
use Rector\CodeQuality\Rector\Identical\FlipTypeControlToUseExclusiveTypeRector;
use Rector\CodingStyle\Rector\Closure\StaticClosureRector;
use Rector\Config\RectorConfig;
use Rector\Set\ValueObject\LevelSetList;
use Rector\Set\ValueObject\SetList;
Expand All @@ -29,5 +30,6 @@

$rectorConfig->skip([
FlipTypeControlToUseExclusiveTypeRector::class,
StaticClosureRector::class,
]);
};
2 changes: 1 addition & 1 deletion src/Api/ApiApplication.php
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ public function run(
// settings
$app->group(
'/settings',
static function (RouteCollectorProxyInterface $routeCollectorProxy): void {
function (RouteCollectorProxyInterface $routeCollectorProxy): void {
// catalogs
$routeCollectorProxy->get('/catalogs', CatalogListApplication::class);
// settings
Expand Down

0 comments on commit c13e4b8

Please sign in to comment.