<?xml version="1.0"?>
<ruleset>
    <!-- Use Pressbooks Coding Standards -->
    <rule ref="vendor/pressbooks/coding-standards">
		<!-- TODO: Enable this again before merging -->
		<exclude name="Pressbooks.Security.EscapeOutput.OutputNotEscaped"/>
		<exclude name="Pressbooks.Security.ValidatedSanitizedInput"/>
	</rule>

    <!-- Disable Side Effects and MissingNamespace rules for bootstrapping files: -->
    <rule ref="PSR1.Files.SideEffects">
        <exclude-pattern>/functions.php</exclude-pattern>
    </rule>
    <rule ref="HM.Functions.NamespacedFunctions.MissingNamespace">
        <exclude-pattern>/functions.php</exclude-pattern>
    </rule>
	<!-- Run against the PHPCompatibility ruleset -->
	<rule ref="PHPCompatibility"/>
	<config name="testVersion" value="7.3-7.4"/>
</ruleset>