Skip to content

Commit

Permalink
Re-allow multiple arguments on a multiline function signature
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeselander committed Mar 23, 2019
1 parent 14e70bf commit 5e3e9eb
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions HM/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,25 @@

<rule ref="WordPress.WP.TimezoneChange" />

<!--
Restore the ability to have multiple arguments per line
WPCS disallowed this behavior in 1.1.0, but we'd like to keep it until
there is a reason to disallow this behavior.
Ref: https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/commit/bb8a48671e213a5588a6439ea52411eeefab4b0f
-->
<rule ref="PEAR.Functions.FunctionCallSignature">
<properties>
<property name="allowMultipleArguments" value="true" />
</properties>
</rule>
<rule ref="PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket">
<severity phpcs-only="true">0</severity>
</rule>
<rule ref="PEAR.Functions.FunctionCallSignature.CloseBracketLine">
<severity phpcs-only="true">0</severity>
</rule>

<!--
HM Rules / HM RULEZZZZ
Expand Down

0 comments on commit 5e3e9eb

Please sign in to comment.