File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8989
9090 <rule ref =" WordPress.WP.TimezoneChange" />
9191
92+ <!--
93+ Restore the ability to have multiple arguments per line
94+
95+ WPCS disallowed this behavior in 1.1.0, but we'd like to keep it until
96+ there is a reason to disallow multiple arguments.
97+ Ref: https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/commit/bb8a48671e213a5588a6439ea52411eeefab4b0f
98+ -->
99+ <rule ref =" PEAR.Functions.FunctionCallSignature" >
100+ <properties >
101+ <property name =" allowMultipleArguments" value =" true" />
102+ </properties >
103+ </rule >
104+ <rule ref =" PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket" >
105+ <severity phpcs-only =" true" >0</severity >
106+ </rule >
107+ <rule ref =" PEAR.Functions.FunctionCallSignature.CloseBracketLine" >
108+ <severity phpcs-only =" true" >0</severity >
109+ </rule >
110+
92111 <!--
93112 HM Rules / HM RULEZZZZ
94113
Original file line number Diff line number Diff line change 55 "license" : " GPL-2.0-or-later" ,
66 "require" : {
77 "php" : " >=7.1" ,
8- "wp-coding-standards/wpcs" : " ^1.0.0 " ,
8+ "wp-coding-standards/wpcs" : " 1.2.1 " ,
99 "automattic/vipwpcs" : " ^0.4.0" ,
1010 "fig-r/psr2r-sniffer" : " ^0.5.0" ,
1111 "squizlabs/php_codesniffer" : " ~3.4.0" ,
You can’t perform that action at this time.
0 commit comments