Skip to content

Commit

Permalink
Exclude unwanted sniffs
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Freigang committed May 23, 2023
1 parent 5ee8514 commit b16022b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions ProjektMOTORCodingStandard/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,16 @@
<!-- keep it for debugging reasons to be able to list all rules vendor/bin/phpcs -e | grep SlevomatCodingStandard -->
<!--<exclude name="*" />-->

<exclude name="SlevomatCodingStandard.Complexity.Cognitive.ComplexityTooHigh" />
<exclude name="SlevomatCodingStandard.Files.FileLength.FileTooLong" />
<exclude name="SlevomatCodingStandard.Classes.ClassLength.ClassTooLong" />
<exclude name="SlevomatCodingStandard.Arrays.AlphabeticallySortedByKeys.IncorrectKeyOrder" />
<exclude name="SlevomatCodingStandard.Attributes.AttributesOrder" />
<exclude name="SlevomatCodingStandard.Namespaces.ReferenceUsedNamesOnly.ReferenceViaFullyQualifiedName" />

<!-- actually in poll -->
<exclude name="SlevomatCodingStandard.ControlStructures.DisallowTrailingMultiLineTernaryOperator.TrailingMultiLineTernaryOperatorUsed" />
<exclude name="SlevomatCodingStandard.Classes.RequireSelfReference.RequiredSelfReference" />

<exclude name="SlevomatCodingStandard.Exceptions.DisallowNonCapturingCatch.DisallowedNonCapturingCatch" />
<exclude name="SlevomatCodingStandard.Classes.DisallowConstructorPropertyPromotion.DisallowedConstructorPropertyPromotion" />
Expand Down

0 comments on commit b16022b

Please sign in to comment.