<?xml version="1.0"?>
<ruleset name="PHPCS rule set">
    <description>Custom rule set.</description>

    <file>.</file>
    <file>test</file>
    <file>autoload.php</file>

    <exclude-pattern>docs/*</exclude-pattern>
    <exclude-pattern>coverage/*</exclude-pattern>
    <exclude-pattern>webroot/imgs.php</exclude-pattern>
    <exclude-pattern>webroot/imgp.php</exclude-pattern>
    <exclude-pattern>webroot/imgd.php</exclude-pattern>
    <exclude-pattern>webroot/test/*</exclude-pattern>
    <exclude-pattern>webroot/js/*</exclude-pattern>
    <exclude-pattern>webroot/compare/*</exclude-pattern>

    <arg name="encoding" value="utf-8"/>
    <!--<arg name="extensions" value=".php"/>-->
    <!--<arg name="colors" value="1"/>-->
    <!--<arg name="warning-severity" value="5"/>-->

    <rule ref="PSR2">
        <exclude name="PSR1.Classes.ClassDeclaration.MissingNamespace" />         <exclude name="Squiz.Commenting.FileComment" />
        <exclude name="Squiz.ControlStructures.ControlSignature.NewlineAfterOpenBrace" />

        <!--
        <exclude name="PSR1.Classes.ClassDeclaration.MissingNamespace" />
        -->
    </rule>
    
</ruleset>
