File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 13
13
<!-- Rulesets to use -->
14
14
<rule ref =" PHPCompatibilityWP" />
15
15
<rule ref =" WordPress-Core" >
16
- <exclude name =" Generic .Arrays.DisallowShortArraySyntax" />
16
+ <exclude name =" Universal .Arrays.DisallowShortArraySyntax" />
17
17
<exclude name =" Generic.Formatting.MultipleStatementAlignment.NotSameWarning" />
18
18
<exclude name =" PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket" />
19
19
<exclude name =" PEAR.Functions.FunctionCallSignature.CloseBracketLine" />
20
20
<exclude name =" PEAR.Functions.FunctionCallSignature.MultipleArguments" />
21
21
<exclude name =" WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned" />
22
- <exclude name =" WordPress.PHP .DisallowShortTernary.Found" />
22
+ <exclude name =" Universal.Operators .DisallowShortTernary.Found" />
23
23
<!--
24
24
The following was written by Ryan McCue in the HM Coding Standards.
25
25
I tend to agree with the argument that Yoda conditions are ridiculous
Original file line number Diff line number Diff line change 12
12
"minimum-stability" : " dev" ,
13
13
"prefer-stable" : true ,
14
14
"require" : {
15
- "automattic/vipwpcs" : " ^2.3 " ,
15
+ "automattic/vipwpcs" : " ^3.0 " ,
16
16
"fig-r/psr2r-sniffer" : " ^1.5" ,
17
17
"phpcompatibility/phpcompatibility-wp" : " ^2.1" ,
18
- "wp-coding-standards/wpcs" : " ^2.3 "
18
+ "wp-coding-standards/wpcs" : " ^3.0 "
19
19
},
20
20
"require-dev" : {
21
21
"phpunit/phpunit" : " 9.6.x-dev" ,
You can’t perform that action at this time.
0 commit comments