We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47693a2 commit 4c6979eCopy full SHA for 4c6979e
1 file changed
src/Configuration/RectorConfigBuilder.php
@@ -768,6 +768,7 @@ public function withPreparedSets(
768
bool $doctrineCodeQuality = false,
769
bool $symfonyCodeQuality = false,
770
bool $symfonyConfigs = false,
771
+ bool $all = false,
772
): self {
773
Notifier::notifyNotSuitableMethodForPHP74(__METHOD__);
774
@@ -790,6 +791,11 @@ public function withPreparedSets(
790
791
SymfonySetList::CONFIGS => $symfonyConfigs,
792
];
793
794
+ if ($all) {
795
+ $this->sets = array_keys($setMap);
796
+ return $this;
797
+ }
798
+
799
foreach ($setMap as $setPath => $isEnabled) {
800
if ($isEnabled) {
801
$this->sets[] = $setPath;
0 commit comments