Skip to content

Meta: Add sniffs for coding standards within this repo #2577

@johnbillion

Description

@johnbillion

Is your feature request related to a problem?

There appear to be some coding standards requirements for this library which are not enforced via automated coding standards checks, for example trailing newlines, line length in XML files for documentation, etc. Nothing major but enough to make it an annoyance when you open a PR and maintainer has to manually point out the issues.

See the coding standards feedback on #2574 for examples of this.

Describe the solution you'd like

This library should include sniffs that developers can run locally as part of composer run-tests and which run on GitHub Actions which detect any coding standards violations for test files, XML files, etc.

Additional context

A .editorconfig file would be a good addition too.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions