<?xml version="1.0"?>
<ruleset>
    <arg name="basepath" value="."/>
    <arg name="extensions" value="php"/>
    <arg name="parallel" value="80"/>
    <arg name="cache" value=".phpcs-cache"/>
    <arg name="colors" />

    <!-- Show progress of the run -->
    <arg value="p"/>

    <file>src</file>
    <file>tests</file>

    <rule ref="PSR2"/>

    <!-- Allow long lines -->
    <rule ref="Generic.Files.LineLength">
        <severity>0</severity>
    </rule>
    <!-- Disallow short array syntax -->
    <rule ref="Generic.Arrays.DisallowLongArraySyntax.Found">
        <type>error</type>
    </rule>
</ruleset>
