chore: update for wpcs v3
This commit is contained in:
parent
dd4dade0da
commit
952a7fe304
1 changed files with 15 additions and 15 deletions
28
ruleset.xml
28
ruleset.xml
|
@ -7,20 +7,20 @@
|
||||||
<rule ref="PSR12" />
|
<rule ref="PSR12" />
|
||||||
|
|
||||||
<!-- Include some rules I want to enforce -->
|
<!-- Include some rules I want to enforce -->
|
||||||
<rule ref='Generic.Commenting.DocComment.ShortNotCapital' />
|
<rule ref="Generic.Arrays.DisallowLongArraySyntax" />
|
||||||
<rule ref='Generic.Formatting.MultipleStatementAlignment.IncorrectWarning' />
|
<rule ref="Generic.Commenting.DocComment.ShortNotCapital" />
|
||||||
<rule ref='Generic.Formatting.MultipleStatementAlignment.NotSameWarning' />
|
<rule ref="Generic.Formatting.MultipleStatementAlignment.IncorrectWarning" />
|
||||||
<rule ref='NormalizedArrays.Arrays.ArrayBraceSpacing' />
|
<rule ref="Generic.Formatting.MultipleStatementAlignment.NotSameWarning" />
|
||||||
<rule ref='NormalizedArrays.Arrays.CommaAfterLast' />
|
<rule ref="NormalizedArrays.Arrays.ArrayBraceSpacing" />
|
||||||
<rule ref='PEAR.Functions.FunctionCallSignature.CloseBracketLine' />
|
<rule ref="NormalizedArrays.Arrays.CommaAfterLast" />
|
||||||
<rule ref='PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket' />
|
<rule ref="PEAR.Functions.FunctionCallSignature.CloseBracketLine" />
|
||||||
<rule ref='Universal.Arrays.DisallowShortArraySyntax' />
|
<rule ref="PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket" />
|
||||||
<rule ref='Universal.Operators.StrictComparisons' />
|
<rule ref="Universal.Operators.StrictComparisons" />
|
||||||
<rule ref='Universal.WhiteSpace.CommaSpacing' />
|
<rule ref="Universal.WhiteSpace.CommaSpacing" />
|
||||||
<rule ref='WordPress.Arrays.ArrayDeclarationSpacing' />
|
<rule ref="WordPress.Arrays.ArrayDeclarationSpacing" />
|
||||||
<rule ref='WordPress.Arrays.ArrayIndentation.ItemNotAligned' />
|
<rule ref="WordPress.Arrays.ArrayIndentation.ItemNotAligned" />
|
||||||
<rule ref='WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned' />
|
<rule ref="WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned" />
|
||||||
<rule ref='WordPress.PHP.YodaConditions.NotYoda' />
|
<rule ref="WordPress.PHP.YodaConditions.NotYoda" />
|
||||||
|
|
||||||
<!-- Exclude some rules -->
|
<!-- Exclude some rules -->
|
||||||
<rule ref="PSR12">
|
<rule ref="PSR12">
|
||||||
|
|
Loading…
Reference in a new issue