Skip to content

Commit cc153de

Browse files
committed
Ignore some phpcs rules that fail with PHP 7.4
1 parent 26ca88c commit cc153de

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

phpcs.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,13 @@
1919
<exclude name="Squiz.Commenting.FunctionComment.MissingParamTag"/>
2020
<exclude name="Squiz.Commenting.FunctionComment.ParamNameNoMatch"/>
2121
<exclude name="Squiz.PHP.Heredoc.NotAllowed"/>
22+
23+
<!-- These exclude configs can be dropped once PHP 7.4 support is dropped -->
24+
<exclude name="SlevomatCodingStandard.Commenting.RequireOneLinePropertyDocComment.MultiLinePropertyComment"/>
25+
<exclude name="SlevomatCodingStandard.Namespaces.FullyQualifiedClassNameAfterKeyword.NonFullyQualifiedExtends"/>
26+
<exclude name="SlevomatCodingStandard.Namespaces.FullyQualifiedClassNameAfterKeyword.NonFullyQualifiedImplements"/>
27+
<exclude name="SlevomatCodingStandard.Namespaces.FullyQualifiedClassNameAfterKeyword.NonFullyQualifiedUse"/>
28+
<exclude name="SlevomatCodingStandard.TypeHints.DeclareStrictTypes.IncorrectWhitespaceBetweenOpenTagAndDeclare"/>
2229
</rule>
2330
<rule ref="SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses">
2431
<properties>

0 commit comments

Comments
 (0)