-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathphpcs.xml
35 lines (31 loc) · 1.42 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
28
29
30
31
32
33
34
35
<?xml version="1.0"?>
<ruleset name="Metamorphosis">
<arg name="basepath" value="."/>
<arg name="extensions" value="php"/>
<arg name="parallel" value="45"/>
<arg name="cache" value=".phpcs-cache"/>
<arg name="colors"/>
<!-- Ignore warnings and show progress of the run -->
<arg value="nps"/>
<!-- Folders that will be tracked -->
<file>config</file>
<file>src</file>
<file>tests</file>
<rule ref="LeroyMerlin"/>
<!-- Excluded patterns in some folders -->
<rule ref="SlevomatCodingStandard.Namespaces.ReferenceUsedNamesOnly.ReferenceViaFullyQualifiedName">
<exclude-pattern>config</exclude-pattern>
</rule>
<rule ref="SlevomatCodingStandard.Functions.UnusedParameter.UnusedParameter">
<exclude-pattern>tests/*/Dummies/*.php</exclude-pattern>
</rule>
<rule ref="SlevomatCodingStandard.TypeHints.PropertyTypeHint.MissingNativeTypeHint">
<exclude-pattern>src/Record/ConsumerRecord.php</exclude-pattern>
<exclude-pattern>src/Record/ProducerRecord.php</exclude-pattern>
<exclude-pattern>src/TopicHandler/Producer/AbstractHandler.php</exclude-pattern>
<exclude-pattern>src/TopicHandler/Producer/AbstractProducer.php</exclude-pattern>
</rule>
<rule ref="SlevomatCodingStandard.Classes.ClassConstantVisibility.MissingConstantVisibility">
<exclude-pattern>src/Producer/Poll.php</exclude-pattern>
</rule>
</ruleset>