Skip to content

PHPCBF: Show "No errors were found" when nothing needs to be fixed. #806

Closed
@peterwilsoncc

Description

@peterwilsoncc

Is your feature request related to a problem?

When running phpcbf against a clean code base, ie one following coding standards, the exit message is No fixable errors were found.

In order to confirm the code base is clear of errors, one needs to also run phpcs to determine if any issues need to be manually fixed.

As phpcbf has run the sniffs, it would be good to be informed if there are no errors found upon exit.

Describe the solution you'd like

If the code base has no errors or warnings, output No errors were found in place of No fixable errors were found.

An alternative may be: No coding standards violations were found

Additional context (optional)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions