-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpcs.xml
33 lines (28 loc) · 1.01 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
<?xml version="1.0"?>
<ruleset
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
name="Scout APM coding standard"
xsi:noNamespaceSchemaLocation="vendor/squizlabs/php_codesniffer/phpcs.xsd"
>
<config name="php_version" value="70100" />
<arg value="p"/>
<arg value="s"/>
<arg name="colors"/>
<arg name="cache" value=".phpcs-cache"/>
<file>config</file>
<file>lib</file>
<rule ref="PSR2">
<!-- Symfony doesn't use namespaces, so ignore this -->
<exclude name="PSR1.Classes.ClassDeclaration.MissingNamespace" />
</rule>
<!-- The plugin configuration file is non-pascal-case, and ends in .class.php -->
<rule ref="Squiz.Classes.ValidClassName.NotCamelCaps">
<exclude-pattern>config/*</exclude-pattern>
</rule>
<rule ref="Squiz.Classes.ClassFileName.NoMatch">
<exclude-pattern>config/*</exclude-pattern>
</rule>
<rule ref="Doctrine">
<exclude name="Generic.Files.LineLength.TooLong"/>
</rule>
</ruleset>