File tree Expand file tree Collapse file tree 2 files changed +20
-1
lines changed Expand file tree Collapse file tree 2 files changed +20
-1
lines changed Original file line number Diff line number Diff line change 89
89
90
90
<rule ref =" WordPress.WP.TimezoneChange" />
91
91
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
+
92
111
<!--
93
112
HM Rules / HM RULEZZZZ
94
113
Original file line number Diff line number Diff line change 5
5
"license" : " GPL-2.0-or-later" ,
6
6
"require" : {
7
7
"php" : " >=7.1" ,
8
- "wp-coding-standards/wpcs" : " ^1.0.0 " ,
8
+ "wp-coding-standards/wpcs" : " 1.2.1 " ,
9
9
"automattic/vipwpcs" : " ^0.4.0" ,
10
10
"fig-r/psr2r-sniffer" : " ^0.5.0" ,
11
11
"squizlabs/php_codesniffer" : " ~3.4.0" ,
You can’t perform that action at this time.
0 commit comments