-
Notifications
You must be signed in to change notification settings - Fork 12
/
phpcs.xml
23 lines (20 loc) · 973 Bytes
/
phpcs.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?xml version="1.0"?>
<ruleset name="browser-detector" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="vendor/squizlabs/php_codesniffer/phpcs.xsd">
<description>browser-detector</description>
<arg name="report" value="full"/>
<arg value="wps"/>
<arg name="encoding" value="utf-8"/>
<!-- inherit rules from: -->
<rule ref="Mimmi20CodingStandard">
<exclude name="SlevomatCodingStandard.Functions.FunctionLength.FunctionLength"/>
<exclude name="SlevomatCodingStandard.Complexity.Cognitive.ComplexityTooHigh"/>
<exclude name="Generic.Metrics.CyclomaticComplexity.TooHigh"/>
<exclude name="Generic.Metrics.CyclomaticComplexity.MaxExceeded"/>
<exclude name="SlevomatCodingStandard.Classes.ClassLength.ClassTooLong"/>
</rule>
<!-- Paths to check -->
<file>src</file>
<file>tests</file>
<file>.php-cs-fixer.php</file>
<file>rector.php</file>
</ruleset>