-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpcs.xml
26 lines (24 loc) · 980 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
<?xml version="1.0"?>
<!--
phpcs configuration file.
minimum version: ^3.11
@see https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki/Annotated-Ruleset
-->
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="advent-of-code-solutions">
<description>PHP_CodeSniffer configuration</description>
<config name="php_version" value="80400"/>
<arg name="cache" value=".tools/.phpcs.cache"/>
<arg name="extensions" value="php"/>
<arg name="encoding" value="utf-8"/>
<arg name="tab-width" value="4"/>
<arg name="report" value="full"/>
<arg name="report-width" value="120"/>
<arg name="colors"/>
<arg value="sp"/>
<!-- rules: https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/src/Standards/PSR12/ruleset.xml -->
<rule ref="PSR12"/>
<file>.</file>
<exclude-pattern>*/.git/*</exclude-pattern>
<exclude-pattern>*/.tools/*</exclude-pattern>
<exclude-pattern>*/vendor/*</exclude-pattern>
</ruleset>