mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-06 09:02:59 +01:00
# Qual Add .phpcs.xml.dist This configuration file at the root still references the configuration file used in the CI flows, but it allows running 'phpcs' from the root without having to specify anything else than the files you want to check.
14 lines
422 B
XML
14 lines
422 B
XML
<?xml version="1.0"?>
|
|
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="PHP_CodeSniffer" xsi:noNamespaceSchemaLocation="phpcs.xsd">
|
|
<!--
|
|
Documentation:
|
|
https://github.com/squizlabs/PHP_CodeSniffer/wiki/Annotated-Ruleset
|
|
-->
|
|
|
|
<rule ref="dev/setup/codesniffer/ruleset.xml"/>
|
|
|
|
<arg value="p"/>
|
|
<arg name="colors"/>
|
|
<arg name="extensions" value="php,inc" />
|
|
</ruleset>
|