-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathphpcs.xml.dist
31 lines (22 loc) · 920 Bytes
/
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
<?xml version="1.0" encoding="UTF-8"?>
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/squizlabs/php_codesniffer/phpcs.xsd">
<description>PHPCS ruleset for PHP Kiosk Demo Symfony.</description>
<arg name="colors"/>
<arg name="extensions" value="php"/>
<file>bin/</file>
<file>config/</file>
<file>public/</file>
<file>tests</file>
<file>src</file>
<!-- Show progress of the run -->
<arg value= "p"/>
<!-- Show sniff codes in all reports -->
<arg value= "s"/>
<rule ref="PSR12"/>
<rule ref="PSR1.Methods.CamelCapsMethodName.NotCamelCaps">
<exclude-pattern>tests/</exclude-pattern>
</rule>
<exclude-pattern>config/preload.php</exclude-pattern>
<exclude-pattern>public/index.php</exclude-pattern>
</ruleset>