Skip to content

Commit f6fa1eb

Browse files
committed
ci(rector): add static arrow and closure rectors
- Added `StaticArrowFunctionRector` to enhance static arrow function handling. - Added `StaticClosureRector` to improve static closure processing. - Updated the configuration to include these new rules for better code quality.
1 parent 31118e7 commit f6fa1eb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

rector.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,8 @@
149149
// RectorLaravel\Rector\StaticCall\RouteActionCallableRector::class,
150150
])
151151
->withRules([
152+
StaticArrowFunctionRector::class,
153+
StaticClosureRector::class,
152154
ToInternalExceptionRector::class,
153155
])
154156
->withConfiguredRule(RectorLaravel\Rector\MethodCall\EloquentOrderByToLatestOrOldestRector::class, [

0 commit comments

Comments
 (0)