Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YoastCS: always flag comma spacing in function calls #378

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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