<?xml version="1.0"?>
<ruleset name="Package">
	<description>The Package coding standard.</description>

	<!-- Exclude folders not containing production code -->
	<exclude-pattern type="relative">build/*</exclude-pattern>
	<exclude-pattern type="relative">docs/*</exclude-pattern>
	<exclude-pattern type="relative">cache/*</exclude-pattern>
	<exclude-pattern type="relative">tmp/*</exclude-pattern>
	<exclude-pattern type="relative">logs/*</exclude-pattern>

	<!-- Exclude 3rd party libraries and Framework code. -->
	<exclude-pattern type="relative">vendor/*</exclude-pattern>
    <exclude-pattern type="relative">.git/*</exclude-pattern>


    <arg name="colors"/>
    <!-- <arg name="report" value="summary"/>
    <arg value="sp"/> -->

	<!-- Include some additional sniffs from the Generic standard -->
	<rule ref="PSR2">
		<exclude name="PEAR.Functions.FunctionCallSignature"/>
		<exclude name="PEAR.Functions.FunctionCallSignature.SpaceAfterCloseBracket"/>
	</rule>

    <rule ref="Generic.Files.LineLength">
        <properties>
            <property phpcs-only="true" name="lineLimit" value="100"/>
            <property phpcbf-only="true" name="lineLimit" value="120"/>
        </properties>
    </rule>

</ruleset>
