Skip to content

Commit

Permalink
feat: enable SlevomatCodingStandard.Arrays.ArrayAccess sniff
Browse files Browse the repository at this point in the history
  • Loading branch information
simPod committed Oct 16, 2023
1 parent 0308bc4 commit 3cd1241
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Doctrine/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -513,8 +513,8 @@
<rule ref="SlevomatCodingStandard.Variables.UselessVariable"/>
<!-- Require nowdoc syntax instead of heredoc when possible -->
<rule ref="SlevomatCodingStandard.PHP.RequireNowdoc" />
<!-- Forbid spaces around square brackets -->
<rule ref="Squiz.Arrays.ArrayBracketSpacing"/>
<!-- Disallow whitespace between array access operator and the variable, or between array access operators -->
<rule ref="SlevomatCodingStandard.Arrays.ArrayAccess" />
<!-- Force array declaration structure -->
<rule ref="Squiz.Arrays.ArrayDeclaration">
<!-- Disable arrow alignment -->
Expand Down

0 comments on commit 3cd1241

Please sign in to comment.