Skip to content

Commit 57252db

Browse files
committed
improved support for php 7.0
1 parent b5ebea0 commit 57252db

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

codeat.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,5 +175,12 @@
175175
<exclude name="SlevomatCodingStandard.Namespaces.UseOnlyWhitelistedNamespaces.NonFullyQualified" />
176176
<exclude name="SlevomatCodingStandard.Namespaces.FullyQualifiedGlobalConstants.NonFullyQualified" />
177177
<exclude name="SlevomatCodingStandard.Numbers.RequireNumericLiteralSeparator.RequiredNumericLiteralSeparator" />
178+
<exclude name="SlevomatCodingStandard.Functions.TrailingCommaInCall.MissingTrailingComma" />
179+
</rule>
180+
<!-- Require php 7.1 as minimum for object that is not support on php 7.1 below -->
181+
<rule ref="SlevomatCodingStandard.TypeHints.ParameterTypeHint">
182+
<properties>
183+
<property name="enableObjectTypeHint" value="false" />
184+
</properties>
178185
</rule>
179186
</ruleset>

0 commit comments

Comments
 (0)