$configuration) { $rectorConfig->ruleWithConfiguration($rectorClass, $configuration); } // the rule order matters, as its used in withCodeQualityLevel() method // place the safest rules first, follow by more complex ones $rectorConfig->rules(CodeQualityLevel::RULES); };