rule(TypedPropertyFromStrictConstructorRector::class); // here we can define, what sets of rules will be applied // tip: use "SetList" class to autocomplete sets with your IDE $rectorConfig->sets([ SetList::CODE_QUALITY, SetList::CODING_STYLE, SetList::DEAD_CODE, SetList::EARLY_RETURN, SetList::STRICT_BOOLEANS, LevelSetList::UP_TO_PHP_82 ]); };