Skip to content

Commit

Permalink
Enfore trailing comma's on multi-line structures
Browse files Browse the repository at this point in the history
This results in cleaner diffs
  • Loading branch information
tvdijen authored May 18, 2024
1 parent 78a8c08 commit f0eb480
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions phpcs-simplesamlphp.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,7 @@

<!-- Enforce alphabetically sorted use-statements -->
<rule ref="SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses" />

<!-- Enforce the use of trailing commas -->
<rule ref="SlevomatCodingStandard.Arrays.TrailingArrayComma" />
</ruleset>

0 comments on commit f0eb480

Please sign in to comment.