Detect dead class constants #280
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: phpcs.xml lint | |
on: | |
pull_request: | |
push: | |
branches: | |
- "master" | |
- "v[0-9]" | |
jobs: | |
xml-linter: | |
runs-on: ubuntu-latest | |
steps: | |
- | |
name: Checkout code | |
uses: actions/checkout@v4 | |
- | |
name: Install dependencies | |
run: composer update --no-progress --no-interaction | |
- | |
name: Lint | |
uses: ChristophWurst/xmllint-action@v1 | |
with: | |
xml-file: phpcs.xml.dist | |
xml-schema-file: vendor/squizlabs/php_codesniffer/phpcs.xsd |