<?xml version="1.0"?>
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="PSR12Customized" xsi:noNamespaceSchemaLocation="vendor/squizlabs/php_codesniffer/phpcs.xsd">
    <description>JsonMapper Coding standard</description>

    <file>.</file>

    <!-- Exclude paths: -->
    <exclude-pattern>*/vendor/*</exclude-pattern>

    <!-- Show progress, show the error codes for each message (source): -->
    <arg value="ps" />

    <!-- Strip the filepaths in reports down to the relevant bit: -->
    <arg name="basepath" value="./" />

    <!-- Check up to 8 files simultaneously: -->
    <arg name="parallel" value="8" />

    <rule ref="PSR12"/>

    <!-- Don't check line length in some tests: -->
    <rule ref="Generic.Files.LineLength">
        <exclude-pattern>tests/Unit/Middleware/CaseConversionTest\.php</exclude-pattern>
        <exclude-pattern>tests/Unit/ValueObjects/PropertyMapTest\.php</exclude-pattern>
    </rule>
</ruleset>