ldc-espri-restauration/phpcs.xml

26 lines
798 B
XML
Raw Permalink Normal View History

2025-02-25 20:02:26 +01:00
<?xml version="1.0" encoding="UTF-8"?>
<ruleset name="Roots" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="vendor/squizlabs/php_codesniffer/phpcs.xsd">
2025-02-04 10:27:19 +00:00
<description>Roots Coding Standards</description>
<!-- Scan all files in directory -->
<file>.</file>
<!-- Scan only PHP files -->
<arg name="extensions" value="php"/>
<!-- Ignore WordPress and Composer dependencies -->
<exclude-pattern>public/wp</exclude-pattern>
<exclude-pattern>vendor/</exclude-pattern>
2025-02-25 20:02:26 +01:00
<exclude-pattern>public/app/plugins/*</exclude-pattern>
2025-02-04 10:27:19 +00:00
<!-- Show colors in console -->
<arg value="-colors"/>
<!-- Show sniff codes in all reports -->
<arg value="ns"/>
<!-- Use PSR-2 as a base -->
<rule ref="PSR2"/>
2025-02-25 20:02:26 +01:00
<rule ref="WordPress-VIP-Go" />
2025-02-04 10:27:19 +00:00
</ruleset>