<?xml version="1.0"?>
<ruleset name="PSR2Modified">
    <!-- Run against the PHPCompatibility ruleset. -->
    <rule ref="PHPCompatibility" />
    <!--
    <config name="installed_paths" value="vendor/phpcompatibility/php-compatibility" />
    -->

    <!-- Run against the PSR2 ruleset with some exclusions. -->
    <rule ref="PSR2">
        <exclude name="Generic.Functions.FunctionCallArgumentSpacing.TooMuchSpaceAfterComma" />
        <exclude name="PSR1.Methods.CamelCapsMethodName.NotCamelCaps" />
        <exclude name="Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine" />
        <exclude name="Squiz.Functions.MultiLineFunctionDeclaration.UseOneParamPerLine" />

        <!-- TODO: Remove the following exclusion when Curl::_fastDownload() is renamed to Curl::fastDownload(). -->
        <exclude name="PSR2.Methods.MethodDeclaration.Underscore" />
    </rule>

    <!-- Disable "No PHP code was found in this file" for symlinks. -->
    <rule ref="Internal.NoCodeFound">
        <severity>0</severity>
    </rule>
</ruleset>

<?xml version="1.0"?>
<ruleset name="PSR2Modified">
    <!-- Run against the PHPCompatibility ruleset. -->
    <rule ref="PHPCompatibility" />
    <config name="installed_paths" value="vendor/phpcompatibility/php-compatibility,vendor/phpcsstandards/phpcsutils/PHPCS23Utils" />

    <!-- Run against the PSR2 ruleset with some exclusions. -->
    <rule ref="PSR2">
        <exclude name="Generic.Functions.FunctionCallArgumentSpacing.TooMuchSpaceAfterComma" />
        <exclude name="PSR1.Methods.CamelCapsMethodName.NotCamelCaps" />
        <exclude name="Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine" />
        <exclude name="Squiz.Functions.MultiLineFunctionDeclaration.UseOneParamPerLine" />

        <!-- TODO: Remove the following exclusion when Curl::_fastDownload() is renamed to Curl::fastDownload(). -->
        <exclude name="PSR2.Methods.MethodDeclaration.Underscore" />
    </rule>

    <!-- Disable "No PHP code was found in this file" for symlinks. -->
    <rule ref="Internal.NoCodeFound">
        <severity>0</severity>
    </rule>
</ruleset>

Fix installed_paths config for PHPCS23Utils
Fix installed_paths config for PHPCS23Utils

Fixes error:
    $ ./tests/check_coding_standards.sh
    PHP_CodeSniffer version 3.7.1 (stable) by Squiz (http://www.squiz.net)
    ERROR: Referenced sniff "PHPCS23Utils" does not exist

    Run "phpcs --help" for usage information

    Error: found standard violation(s)
