You've already forked phpmyadmin
mirror of
https://github.com/phpmyadmin/phpmyadmin.git
synced 2026-10-23 18:29:15 +03:00
39 lines
1.2 KiB
XML
39 lines
1.2 KiB
XML
<?xml version="1.0"?>
|
|
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="vendor/squizlabs/php_codesniffer/phpcs.xsd">
|
|
<!-- Show progress and sniff codes -->
|
|
<arg value="ps"/>
|
|
|
|
<arg name="cache" value=".phpcs-cache"/>
|
|
<arg name="colors"/>
|
|
<arg name="extensions" value="php"/>
|
|
|
|
<!-- Make sniff report relative -->
|
|
<arg name="basepath" value="."/>
|
|
|
|
<file>app</file>
|
|
<file>bin</file>
|
|
<file>config.sample.inc.php</file>
|
|
<file>examples</file>
|
|
<file>public</file>
|
|
<file>src</file>
|
|
<file>tests</file>
|
|
|
|
<exclude-pattern>app/cache/*</exclude-pattern>
|
|
<exclude-pattern>app/language_stats.inc.php</exclude-pattern>
|
|
<exclude-pattern>tests/doctum-config.php</exclude-pattern>
|
|
|
|
<rule ref="PhpMyAdmin"/>
|
|
|
|
<rule ref="Squiz.Classes.ValidClassName.NotPascalCase">
|
|
<exclude-pattern>src/Plugins/Transformations/*</exclude-pattern>
|
|
</rule>
|
|
|
|
<!-- Rules that should be followed, but are not required -->
|
|
<rule ref="SlevomatCodingStandard.Operators.DisallowEqualOperators">
|
|
<severity>4</severity>
|
|
</rule>
|
|
<rule ref="SlevomatCodingStandard.PHP.RequireExplicitAssertion">
|
|
<severity>4</severity>
|
|
</rule>
|
|
</ruleset>
|