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

    <file>./</file>

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

    <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="PSR12">
        <exclude name="PSR12.Properties.ConstantVisibility.NotFound"/>
    </rule>

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