<commit_before><?xml version="1.0"?>
<ruleset name="BCA Coding Standard">

  <description>CodeSniffer standard for use in BCA projects.</description>

  <rule ref="PSR1"/>
  <rule ref="PSR2"/>
  <rule ref="PEAR">
    <exclude name="Generic.Files.LineLength"/>
    <exclude name="PEAR.Commenting"/>
    <exclude name="PEAR.NamingConventions.ValidFunctionName.PublicUnderscore"/>
    <exclude name="PEAR.NamingConventions.ValidFunctionName.PrivateNoUnderscore"/>
    <exclude name="PEAR.NamingConventions.ValidVariableName.PrivateNoUnderscore"/>
    <exclude name="PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket"/>
    <exclude name="PEAR.Functions.FunctionCallSignature.CloseBracketLine"/>
    <exclude name="PEAR.Functions.FunctionDeclaration.BraceOnSameLine"/>
  </rule>
  <rule ref="Generic">
    <exclude name="Generic.Arrays.DisallowShortArraySyntax.Found"/>
    <exclude name="Generic.Files.EndFileNoNewline"/>
    <exclude name="Generic.Files.LowercasedFilename.NotFound"/>
    <exclude name="Generic.Functions.OpeningFunctionBraceKernighanRitchie"/>
    <exclude name="Generic.Formatting.NoSpaceAfterCast.SpaceFound"/>
    <exclude name="Generic.Formatting.MultipleStatementAlignment.NotSameWarning"/>
    <exclude name="Generic.Metrics"/>
    <exclude name="Generic.PHP.ClosingPHPTag.NotFound"/>
    <exclude name="Generic.PHP.UpperCaseConstant.Found"/>
    <exclude name="Generic.Strings.UnnecessaryStringConcat.Found"/>
    <exclude name="Generic.WhiteSpace.DisallowSpaceIndent"/>
  </rule>
  <rule ref="Squiz.Arrays.ArrayBracketSpacing"/>
  <rule ref="Squiz.Classes">
    <exclude name="Squiz.Classes.ClassDeclaration.EndFileAfterCloseBrace"/>
  </rule>
  <rule ref="Generic.CodeAnalysis"/>
  <rule ref="Squiz.Commenting">
    <exclude name="Squiz.Commenting.ClosingDeclarationComment"/>
    <exclude name="Squiz.Commenting.FileComment.Missing"/>
    <exclude name="Squiz.Commenting.FileComment.MissingSubpackageTag"/>
    <exclude name="Squiz.Commenting.FileComment.IncorrectAuthor"/>
    <exclude name="Squiz.Commenting.FileComment.IncorrectCopyright"/>
    <exclude name="Squiz.Commenting.FileComment.IncorrectPackage"/>
    <exclude name="Squiz.Commenting.FileComment.ShortFullStop"/>
    <exclude name="Squiz.Commenting.LongConditionClosingComment.Missing"/>
    <exclude name="Squiz.Commenting.FunctionComment.InvalidNoReturn"/><commit_msg>Remove requirement for function parameters to have comments.<commit_after><?xml version="1.0"?>
<ruleset name="BCA Coding Standard">

  <description>CodeSniffer standard for use in BCA projects.</description>

  <rule ref="PSR1"/>
  <rule ref="PSR2"/>
  <rule ref="PEAR">
    <exclude name="Generic.Files.LineLength"/>
    <exclude name="PEAR.Commenting"/>
    <exclude name="PEAR.NamingConventions.ValidFunctionName.PublicUnderscore"/>
    <exclude name="PEAR.NamingConventions.ValidFunctionName.PrivateNoUnderscore"/>
    <exclude name="PEAR.NamingConventions.ValidVariableName.PrivateNoUnderscore"/>
    <exclude name="PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket"/>
    <exclude name="PEAR.Functions.FunctionCallSignature.CloseBracketLine"/>
    <exclude name="PEAR.Functions.FunctionDeclaration.BraceOnSameLine"/>
  </rule>
  <rule ref="Generic">
    <exclude name="Generic.Arrays.DisallowShortArraySyntax.Found"/>
    <exclude name="Generic.Files.EndFileNoNewline"/>
    <exclude name="Generic.Files.LowercasedFilename.NotFound"/>
    <exclude name="Generic.Functions.OpeningFunctionBraceKernighanRitchie"/>
    <exclude name="Generic.Formatting.NoSpaceAfterCast.SpaceFound"/>
    <exclude name="Generic.Formatting.MultipleStatementAlignment.NotSameWarning"/>
    <exclude name="Generic.Metrics"/>
    <exclude name="Generic.PHP.ClosingPHPTag.NotFound"/>
    <exclude name="Generic.PHP.UpperCaseConstant.Found"/>
    <exclude name="Generic.Strings.UnnecessaryStringConcat.Found"/>
    <exclude name="Generic.WhiteSpace.DisallowSpaceIndent"/>
  </rule>
  <rule ref="Squiz.Arrays.ArrayBracketSpacing"/>
  <rule ref="Squiz.Classes">
    <exclude name="Squiz.Classes.ClassDeclaration.EndFileAfterCloseBrace"/>
  </rule>
  <rule ref="Generic.CodeAnalysis"/>
  <rule ref="Squiz.Commenting">
    <exclude name="Squiz.Commenting.ClosingDeclarationComment"/>
    <exclude name="Squiz.Commenting.FileComment.Missing"/>
    <exclude name="Squiz.Commenting.FileComment.MissingSubpackageTag"/>
    <exclude name="Squiz.Commenting.FileComment.IncorrectAuthor"/>
    <exclude name="Squiz.Commenting.FileComment.IncorrectCopyright"/>
    <exclude name="Squiz.Commenting.FileComment.IncorrectPackage"/>
    <exclude name="Squiz.Commenting.FileComment.ShortFullStop"/>
    <exclude name="Squiz.Commenting.LongConditionClosingComment.Missing"/>
    <exclude name="Squiz.Commenting.FunctionComment.InvalidNoReturn"/>
    <exclude name="Squiz.Commenting.FunctionComment.MissingParamComment"/>
{'fraction_non_alphanumeric': 0.13856907894736842, 'fraction_numerical': 0.001644736842105263, 'mean_word_length': 5.710344827586207, 'pattern_counts': {'":': 0, '<': 92, '<?xml version=': 2, '>': 92, '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': '1544661', 'n_tokens_mistral': 1489, 'n_tokens_neox': 1404, 'n_words': 188}