Skip to content

Commit 3ffd674

Browse files
committed
Remove more false-positive errors
1 parent 04729ef commit 3ffd674

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

phpcs.xml.dist

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@
2929
<exclude name="Squiz.Classes.ClassFileName.NoMatch" />
3030
<!-- Results in false positives with comments used to denote include blocks before functions -->
3131
<exclude name="Squiz.Commenting.FunctionComment.WrongStyle" />
32+
<!-- Results in false positives with comments used to denote include blocks after functions -->
33+
<exclude name="Squiz.WhiteSpace.FunctionSpacing.After" />
3234

3335
<!-- *********************************** -->
3436
<!-- Exclude sniffs that cause BC breaks -->
@@ -106,4 +108,8 @@
106108
<exclude name="SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingTraversableTypeHintSpecification" />
107109
</rule>
108110

111+
<rule ref="Generic.Files.InlineHTML.Found">
112+
<exclude-pattern>source/includes/aws-lambda/index.php</exclude-pattern>
113+
</rule>
114+
109115
</ruleset>

0 commit comments

Comments
 (0)