-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathphpcs-ruleset.xml
33 lines (25 loc) · 986 Bytes
/
phpcs-ruleset.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 name="php-vips">
<!-- Set a description for this ruleset -->
<description>php-vips coding standard. Inherits from PSR-2.</description>
<!-- Check all files in this directory and the directories below it -->
<file>.</file>
<!-- Ignore Composer dependencies -->
<exclude-pattern>vendor/</exclude-pattern>
<!-- Ignore generated docs -->
<exclude-pattern>docs/</exclude-pattern>
<!-- Display progress -->
<arg value="p"/>
<!-- Only check PHP files -->
<arg name="extensions" value="php"/>
<!-- Include the whole PSR-2 standard -->
<rule ref="PSR2"/>
<!-- Exclude this rule for code examples -->
<rule ref="PSR1.Files.SideEffects.FoundWithSymbols">
<exclude-pattern>examples/</exclude-pattern>
</rule>
<!-- File is generated automatically -->
<rule ref="Generic.Files.LineLength">
<exclude-pattern>src/ImageAutodoc.php</exclude-pattern>
</rule>
</ruleset>