We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f779ce1 + eabaff3 commit f479882Copy full SHA for f479882
.github/workflows/xml.yml
@@ -0,0 +1,16 @@
1
+name: XML Lint
2
+
3
+on: [push, pull_request]
4
5
+jobs:
6
+ xml-linter:
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - uses: actions/checkout@v3
10
+ - name: Install dependencies
11
+ run: composer update --no-progress --no-interaction
12
+ - name: Lint ruleset.xml
13
+ uses: ChristophWurst/xmllint-action@v1
14
+ with:
15
+ xml-file: src/ruleset.xml
16
+ xml-schema-file: vendor/squizlabs/php_codesniffer/phpcs.xsd
composer.json
@@ -18,5 +18,10 @@
18
},
19
"autoload": {
20
"psr-4": {"Spaze\\CodingStandard\\": "src"}
21
+ },
22
+ "config": {
23
+ "allow-plugins": {
24
+ "dealerdirect/phpcodesniffer-composer-installer": true
25
+ }
26
}
27
0 commit comments