<commit_before><?xml version="1.0"?>
<ruleset name="AMP QA Tester Coding Standards">
	<arg name="extensions" value="php" />
	<arg name="colors" />
	<arg name="parallel" value="16" />
	<arg value="s" />

	<rule ref="WordPress-Core">
		<exclude name="Generic.Arrays.DisallowShortArraySyntax" />
		<exclude name="Generic.PHP.ForbiddenFunctions" />
		<exclude name="Generic.PHP.Syntax" />
		<exclude name="PSR2.Classes.PropertyDeclaration.Underscore" />
		<exclude name="Squiz.PHP.CommentedOutCode.Found" />
		<exclude name="WordPress.WP.TimezoneChange" />
	</rule>

	<rule ref="WordPress-Extra"/>
	<rule ref="WordPress-Docs" />
	<rule ref="WordPress.WP.I18n">
		<properties>
			<property name="text_domain" type="array">
				<element value="amp-qa-tester" />
			</property>
			<property name="check_translator_comments" value="true" />
		</properties>
	</rule>
	<rule ref="VariableAnalysis"/>
	<rule ref="PHPCompatibilityWP" />

	<rule ref="WordPress.Files.FileName.InvalidClassFileName">
		<exclude-pattern>src/*</exclude-pattern>
		<exclude-pattern>test/php/*</exclude-pattern>
	</rule>

	<rule ref="WordPress.Files.FileName.NotHyphenatedLowercase">
		<exclude-pattern>src/*</exclude-pattern>
	</rule>

	<rule ref="Squiz.Classes.ClassFileName">
		<include-pattern>src/*</include-pattern>
	</rule>

	<config name="testVersion" value="5.6-" />

	<file>.</file>

	<exclude-pattern>*/assets/*</exclude-pattern>
	<exclude-pattern>*/bin/*</exclude-pattern>
	<exclude-pattern>*/js/*</exclude-pattern>
	<exclude-pattern>*/node_modules/*</exclude-pattern>
	<exclude-pattern>*/tests/coverage/*</exclude-pattern>
	<exclude-pattern>*/vendor/*</exclude-pattern>
</ruleset><commit_msg>Enforce pascal case file and class name for tests<commit_after><?xml version="1.0"?>
<ruleset name="AMP QA Tester Coding Standards">
	<arg name="extensions" value="php" />
	<arg name="colors" />
	<arg name="parallel" value="16" />
	<arg value="s" />

	<rule ref="WordPress-Core">
		<exclude name="Generic.Arrays.DisallowShortArraySyntax" />
		<exclude name="Generic.PHP.ForbiddenFunctions" />
		<exclude name="Generic.PHP.Syntax" />
		<exclude name="PSR2.Classes.PropertyDeclaration.Underscore" />
		<exclude name="Squiz.PHP.CommentedOutCode.Found" />
		<exclude name="WordPress.WP.TimezoneChange" />
	</rule>

	<rule ref="WordPress-Extra"/>
	<rule ref="WordPress-Docs" />
	<rule ref="WordPress.WP.I18n">
		<properties>
			<property name="text_domain" type="array">
				<element value="amp-qa-tester" />
			</property>
			<property name="check_translator_comments" value="true" />
		</properties>
	</rule>
	<rule ref="VariableAnalysis"/>
	<rule ref="PHPCompatibilityWP" />

	<rule ref="WordPress.Files.FileName.InvalidClassFileName">
		<exclude-pattern>src/*</exclude-pattern>
		<exclude-pattern>tests/php/*</exclude-pattern>
	</rule>

	<rule ref="WordPress.Files.FileName.NotHyphenatedLowercase">
		<exclude-pattern>src/*</exclude-pattern>
		<exclude-pattern>tests/php/*</exclude-pattern>
	</rule>

	<rule ref="Squiz.Classes.ClassFileName">
		<include-pattern>src/*</include-pattern>
		<include-pattern>tests/php/*</include-pattern>
	</rule>

	<config name="testVersion" value="5.6-" />

	<file>.</file>

	<exclude-pattern>*/assets/*</exclude-pattern>
	<exclude-pattern>*/bin/*</exclude-pattern>
	<exclude-pattern>*/js/*</exclude-pattern>
	<exclude-pattern>*/node_modules/*</exclude-pattern>
	<exclude-pattern>*/tests/coverage/*</exclude-pattern>
	<exclude-pattern>*/vendor/*</exclude-pattern>
</ruleset>
{'fraction_non_alphanumeric': 0.19568345323741007, 'fraction_numerical': 0.005179856115107914, 'mean_word_length': 5.1305114638447975, 'pattern_counts': {'":': 0, '<': 119, '<?xml version=': 2, '>': 119, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6141906', 'n_tokens_mistral': 1296, 'n_tokens_neox': 1175, 'n_words': 167}