summaryrefslogtreecommitdiffstats
path: root/phpcs.xml
blob: e92acddd34f3e22cb7a9ab1eef0bfde2e32a40d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?xml version="1.0"?>
<ruleset name="PSR12">
    <!-- Test all PHP files except those in vendor/ -->
    <file>./</file>
    <arg name="extensions" value="php"/>
    <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"/>

    <rule ref="PSR12"/>

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