<?xml version="1.0"?>
<ruleset name="KPQuote Standards">
	<config name="installed_paths" value="vendor/phpcompatibility/php-compatibility" />
	<config name="testVersion" value="8.1" />

	<exclude-pattern>*\.(inc|css|js)$</exclude-pattern>

	<file>./application</file>
	<file>./lib</file>
	<file>./system</file>
	<file>./modules</file>
	<file>./themes</file>
	<file>./installer</file>

	<arg name="colors"/>
	<arg name="tab-width" value="4"/>
	<arg name="report" value="full"/>
	<arg name="parallel" value="2"/>

	<ini name="memory_limit" value="512M"/>

	<rule ref="PHPCompatibility" />

	<rule ref="PHPCompatibility.Extensions.RemovedExtensions">
		<exclude name="PHPCompatibility.Extensions.RemovedExtensions.mysql_DeprecatedRemoved"/>
	</rule>

	<rule ref="PHPCompatibility.FunctionUse.ArgumentFunctionsReportCurrentValue">
		<exclude name="PHPCompatibility.FunctionUse.ArgumentFunctionsReportCurrentValue.Changed"/>
	</rule>

	<rule ref="PHPCompatibility.FunctionUse.ArgumentFunctionsReportCurrentValue">
		<exclude name="PHPCompatibility.FunctionUse.ArgumentFunctionsReportCurrentValue.NeedsInspection"/>
	</rule>

	<rule ref="PHPCompatibility.FunctionUse.RemovedFunctions">
		<exclude name="PHPCompatibility.FunctionUse.RemovedFunctions.mcrypt_get_iv_sizeDeprecatedRemoved"/>
		<exclude name="PHPCompatibility.FunctionUse.RemovedFunctions.mcrypt_create_ivDeprecatedRemoved"/>
		<exclude name="PHPCompatibility.FunctionUse.RemovedFunctions.mcrypt_encryptDeprecatedRemoved"/>
		<exclude name="PHPCompatibility.FunctionUse.RemovedFunctions.mcrypt_decryptDeprecatedRemoved"/>
		<exclude name="PHPCompatibility.FunctionUse.RemovedFunctions.mcrypt_get_key_sizeDeprecatedRemoved"/>
		<exclude name="PHPCompatibility.Constants.RemovedConstants.mcrypt_dev_urandomDeprecatedRemoved"/>
		<exclude name="PHPCompatibility.Constants.RemovedConstants.mcrypt_dev_randomDeprecatedRemoved"/>
	</rule>

	<rule ref="PHPCompatibility.Constants.RemovedConstants">
		<exclude name="PHPCompatibility.Constants.RemovedConstants.mcrypt_mode_nofbDeprecatedRemoved"/>
		<exclude name="PHPCompatibility.Constants.RemovedConstants.mcrypt_rijndael_128DeprecatedRemoved"/>
		<exclude name="PHPCompatibility.Constants.RemovedConstants.mcrypt_rijndael_256DeprecatedRemoved"/>
		<exclude name="PHPCompatibility.Constants.RemovedConstants.mcrypt_randDeprecatedRemoved"/>
		<exclude name="PHPCompatibility.Constants.RemovedConstants.mcrypt_mode_ecbDeprecatedRemoved"/>
	</rule>

	<rule ref="PHPCompatibility.Extensions.RemovedExtensions">
		<exclude name="PHPCompatibility.Extensions.RemovedExtensions.mcryptDeprecatedRemoved"/>
	</rule>

<!--
	<rule ref="Squiz">
		<exclude name="Squiz.Commenting"/>
		<exclude name="Squiz.NamingConventions.ValidVariableName.NotCamelCaps"/>
		<exclude name="Squiz.Operators.ComparisonOperatorUsage.ImplicitTrue"/>
		<exclude name="Squiz.PHP.EmbeddedPhp.SpacingAfterOpen"/>
		<exclude name="Zend.Files.ClosingTag.NotAllowed"/>
	</rule>

	<rule ref="Generic.PHP.DisallowShortOpenTag">
		<exclude name="Generic.PHP.DisallowShortOpenTag.Found"/>
		<exclude name="Generic.PHP.DisallowShortOpenTag.EchoFound"/>
	</rule>

	<rule ref="Generic.WhiteSpace.ScopeIndent">
		<properties>
			<property name="indent" value="4"/>
			<property name="tabIndent" value="true"/>
		</properties>
	</rule>

-->
</ruleset>
