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>libraries/cache/*
</exclude-pattern>
13 <exclude-pattern>libraries/language_stats.inc.php
</exclude-pattern>
14 <exclude-pattern>test/doctum-config.php
</exclude-pattern>
15 <exclude-pattern>*/node_modules/*
</exclude-pattern>
16 <exclude-pattern>*/tmp/*
</exclude-pattern>
17 <exclude-pattern>*/build/*
</exclude-pattern>
18 <exclude-pattern>*/twig-templates/*
</exclude-pattern>
19 <exclude-pattern>*/vendor/*
</exclude-pattern>
21 <rule ref=
"PhpMyAdmin"/>
23 <!-- Rules that should be followed, but are not required -->
24 <rule ref=
"SlevomatCodingStandard.Operators.DisallowEqualOperators">
25 <severity>4</severity>
27 <rule ref=
"SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingNativeTypeHint">
28 <severity>4</severity>
30 <rule ref=
"SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingTraversableTypeHintSpecification">
31 <severity>4</severity>
33 <rule ref=
"SlevomatCodingStandard.TypeHints.PropertyTypeHint.MissingTraversableTypeHintSpecification">
34 <severity>4</severity>
36 <rule ref=
"SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingNativeTypeHint">
37 <severity>4</severity>
39 <rule ref=
"SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingTraversableTypeHintSpecification">
40 <severity>4</severity>
42 <rule ref=
"Squiz.NamingConventions.ValidVariableName.MemberNotCamelCaps">
43 <severity>4</severity>
45 <rule ref=
"Squiz.NamingConventions.ValidVariableName.NotCamelCaps">
46 <severity>4</severity>