Skip to content

Validate PHPCS rulesets

Actions
Validate PHPCS rulesets against XML schema
v0.4.0
Latest
Star (1)

Validate PHPCS rulesets

This is an action for GitHub Actions. It runs xmllint on each listed ruleset file.

    - name: "Validate ruleset"
      uses: "szepeviktor/phpcs-ruleset-validator@v0.4.0"
      with:
        # When you indent with tabs
        # xmllint_indent: "\t"
        xml_ruleset: "RulesetName/ruleset.xml"

You can use any key in with. There are two special keys

  1. for non-default PHPCS shema path: xml_phpcs_schema
  2. for XML file indentation string: xmllint_indent

Validate PHPCS rulesets is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Validate PHPCS rulesets against XML schema
v0.4.0
Latest

Validate PHPCS rulesets is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.