2 <ruleset xmlns:
xsi=
"http://www.w3.org/2001/XMLSchema-instance" xsi:
noNamespaceSchemaLocation=
"vendor/squizlabs/php_codesniffer/phpcs.xsd">
3 <!-- Show progress and sniff codes -->
6 <arg name=
"cache" value=
".phpcs-cache"/>
8 <arg name=
"extensions" value=
"php"/>
12 <file>./examples
</file>
16 <file>./config.sample.inc.php
</file>
18 <!-- Make sniff report relative -->
19 <arg name=
"basepath" value=
"."/>
21 <exclude-pattern>*/app/cache/*
</exclude-pattern>
22 <exclude-pattern>*/app/language_stats.inc.php
</exclude-pattern>
23 <exclude-pattern>*/build/*
</exclude-pattern>
24 <exclude-pattern>*/config.inc.php
</exclude-pattern>
25 <exclude-pattern>*/node_modules/*
</exclude-pattern>
26 <exclude-pattern>*/tests/doctum-config.php
</exclude-pattern>
27 <exclude-pattern>*/revision-info.php
</exclude-pattern>
28 <exclude-pattern>*/tmp/*
</exclude-pattern>
29 <exclude-pattern>*/twig-templates/*
</exclude-pattern>
30 <exclude-pattern>*/vendor/*
</exclude-pattern>
31 <exclude-pattern>*/.git/*
</exclude-pattern>
33 <rule ref=
"PhpMyAdmin"/>
35 <rule ref=
"SlevomatCodingStandard.Functions.RequireSingleLineCall"/>
36 <rule ref=
"SlevomatCodingStandard.Whitespaces.DuplicateSpaces">
38 <property name=
"ignoreSpacesInComment" value=
"true"/>
42 <rule ref=
"Squiz.Classes.ValidClassName.NotCamelCaps">
43 <exclude-pattern>*/src/Plugins/Transformations/*
</exclude-pattern>
46 <!-- Rules that should be followed, but are not required -->
47 <rule ref=
"SlevomatCodingStandard.Operators.DisallowEqualOperators">
48 <severity>4</severity>