summaryrefslogtreecommitdiffstats
path: root/.phpcs.xml
blob: d1d0ed7498041cd0794e0fb2c5cbc37c2e6a4397 (plain)
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
<?xml version="1.0"?>
<ruleset name="PHP_CodeSniffer">
    <description>Sniff our code a while</description>

    <file>./</file>

    <exclude-pattern>vendor/*</exclude-pattern>

    <arg value="wps"/>
    <arg name="report-width" value="auto"/>
    <arg name="report-full"/>
    <arg name="report-gitblame"/>
    <arg name="report-summary"/>
    <arg name="encoding" value="UTF-8"/>
    <arg name="extensions" value="php"/>

    <rule ref="PSR2"/>

    <rule ref="Generic.Files.LineLength">
        <properties>
            <property name="lineLimit" value="120"/>
            <property name="absoluteLineLimit" value="0"/>
        </properties>
    </rule>
</ruleset>