Skip to content

Commit

Permalink
Disable some more phpcs sniffs that are not available for PHP 7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
sascha-egerer committed Feb 11, 2020
1 parent 1ecf56f commit d73ff87
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,18 @@
</properties>
<exclude name="SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingTraversableTypeHintSpecification"/>
</rule -->
<rule ref="SlevomatCodingStandard.TypeHints.PropertyTypeHint">
<!-- rule ref="SlevomatCodingStandard.TypeHints.PropertyTypeHint">
<properties>
<property name="enableNativeTypeHint" value="false"/>
</properties>
<exclude name="SlevomatCodingStandard.TypeHints.PropertyTypeHint.MissingTraversableTypeHintSpecification"/>
</rule>
<rule ref="SlevomatCodingStandard.TypeHints.ReturnTypeHint">
</rule -->
<!-- rule ref="SlevomatCodingStandard.TypeHints.ReturnTypeHint">
<properties>
<property name="enableObjectTypeHint" value="false"/>
</properties>
<exclude name="SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingTraversableTypeHintSpecification"/>
</rule>
</rule -->
<rule ref="SlevomatCodingStandard.Functions.UnusedInheritedVariablePassedToClosure.UnusedInheritedVariable"/>
<rule ref="SlevomatCodingStandard.Exceptions.ReferenceThrowableOnly.ReferencedGeneralException"/>
<rule ref="SlevomatCodingStandard.Variables.UnusedVariable.UnusedVariable"/>
Expand Down

0 comments on commit d73ff87

Please sign in to comment.