File tree 1 file changed +18
-0
lines changed
1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change 82
82
pattern : " ./WordPress/Docs/*/*Standard.xml"
83
83
xsd-file : " vendor/phpcsstandards/phpcsdevtools/DocsXsd/phpcsdocs.xsd"
84
84
85
+ - name : Validate Project PHPCS ruleset against schema
86
+ uses : phpcsstandards/xmllint-validate@v1
87
+ with :
88
+ pattern : " .phpcs.xml.dist"
89
+ xsd-file : " vendor/squizlabs/php_codesniffer/phpcs.xsd"
90
+
91
+ - name : " Validate PHPUnit config for use with PHPUnit 8"
92
+ uses : phpcsstandards/xmllint-validate@v1
93
+ with :
94
+ pattern : " phpunit.xml.dist"
95
+ xsd-file : " vendor/phpunit/phpunit/schema/8.5.xsd"
96
+
97
+ - name : " Validate PHPUnit config for use with PHPUnit 9"
98
+ uses : phpcsstandards/xmllint-validate@v1
99
+ with :
100
+ pattern : " phpunit.xml.dist"
101
+ xsd-file : " vendor/phpunit/phpunit/schema/9.2.xsd"
102
+
85
103
# Check that the sniffs available are feature complete.
86
104
# For now, just check that all sniffs have unit tests.
87
105
# At a later stage the documentation check can be activated.
You can’t perform that action at this time.
0 commit comments