-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpcs.xml.dist
36 lines (30 loc) · 1.56 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
26
27
28
29
30
31
32
33
34
35
36
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/squizlabs/php_codesniffer/phpcs.xsd">
<arg name="basepath" value="."/>
<arg name="cache" value=".phpcs-cache"/>
<arg name="colors"/>
<arg name="extensions" value="php"/>
<rule ref="./vendor/escapestudios/symfony2-coding-standard/Symfony/ruleset.xml">
<exclude name="Symfony.Commenting.Annotations.Invalid"/>
<exclude name="Symfony.Commenting.ClassComment.Missing"/>
<exclude name="Symfony.Commenting.FunctionComment.MissingParamComment"/>
<exclude name="Symfony.Commenting.FunctionComment.Missing"/>
<exclude name="Symfony.Commenting.FunctionComment.MissingReturn"/>
<exclude name="Symfony.Commenting.FunctionComment.MissingParamTag"/>
<exclude name="Symfony.Commenting.FunctionComment.ParamNameNoMatch"/>
<exclude name="Symfony.Commenting.License.Warning"/>
<exclude name="Symfony.Functions.Arguments.Invalid"/>
</rule>
<rule ref="PSR1.Methods.CamelCapsMethodName.NotCamelCaps">
<exclude-pattern>tests/phpspec/</exclude-pattern>
</rule>
<rule ref="Symfony.NamingConventions.ValidClassName.InvalidAbstractName">
<exclude-pattern>tests/phpunit/**/*TestCase.php</exclude-pattern>
</rule>
<rule ref="Symfony.Files.AlphanumericFilename.Invalid">
<exclude-pattern>tests/console-application.php</exclude-pattern>
<exclude-pattern>tests/object-manager.php</exclude-pattern>
</rule>
<file>src/</file>
<file>tests/</file>
</ruleset>