Skip to content

Commit b16022b

Browse files
author
Robert Freigang
committed
Exclude unwanted sniffs
1 parent 5ee8514 commit b16022b

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

ProjektMOTORCodingStandard/ruleset.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,16 @@
2323
<!-- keep it for debugging reasons to be able to list all rules vendor/bin/phpcs -e | grep SlevomatCodingStandard -->
2424
<!--<exclude name="*" />-->
2525

26+
<exclude name="SlevomatCodingStandard.Complexity.Cognitive.ComplexityTooHigh" />
27+
<exclude name="SlevomatCodingStandard.Files.FileLength.FileTooLong" />
28+
<exclude name="SlevomatCodingStandard.Classes.ClassLength.ClassTooLong" />
29+
<exclude name="SlevomatCodingStandard.Arrays.AlphabeticallySortedByKeys.IncorrectKeyOrder" />
30+
<exclude name="SlevomatCodingStandard.Attributes.AttributesOrder" />
31+
<exclude name="SlevomatCodingStandard.Namespaces.ReferenceUsedNamesOnly.ReferenceViaFullyQualifiedName" />
32+
33+
<!-- actually in poll -->
34+
<exclude name="SlevomatCodingStandard.ControlStructures.DisallowTrailingMultiLineTernaryOperator.TrailingMultiLineTernaryOperatorUsed" />
35+
<exclude name="SlevomatCodingStandard.Classes.RequireSelfReference.RequiredSelfReference" />
2636

2737
<exclude name="SlevomatCodingStandard.Exceptions.DisallowNonCapturingCatch.DisallowedNonCapturingCatch" />
2838
<exclude name="SlevomatCodingStandard.Classes.DisallowConstructorPropertyPromotion.DisallowedConstructorPropertyPromotion" />

0 commit comments

Comments
 (0)