Skip to content

Commit

Permalink
ci(rector): add static arrow and closure rectors
Browse files Browse the repository at this point in the history
- 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.
  • Loading branch information
guanguans committed Aug 16, 2024
1 parent 31118e7 commit f6fa1eb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,8 @@
// RectorLaravel\Rector\StaticCall\RouteActionCallableRector::class,
])
->withRules([
StaticArrowFunctionRector::class,
StaticClosureRector::class,
ToInternalExceptionRector::class,
])
->withConfiguredRule(RectorLaravel\Rector\MethodCall\EloquentOrderByToLatestOrOldestRector::class, [
Expand Down

0 comments on commit f6fa1eb

Please sign in to comment.