Commit b79d24a1 authored by Jonathan Smith's avatar Jonathan Smith
Browse files

Issue #3318972 by jonathan1055: Ignore SlevomatCodingStandard sniffs on codesniffer 3.7.1

parent dfe7dfd9
Loading
Loading
Loading
Loading
+5 −0
Changes for phpcs.xml.dist: 5 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -19,6 +19,11 @@
    <exclude name="Drupal.Commenting.InlineComment.SpacingAfter"/>
  </rule>

  <!-- Ignore the NullCoalesce sniff because ?? is only availbale from PHP7 -->
  <rule ref="SlevomatCodingStandard.ControlStructures.RequireNullCoalesceOperator"><severity>0</severity></rule>
  <!-- Ignore the LongListUsed sniff because short array [] is only availbale from PHP7 -->
  <rule ref="SlevomatCodingStandard.PHP.ShortList.LongListUsed"><severity>0</severity></rule>

  <!-- Ignore all files that match these patterns. By default the full file -->
  <!-- path is checked, unless type=relative is used. There is an implied * -->
  <!-- wildcard at each end and periods and slashes must be escaped using \ -->