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 <exclude-pattern>*/build/*
</exclude-pattern>
13 <exclude-pattern>*/config.inc.php
</exclude-pattern>
14 <exclude-pattern>*/libraries/cache/*
</exclude-pattern>
15 <exclude-pattern>*/libraries/language_stats.inc.php
</exclude-pattern>
16 <exclude-pattern>*/node_modules/*
</exclude-pattern>
17 <exclude-pattern>*/test/doctum-config.php
</exclude-pattern>
18 <exclude-pattern>*/tmp/*
</exclude-pattern>
19 <exclude-pattern>*/twig-templates/*
</exclude-pattern>
20 <exclude-pattern>*/vendor/*
</exclude-pattern>
22 <rule ref=
"PhpMyAdmin"/>
24 <rule ref=
"Squiz.Classes.ValidClassName.NotCamelCaps">
25 <exclude-pattern>*/libraries/classes/Plugins/Transformations/*
</exclude-pattern>
28 <!-- Rules that should be followed, but are not required -->
29 <rule ref=
"SlevomatCodingStandard.Operators.DisallowEqualOperators">
30 <severity>4</severity>
32 <rule ref=
"SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingNativeTypeHint">
33 <severity>4</severity>
35 <rule ref=
"SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingTraversableTypeHintSpecification">
36 <severity>4</severity>
38 <rule ref=
"SlevomatCodingStandard.TypeHints.PropertyTypeHint.MissingTraversableTypeHintSpecification">
39 <severity>4</severity>
41 <rule ref=
"SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingNativeTypeHint">
42 <severity>4</severity>
44 <rule ref=
"SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingTraversableTypeHintSpecification">
45 <severity>4</severity>
47 <rule ref=
"Squiz.NamingConventions.ValidVariableName.NotCamelCaps">
48 <severity>4</severity>