Skip to content

Commit

Permalink
Merge pull request #378 from Yoast/feature/yoastce-ruleset-ensure-com…
Browse files Browse the repository at this point in the history
…maspacing-is-checked

YoastCS: always flag comma spacing in function calls
  • Loading branch information
jrfnl committed Apr 7, 2024
2 parents 533b74e + 0a8024e commit 159ccc1
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Yoast/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,19 @@
</properties>
</rule>

<!-- Excluded in WPCS, but the exclusion does not work well with a code base using short arrays.
This may lead to some duplicate notices, but rather that, than these issues not being flagged.
-->
<rule ref="Universal.WhiteSpace.CommaSpacing.SpaceBeforeInFunctionCall">
<severity>5</severity>
</rule>
<rule ref="Universal.WhiteSpace.CommaSpacing.TooMuchSpaceAfterInFunctionCall">
<severity>5</severity>
</rule>
<rule ref="Universal.WhiteSpace.CommaSpacing.NoSpaceAfterInFunctionCall">
<severity>5</severity>
</rule>


<!--
#############################################################################
Expand Down

0 comments on commit 159ccc1

Please sign in to comment.