Skip to content

Register custom rules in proper way #102

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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