Skip to content

Commit 7e588ab

Browse files
committed
Allow ConstructorPropertyPromotion
1 parent 828bdcd commit 7e588ab

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ProjektMOTORCodingStandard/ruleset.xml

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

26-
26+
2727
<exclude name="SlevomatCodingStandard.Exceptions.DisallowNonCapturingCatch.DisallowedNonCapturingCatch" />
28+
<exclude name="SlevomatCodingStandard.Classes.DisallowConstructorPropertyPromotion.DisallowedConstructorPropertyPromotion" />
2829
<exclude name="SlevomatCodingStandard.Classes.RequireAbstractOrFinal.ClassNeitherAbstractNorFinal" />
2930
<exclude name="SlevomatCodingStandard.Files.FunctionLength.FunctionLength" />
3031
<exclude name="SlevomatCodingStandard.Functions.FunctionLength.FunctionLength" />

0 commit comments

Comments
 (0)