Skip to content

Return separate error codes for fixable vs. non-fixable errors. #930

Closed
@greg-1-anderson

Description

@greg-1-anderson

At the moment, phpcs returns with an exit code of 0 when no errors or warnings are found, and a 1 if there are any errors or warnings. The exit code is the same regardless of whether the errors are fixable or not.

It would be nice if phpcs would return an exit code of 2 when one or more of the encountered errors or warnings were fixable by phpcbf.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions