Skip to content

Commit

Permalink
[DowngradePhp80] Register DowngradeThrowExprRector to downgrade-php80…
Browse files Browse the repository at this point in the history
… config set (#538)
  • Loading branch information
samsonasik committed Jul 29, 2021
1 parent 3cf3e1f commit cdad000
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/set/downgrade-php80.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
use Rector\DowngradePhp80\Rector\ClassMethod\DowngradeStaticTypeDeclarationRector;
use Rector\DowngradePhp80\Rector\ClassMethod\DowngradeTrailingCommasInParamUseRector;
use Rector\DowngradePhp80\Rector\Expression\DowngradeMatchToSwitchRector;
use Rector\DowngradePhp80\Rector\Expression\DowngradeThrowExprRector;
use Rector\DowngradePhp80\Rector\FuncCall\DowngradeStrContainsRector;
use Rector\DowngradePhp80\Rector\FuncCall\DowngradeStrEndsWithRector;
use Rector\DowngradePhp80\Rector\FuncCall\DowngradeStrStartsWithRector;
Expand Down Expand Up @@ -64,4 +65,5 @@
$services->set(DowngradeStrStartsWithRector::class);
$services->set(DowngradeStrEndsWithRector::class);
$services->set(DowngradePhpTokenRector::class);
$services->set(DowngradeThrowExprRector::class);
};

0 comments on commit cdad000

Please sign in to comment.