Skip to content

Commit

Permalink
Apply indentation to array contents (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
danepowell authored Jul 11, 2024
1 parent 619c135 commit e59bafc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Standards/AcquiaPHPMinimal/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,14 @@
<exclude name="PHPCompatibility.Extensions.RemovedExtensions.famRemoved"/>
</rule>

<!-- Apply indentation rules to all kinds of code (i.e., tokens), including comments. -->
<!-- Apply indentation rules to comments and arrays. -->
<!-- @see https://github.com/squizlabs/PHP_CodeSniffer/issues/2314 -->
<!-- @see https://github.com/squizlabs/PHP_CodeSniffer/issues/1235 -->
<rule ref="Generic.WhiteSpace.ScopeIndent">
<properties>
<property name="ignoreIndentationTokens" type="array"/>
</properties>
</rule>
<rule ref="Generic.Arrays.ArrayIndent"/>

</ruleset>

0 comments on commit e59bafc

Please sign in to comment.