Add pledge archive templates

This commit is contained in:
Kelly Dwan 2019-10-09 14:38:44 -04:00
parent 3847e83cf3
commit b210abe340
No known key found for this signature in database
GPG key ID: 8BA5575F3D11575D
3 changed files with 125 additions and 0 deletions

View file

@ -94,6 +94,12 @@
<exclude name="WordPress.PHP.DevelopmentFunctions.error_log_print_r" />
</rule>
<!-- Ignore the CPT template filename, since it is based on the CPT name, and can't change. -->
<rule ref="WordPress.Files.FileName.NotHyphenatedLowercase">
<exclude-pattern>*/template-parts/content-5ftf_pledge.php$</exclude-pattern>
<exclude-pattern>*/archive-5ftf_pledge.php$</exclude-pattern>
</rule>
<rule ref="WordPress-Docs">
<!-- If files/variables are given descriptive names like they should be, then an explicit description is usually unnecessary, so leave this as a judgement call. -->
<exclude name="Squiz.Commenting.FunctionComment.MissingParamComment" />