<?xml version="1.0"?>
<ruleset name="FlashSpeed release checks">
    <description>Security, database, internationalization, and PHP 7.4+ compatibility checks for first-party runtime code.</description>

    <config name="installed_paths" value="vendor/wp-coding-standards/wpcs,vendor/phpcompatibility/php-compatibility,vendor/phpcompatibility/phpcompatibility-paragonie,vendor/phpcompatibility/phpcompatibility-wp,vendor/phpcsstandards/phpcsextra,vendor/phpcsstandards/phpcsutils"/>
    <config name="testVersion" value="7.4-"/>

    <arg name="basepath" value="."/>
    <arg name="colors"/>
    <arg name="extensions" value="php"/>
    <arg name="parallel" value="8"/>

    <file>flashspeed.php</file>
    <file>free</file>
    <file>includes</file>
    <file>premium</file>

    <exclude-pattern>premium/vendor/*</exclude-pattern>

    <rule ref="PHPCompatibilityWP"/>
    <rule ref="WordPress.Security"/>
    <rule ref="WordPress.DB.PreparedSQL"/>
    <rule ref="WordPress.DB.RestrictedFunctions"/>
</ruleset>
