Specify schema for PHPCS configuration file

It helps tooling such as language servers figure out what is a valid XML
configuration file.
This commit is contained in:
Grégoire Paris
2026-01-04 18:48:53 +01:00
parent 3a506d29bb
commit dab16e292c

View File

@@ -1,5 +1,8 @@
<?xml version="1.0"?>
<ruleset>
<ruleset
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/squizlabs/php_codesniffer/phpcs.xsd"
>
<arg name="basepath" value="."/>
<arg name="extensions" value="php"/>
<arg name="parallel" value="80"/>