-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpcs.xml
30 lines (25 loc) · 983 Bytes
/
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
<?xml version="1.0" encoding="UTF-8"?>
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Lumen" xsi:noNamespaceSchemaLocation="phpcs.xsd">
<description>Lumen PSR-12 coding standard.</description>
<!-- Folders/files to sniff for -->
<file>app</file>
<file>bootstrap</file>
<file>database</file>
<file>resources</file>
<file>routes</file>
<file>tests</file>
<!-- folders/files to exclude in checking -->
<exclude-pattern>_ide_helper_models.php</exclude-pattern>
<exclude-pattern>_ide_helper.php</exclude-pattern>
<exclude-pattern>.phpstorm.meta.php</exclude-pattern>
<exclude-pattern>.php-cs-fixer.php</exclude-pattern>
<exclude-pattern>*/storage/*</exclude-pattern>
<exclude-pattern>*/vendor/*</exclude-pattern>
<!-- Command Parameters -->
<arg name="report" value="summary"/>
<arg name="colors"/>
<arg value="np"/>
<rule ref="PSR12">
<exclude name="PSR12.Files.FileHeader.SpacingInsideBlock"/>
</rule>
</ruleset>