|
3 | 3 | <rule ref="PSR2" /> |
4 | 4 | <rule ref="vendor/slevomat/coding-standard/SlevomatCodingStandard/ruleset.xml"> |
5 | 5 | <exclude name="SlevomatCodingStandard.Classes.ClassConstantVisibility" /> |
| 6 | + <exclude name="SlevomatCodingStandard.Classes.ClassLength.ClassTooLong" /> |
6 | 7 | <exclude name="SlevomatCodingStandard.Classes.DisallowConstructorPropertyPromotion" /> |
7 | 8 | <exclude name="SlevomatCodingStandard.Classes.SuperfluousExceptionNaming" /> |
| 9 | + <exclude name="SlevomatCodingStandard.Complexity.Cognitive.ComplexityTooHigh" /> |
8 | 10 | <exclude name="SlevomatCodingStandard.ControlStructures.AssignmentInCondition" /> |
9 | 11 | <exclude name="SlevomatCodingStandard.ControlStructures.DisallowNullSafeObjectOperator.DisallowedNullSafeObjectOperator" /> |
10 | 12 | <exclude name="SlevomatCodingStandard.ControlStructures.DisallowShortTernaryOperator" /> |
11 | 13 | <exclude name="SlevomatCodingStandard.ControlStructures.DisallowYodaComparison" /> |
12 | 14 | <exclude name="SlevomatCodingStandard.ControlStructures.NewWithoutParentheses" /> |
13 | 15 | <exclude name="SlevomatCodingStandard.Exceptions.DisallowNonCapturingCatch.DisallowedNonCapturingCatch" /> |
| 16 | + <exclude name="SlevomatCodingStandard.Files.FileLength.FileTooLong" /> |
14 | 17 | <exclude name="SlevomatCodingStandard.Files.FunctionLength.FunctionLength" /> |
15 | 18 | <exclude name="SlevomatCodingStandard.Files.TypeNameMatchesFileName" /> |
16 | 19 | <exclude name="SlevomatCodingStandard.Functions.DisallowArrowFunction" /> |
|
57 | 60 | <rule ref="SlevomatCodingStandard.ControlStructures.RequireYodaComparison" /> |
58 | 61 | <rule ref="SlevomatCodingStandard.TypeHints.DeclareStrictTypes"> |
59 | 62 | <properties> |
60 | | - <property name="newlinesCountBetweenOpenTagAndDeclare" value="1"/> |
61 | 63 | <property name="spacesCountAroundEqualsSign" value="0"/> |
62 | 64 | </properties> |
63 | 65 | </rule> |
|
79 | 81 | <property name="linesCountBeforeClosingBrace" value="0"/> |
80 | 82 | </properties> |
81 | 83 | </rule> |
82 | | - |
83 | 84 | <rule ref="SlevomatCodingStandard.Classes.ClassStructure"> |
84 | 85 | <properties> |
85 | 86 | <property name="groups" type="array"> |
|
89 | 90 | <element value="properties"/> |
90 | 91 | <element value="constructor"/> |
91 | 92 | <element value="static constructors"/> |
| 93 | + <element value="enum cases"/> |
92 | 94 | <element value="all public methods, public static methods, magic methods"/> |
93 | 95 | <element value="methods"/> |
94 | 96 | </property> |
|
0 commit comments