File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed
Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 66
77 <!-- Load WordPress Coding standards -->
88 <rule ref =" WPGraphQL-Strict" >
9- <!-- This would be a breaking change to fix in Core -->
10- <exclude name =" WordPress.NamingConventions.ValidFunctionName.MethodNameInvalid" />
119 <!-- Conflicts with b/c in AbstractConnectionResolver -->
1210 <exclude name =" Squiz.Commenting.FunctionComment.InvalidNoReturn" />
11+ <!-- This would be a breaking change to fix in Core -->
12+ <exclude name =" WordPress.NamingConventions.ValidFunctionName.MethodNameInvalid" />
13+ <!-- Most capabilities are referenced via variable -->
14+ <exclude name =" WordPress.WP.Capabilities.Undetermined" />
15+ <!-- Needs core decision: https://github.com/wp-graphql/wp-graphql/pull/2924/files#r1317187370 -->
16+ <exclude name =" Generic.CodeAnalysis.UnusedFunctionParameter" />
1317 </rule >
1418
1519</ruleset >
Original file line number Diff line number Diff line change 1313 </properties >
1414 </rule >
1515
16+ <rule ref =" Generic.CodeAnalysis.UnusedFunctionParameter" >
17+ <severity >5</severity >
18+ </rule >
1619 <rule ref =" PEAR.Functions.FunctionCallSignature.CloseBracketLine" >
1720 <severity >5</severity >
1821 </rule >
2528 <rule ref =" WordPress.NamingConventions.ValidFunctionName.MethodNameInvalid" >
2629 <severity >5</severity >
2730 </rule >
31+ <rule ref =" WordPress.WP.Capabilities.Undetermined" >
32+ <severity >5</severity >
33+ </rule >
2834
2935 <!-- Additional commenting sniffs are in WPGraphQL-Docs -->
3036 <rule ref =" Squiz.Commenting.FunctionComment" >
You can’t perform that action at this time.
0 commit comments