Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move "property handling" related utilities to dedicated RulesetPropertyHelper #2157

Merged

Commits on Dec 17, 2022

  1. Move "property handling" related utilities to dedicated `RulesetPrope…

    …rtyHelper`
    
    The "property handling" related utilities are only used by a limited set of sniffs, so are better placed in a dedicated class.
    
    This commit moves the `merge_custom_array()` method to a new `WordPressCS\WordPress\Helpers\RulesetPropertyHelper` and starts using that class in the relevant sniffs.
    
    Note: the function has been moved without changes.
    
    Related to 1465
    jrfnl committed Dec 17, 2022
    Configuration menu
    Copy the full SHA
    c4553f2 View commit details
    Browse the repository at this point in the history