Skip to content

Commit

Permalink
Build/PHPCS: add temporary exclusion
Browse files Browse the repository at this point in the history
There is one issue remaining for which a technical debt issue has been created - 50 -.
For now, ignore these issues.
  • Loading branch information
jrfnl committed Dec 12, 2019
1 parent 01e7570 commit 6dce9d7
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .phpcs.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,21 @@
<exclude-pattern>*/deprecated/*\.php$</exclude-pattern>
</rule>


<!--
#############################################################################
TEMPORARY ADJUSTMENTS
Adjustments which should be removed once the associated issue has been resolved.
#############################################################################
-->

<!-- Direct database queries need careful review.
Ticket: https://github.com/Yoast/comment-hacks/issues/50
-->
<rule ref="WordPress.DB.DirectDatabaseQuery">
<exclude-pattern>/admin/comment-parent\.php$</exclude-pattern>
<exclude-pattern>/inc/clean-emails\.php$</exclude-pattern>
<exclude-pattern>/inc/email-links\.php$</exclude-pattern>
</rule>

</ruleset>

0 comments on commit 6dce9d7

Please sign in to comment.