-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpcs.xml
23 lines (19 loc) · 865 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
<?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">
<file>.</file>
<exclude-pattern>./vendor/*</exclude-pattern>
<arg name="basepath" value="."/>
<arg name="cache" value=".phpcs-cache"/>
<arg name="colors"/>
<arg name="extensions" value="php"/>
<arg name="parallel" value="75"/>
<arg value="s"/> <!-- Show sniff error codes in all reports. -->
<!--
Define rules
@see rules: https://gist.github.com/lode/1187f45ecf6146102927f04c6ba9b7ab
@see options: https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki/Customisable-Sniff-Properties
-->
<rule ref="PSR12"/>
<rule ref="Generic.PHP.Syntax"/>
<rule ref="Generic.VersionControl.GitMergeConflict"/>
</ruleset>