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