Translated using Weblate (Croatian)
[phpmyadmin.git] / phpcs.xml.dist
blobf3443bbac7f5c1c84ad97bd679ba9a6ace715cfb
1 <?xml version="1.0"?>
2 <ruleset
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 name="phpMyAdmin"
5 xsi:noNamespaceSchemaLocation="vendor/squizlabs/php_codesniffer/phpcs.xsd"
7 <rule ref="vendor/phpmyadmin/coding-standard/PhpMyAdmin/ruleset.xml"/>
9 <rule ref="Generic.Files.LineLength.TooLong">
10 <severity>4</severity>
11 </rule>
12 <rule ref="Generic.Metrics.NestingLevel.TooHigh">
13 <severity>4</severity>
14 </rule>
15 <rule ref="PSR1.Files.SideEffects.FoundWithSymbols">
16 <severity>4</severity>
17 </rule>
18 <rule ref="PSR2.Classes.PropertyDeclaration.Underscore">
19 <severity>4</severity>
20 </rule>
21 <rule ref="PSR2.Methods.MethodDeclaration.Underscore">
22 <severity>4</severity>
23 </rule>
24 <rule ref="Squiz.NamingConventions.ValidVariableName">
25 <severity>4</severity>
26 </rule>
27 <rule ref="PSR2.Methods.FunctionCallSignature.Indent">
28 <severity>0</severity>
29 </rule>
31 <arg value="sp"/>
32 <arg name="cache" value=".phpcs-cache"/>
33 <arg name="colors"/>
34 <arg name="extensions" value="php"/>
36 <exclude-pattern>*/node_modules/*</exclude-pattern>
37 <exclude-pattern>*/test/sami-config.php</exclude-pattern>
38 <exclude-pattern>*/tmp/*</exclude-pattern>
39 <exclude-pattern>*/vendor/*</exclude-pattern>
40 <exclude-pattern>*/libraries/cache/*</exclude-pattern>
42 <file>.</file>
43 </ruleset>