Skip to content

Commit d59554b

Browse files
author
Robert Freigang
committed
Allow SlevomatCodingStandard.ControlStructures.DisallowNullSafeObjectOperator.DisallowedNullSafeObjectOperator
which was introduced with PHP 8
1 parent 72c6c1d commit d59554b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ProjektMOTORCodingStandard/ruleset.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@
5252
<exclude name="SlevomatCodingStandard.Commenting.UselessFunctionDocComment" />
5353
<exclude name="SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing" />
5454
<exclude name="SlevomatCodingStandard.ControlStructures.DisallowEmpty.DisallowedEmpty" />
55+
<!-- Hello PHP 8 -->
56+
<exclude name="SlevomatCodingStandard.ControlStructures.DisallowNullSafeObjectOperator.DisallowedNullSafeObjectOperator" />
5557
<!-- cause they are allowed and wanted in symfony -->
5658
<exclude name="SlevomatCodingStandard.ControlStructures.DisallowYodaComparison.DisallowedYodaComparison" />
5759
<!-- threw a false positive in ArticleImportCommand of HSM -->

0 commit comments

Comments
 (0)