forked from frankkoornstra/elastic-apm-agent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpcs.xml.dist
25 lines (22 loc) · 1.04 KB
/
phpcs.xml.dist
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
<?xml version="1.0"?>
<ruleset>
<arg name="basepath" value="." />
<arg name="extensions" value="php" /> <!-- which extensions to look for -->
<arg name="parallel" value="80" /> <!-- how many parallel processes to run -->
<arg name="colors" />
<arg name="cache" value=".phpcs.cache" /> <!-- cache the results and don't commit them -->
<arg value="np" /> <!-- n = ignore warnings, p = show progress -->
<file>src</file>
<file>tests</file>
<rule ref="TechDeCo" />
<rule ref="SlevomatCodingStandard.TypeHints.TypeHintDeclaration.UselessDocComment">
<exclude-pattern>/tests/Acceptance/*</exclude-pattern>
</rule>
<rule ref="SlevomatCodingStandard.TypeHints.TypeHintDeclaration">
<exclude-pattern>src/Convenience/Cache/CacheItemPoolWrapper.php</exclude-pattern>
<exclude-pattern>tests/Dummy/DummyCacheItemPool.php</exclude-pattern>
</rule>
<rule ref="Generic.CodeAnalysis.EmptyStatement.DetectedCatch">
<exclude-pattern>tests/Acceptance</exclude-pattern>
</rule>
</ruleset>