<?xml version="1.0"?>
<ruleset name="UpdraftPlus">
    <!-- How to run on Commandline: vendor/bin/phpcs -p -s -d memory_limit=150M \-\-standard=CI/php-compatibility.xml src/ \-\-report-full \-\-extensions=php -->
    <description>UpdraftPlus PHP Compatibility Check</description>
    <!-- Set Memory Limit -->
    <ini name="memory_limit" value="150M"/>
    <!-- CI Cache -->
    <arg name="cache" value="../CI/phpcs-cache-compatibility"/>
    <!-- Check up to 4 files simultanously. -->
    <arg name="parallel" value="4"/>
    <!-- Only Test for PHP 5.2+ -->
    <config name="testVersion" value="5.2-"/>
    <!-- Ignoring Folders As they are part of Vendor packages -->
    <!-- <exclude-pattern>src/tools/customer-tools/vendor</exclude-pattern> -->
    <!-- PHPCompatibility -->
    <rule ref="PHPCompatibility"/>
    <rule ref="Generic.PHP.Syntax"/>
</ruleset>
