Skip to content

Commit 9684c19

Browse files
committed
feat: add laravel to RectorConfigBuilder::withComposerBased
1 parent e792155 commit 9684c19

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Configuration/RectorConfigBuilder.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -787,13 +787,15 @@ public function withComposerBased(
787787
bool $phpunit = false,
788788
bool $symfony = false,
789789
bool $netteUtils = false,
790+
bool $laravel = false,
790791
): self {
791792
$setMap = [
792793
SetGroup::TWIG => $twig,
793794
SetGroup::DOCTRINE => $doctrine,
794795
SetGroup::PHPUNIT => $phpunit,
795796
SetGroup::SYMFONY => $symfony,
796797
SetGroup::NETTE_UTILS => $netteUtils,
798+
SetGroup::LARAVEL => $laravel,
797799
];
798800

799801
foreach ($setMap as $setPath => $isEnabled) {

0 commit comments

Comments
 (0)