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 4425eb5 commit cb76a5fCopy full SHA for cb76a5f
rector.php
@@ -21,6 +21,7 @@
21
rectorPreset: true,
22
phpunitCodeQuality: true
23
)
24
+ ->withAttributesSets()
25
->withComposerBased(phpunit: true)
26
->withPhpSets()
27
->withPaths([
src/Configuration/RectorConfigBuilder.php
@@ -447,6 +447,11 @@ public function withAttributesSets(
447
bool $sensiolabs = false,
448
bool $all = false
449
): self {
450
+ // if nothing is passed, enable all as convention in other method
451
+ if (func_get_args() === []) {
452
+ $all = true;
453
+ }
454
+
455
if ($symfony || $all) {
456
$this->sets[] = SymfonySetList::ANNOTATIONS_TO_ATTRIBUTES;
457
}
0 commit comments