rules([VarToPublicPropertyRector::class, ContinueToBreakInSwitchRector::class]); $rectorConfig->ruleWithConfiguration(RemoveFuncCallArgRector::class, [ // see https://www.php.net/manual/en/function.ldap-first-attribute.php new RemoveFuncCallArg('ldap_first_attribute', 2), ]); };