generated from mimmi20/template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathphpcs.xml
27 lines (23 loc) · 1.15 KB
/
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
24
25
26
27
<?xml version="1.0"?>
<ruleset name="monolog-factory" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="vendor/squizlabs/php_codesniffer/phpcs.xsd">
<description>monolog-factory</description>
<arg name="report" value="full"/>
<arg value="wps"/>
<arg name="encoding" value="utf-8"/>
<!-- Check up to 8 files simultaneously. -->
<arg name="parallel" value="8"/>
<!-- inherit rules from: -->
<rule ref="Mimmi20CodingStandard">
<exclude name="SlevomatCodingStandard.Functions.FunctionLength.FunctionLength"/>
<exclude name="SlevomatCodingStandard.Complexity.Cognitive.ComplexityTooHigh"/>
<exclude name="SlevomatCodingStandard.Variables.DisallowSuperGlobalVariable.DisallowedSuperGlobalVariable"/>
<exclude name="Generic.Metrics.CyclomaticComplexity.TooHigh"/>
<exclude name="Mimmi20CodingStandard.Commenting.FunctionCommentThrowTag.MissingThrowForException"/>
</rule>
<!-- Paths to check -->
<file>src</file>
<file>tests</file>
<file>.php-cs-fixer.php</file>
<file>rector.php</file>
<file>composer-dependency-analyser.php</file>
</ruleset>