Skip to content

phpcs warnings should not be reported as errors #53

@bblasius

Description

@bblasius

phpcs warnings count as errors, exit with code 1 and break ci builds.

this could be avoided by changing the errorsXPath setting of phpcs.
change phpqa/src/CodeAnalysisTasks.php : 26 from "'errorsXPath' => '//checkstyle/file/error'" to "'errorsXPath' => '//checkstyle/file/error[@Severity="error"]'".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions