Skip to content

Register custom rules in proper way #102

@krzysztofrewak

Description

@krzysztofrewak

Using add(): array from Blumilk\Codestyle\Configuration\Defaults\Rules allows user to add some custom rules. If rule is really custom (not from PHP CS Fixer, this project custom rules set nor kubawerlos/php-cs-fixer-custom-fixers repository), adding it by this method will made configurator fail.

These new rules should be registered by registerCustomFixers() in PhpCsFixerConfig before running.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions