refactored phpcs ruleset generation