Skip to content

Commit

Permalink
feat(rector): add FinalizeClassesWithoutChildrenRector
Browse files Browse the repository at this point in the history
- Add FinalizeClassesWithoutChildrenRector to rector.php
- Add support for app/Generators/OpenAIGenerator.php
  • Loading branch information
guanguans committed Jun 21, 2023
1 parent 9db3ff4 commit a9dd453
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
use Rector\PHPUnit\Rector\Class_\AddSeeTestAnnotationRector;
use Rector\PHPUnit\Set\PHPUnitLevelSetList;
use Rector\PHPUnit\Set\PHPUnitSetList;
use Rector\Privatization\Rector\Class_\FinalizeClassesWithoutChildrenRector;
use Rector\Renaming\Rector\FuncCall\RenameFunctionRector;
use Rector\Set\ValueObject\LevelSetList;
use Rector\Set\ValueObject\SetList;
Expand Down Expand Up @@ -111,6 +112,9 @@
DisallowedShortTernaryRuleFixerRector::class => [
__DIR__.'/app/Support/FoundationSDK.php',
],
FinalizeClassesWithoutChildrenRector::class => [
__DIR__.'/app/Generators/OpenAIGenerator.php',
],
JsonThrowOnErrorRector::class => [
__DIR__.'/app/Generators/OpenAIGenerator.php',
],
Expand Down

0 comments on commit a9dd453

Please sign in to comment.