Skip to content

Do not check coding standards in diff view #190

Description

@str

When comparing changes before commiting them, the PHPCS shows a lot of errors.

The errors on the "before" side, do not matter because you can't do anything for what was before. The errors on the "changes" side, do not matter neither because you are not editing the file, you are just comparing changes. If you want to see if your changes break any CS rule, go and edit it.

Also, the CS rules defined in the phpcs.xml are ignored in this view, so the broken rules shown in this view are wrong.

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions