forked from php/docbook-cs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpcs.xml
More file actions
18 lines (15 loc) · 713 Bytes
/
Copy pathphpcs.xml
File metadata and controls
18 lines (15 loc) · 713 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?xml version="1.0"?>
<ruleset name="PHP_CodeSniffer" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/squizlabs/PHP_CodeSniffer/refs/heads/master/phpcs.xsd">
<description>DocbookCS Coding Standard</description>
<rule ref="PSR12"/>
<rule ref="PSR2.Methods.FunctionCallSignature.SpaceBeforeCloseBracket">
<exclude-pattern type="relative">tests/*</exclude-pattern>
</rule>
<arg name="cache" value="var/.phpcs-cache.json"/>
<arg name="basepath" value="./"/>
<arg name="colors"/>
<arg value="p"/>
<file>.</file>
<exclude-pattern type="relative">(^|/)\.*</exclude-pattern>
<exclude-pattern>/vendor/*</exclude-pattern>
</ruleset>