|
27 | 27 | <exclude name="Squiz.Commenting.FileComment.WrongStyle" /> |
28 | 28 | <exclude name="Squiz.Commenting.FileComment.SpacingAfterOpen" /> |
29 | 29 | <exclude name="Squiz.Commenting.PostStatementComment.Found" /> |
30 | | - <exclude name="Squiz.PHP.DisallowMultipleAssignments.Found" /> |
31 | 30 | <exclude name="Squiz.Commenting.LongConditionClosingComment.Missing" /> |
32 | 31 | <exclude name="Squiz.Commenting.LongConditionClosingComment.Invalid" /> |
33 | 32 | <exclude name="Squiz.Commenting.FunctionComment.Missing" /> |
34 | 33 | <exclude name="Squiz.Commenting.FunctionCommentThrowTag.Missing" /> |
| 34 | + <exclude name="Squiz.Commenting.FileComment.SpacingAfterOpen"/> |
| 35 | + <exclude name="Squiz.Commenting.FileComment.SpacingAfterComment" /> |
| 36 | + <exclude name="Squiz.Commenting.BlockComment.NoEmptyLineBefore" /> |
| 37 | + </rule> |
| 38 | + |
| 39 | + <rule ref="Squiz.PHP"> |
| 40 | + <exclude name="Squiz.PHP.DisallowMultipleAssignments.Found" /> |
| 41 | + <exclude name="Squiz.PHP.GlobalKeyword.NotAllowed" /> |
| 42 | + <exclude name="Squiz.PHP.DisallowBooleanStatement.Found" /> |
| 43 | + <exclude name="Squiz.PHP.DisallowInlineIf.Found" /> |
| 44 | + </rule> |
| 45 | + |
| 46 | + <rule ref="Squiz.WhiteSpace.FunctionSpacing" > |
| 47 | + <properties> |
| 48 | + <property name="spacing" value="1" /> |
| 49 | + </properties> |
| 50 | + </rule> |
| 51 | + |
| 52 | + <rule ref="Squiz.WhiteSpace"> |
| 53 | + <exclude name="Squiz.Whitespace.CastSpacing.ContainsWhiteSpace" /> |
| 54 | + <exclude name="Squiz.WhiteSpace.SuperfluousWhitespace.EmptyLines" /> |
| 55 | + <exclude name="Squiz.WhiteSpace.FunctionSpacing.Before" /> |
| 56 | + <exclude name="Squiz.WhiteSpace.FunctionSpacing.After" /> |
| 57 | + <exclude name="Squiz.WhiteSpace.FunctionClosingBraceSpace.SpacingBeforeClose" /> |
| 58 | + <exclude name="Squiz.WhiteSpace.ControlStructureSpacing.SpaceBeforeCloseBrace" /> |
| 59 | + <exclude name="Squiz.WhiteSpace.ControlStructureSpacing.SpacingAfterOpenBrace" /> |
| 60 | + <exclude name="Squiz.WhiteSpace.ControlStructureSpacing.SpacingBeforeClose" /> |
| 61 | + <exclude name="WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd" /> |
35 | 62 | </rule> |
36 | 63 |
|
37 | 64 | <rule ref="PEAR.NamingConventions"> |
38 | 65 | <exclude name="PEAR.NamingConventions.ValidClassName.Invalid" /> |
| 66 | + <exclude name="PEAR.NamingConventions.ValidVariableName.PrivateNoUnderscore" /> |
39 | 67 | </rule> |
| 68 | + |
40 | 69 | <rule ref="PEAR.NamingConventions.ValidFunctionName"> |
41 | 70 | <exclude name="PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps" /> |
42 | 71 | <exclude name="PEAR.NamingConventions.ValidFunctionName.NotCamelCaps" /> |
| 72 | + <exclude name="PEAR.NamingConventions.ValidFunctionName.FunctionNoCapital" /> |
43 | 73 | </rule> |
44 | 74 |
|
45 | 75 | <!-- https://github.com/wimg/PHPCompatibility/ --> |
|
54 | 84 | <exclude name="Generic.Commenting.DocComment.MissingShort" /> |
55 | 85 | <exclude name="Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed" /> |
56 | 86 | <exclude name="Generic.PHP.Syntax" /> |
57 | | - <exclude name="Squiz.WhiteSpace.SuperfluousWhitespace.EmptyLines" /> |
58 | | - <exclude name="Squiz.Commenting.FileComment.SpacingAfterOpen"/> |
59 | | - <exclude name="Squiz.Commenting.FileComment.SpacingAfterComment" /> |
60 | | - <exclude name="Squiz.Commenting.BlockComment.NoEmptyLineBefore" /> |
61 | 87 | <exclude name="PEAR.Functions.FunctionCallSignature.Indent" /> |
62 | | - <exclude name="PEAR.NamingConventions.ValidFunctionName.FunctionNoCapital" /> |
63 | 88 | <exclude name="WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys" /> |
64 | 89 | <exclude name="WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys" /> |
65 | 90 | <exclude name="WordPress.Files.FileName.InvalidClassFileName"/> |
|
0 commit comments