|
1 | 1 | <?xml version="1.0" ?>
|
2 | 2 | <ruleset name="PeckaDesign">
|
3 | 3 |
|
| 4 | + <config name="installed_paths" value="../../slevomat/coding-standard"/> |
| 5 | + |
4 | 6 | <!-- Arrays -->
|
5 |
| - <rule ref="../../../../slevomat/coding-standard/SlevomatCodingStandard/Sniffs/Arrays/TrailingArrayCommaSniff.php"/> |
| 7 | + <rule ref="SlevomatCodingStandard.Arrays.TrailingArrayComma"/> |
6 | 8 |
|
7 | 9 | <!-- Classes -->
|
8 | 10 | <rule ref="Generic.Classes.DuplicateClassName"/>
|
9 | 11 | <rule ref="Squiz.Classes.LowercaseClassKeywords"/>
|
10 |
| - <rule ref="../../../../slevomat/coding-standard/SlevomatCodingStandard/Sniffs/Classes/ClassConstantVisibilitySniff.php"/> |
| 12 | + <rule ref="SlevomatCodingStandard.Classes.ClassConstantVisibility"/> |
| 13 | + <rule ref="SlevomatCodingStandard.Classes.UnusedPrivateElements"/> |
11 | 14 |
|
| 15 | + <!-- Exceptions --> |
| 16 | + <rule ref="SlevomatCodingStandard.Exceptions.DeadCatch"/> |
| 17 | + |
12 | 18 | <!-- Files -->
|
13 | 19 | <rule ref="Generic.Files.ByteOrderMark"/>
|
14 | 20 | <rule ref="Generic.Files.LineEndings"/>
|
|
18 | 24 | <!-- Functions -->
|
19 | 25 | <rule ref="Squiz.Functions.LowercaseFunctionKeywords"/>
|
20 | 26 |
|
| 27 | + <!-- Namespaces --> |
| 28 | + <rule ref="SlevomatCodingStandard.Namespaces.UnusedUses"> |
| 29 | + <properties> |
| 30 | + <property name="searchAnnotations" value="1"/> |
| 31 | + </properties> |
| 32 | + </rule> |
| 33 | + <rule ref="SlevomatCodingStandard.Namespaces.UseFromSameNamespace"/> |
| 34 | + |
21 | 35 | <!-- NamingConventions -->
|
22 | 36 | <rule ref="Generic.NamingConventions.UpperCaseConstantName"/>
|
23 | 37 | <rule ref="Generic.NamingConventions.CamelCapsFunctionName">
|
|
35 | 49 | <rule ref="Generic.WhiteSpace.DisallowSpaceIndent"/>
|
36 | 50 | <rule ref="Squiz.ControlStructures.ControlSignature"/>
|
37 | 51 | <rule ref="Generic.Formatting.SpaceAfterCast"/>
|
38 |
| - <rule ref="../../../../slevomat/coding-standard/SlevomatCodingStandard/Sniffs/TypeHints/ParameterTypeHintSpacingSniff.php"/> |
| 52 | + <rule ref="SlevomatCodingStandard.TypeHints.ParameterTypeHintSpacing"/> |
39 | 53 |
|
40 | 54 | </ruleset>
|
41 |
| - |
|
0 commit comments