Skip to content

Commit

Permalink
Add phpcs trailing comma rule.
Browse files Browse the repository at this point in the history
  • Loading branch information
haringsrob committed Jan 23, 2023
1 parent 92de5fc commit 39b257b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion config/dashboard.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@
'login' => false,
'logout' => false,
],
'auth_activity_causer' => 'users'
'auth_activity_causer' => 'users',
];
2 changes: 2 additions & 0 deletions phpcs.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?xml version="1.0"?>
<ruleset name="PHP_CodeSniffer">
<description>Coding standard for Twill.</description>
<file>config</file>
<file>src</file>
<rule ref="PSR12"/>
<!-- There MUST NOT be a hard limit on line length:
Expand All @@ -11,6 +12,7 @@
<property name="absoluteLineLimit" value="M"/>
</properties>
</rule>
<rule ref="Squiz.Arrays.ArrayDeclaration.NoCommaAfterLast"/>
<rule ref="Internal.NoCodeFound">
<exclude-pattern>*.blade.php</exclude-pattern>
</rule>
Expand Down

0 comments on commit 39b257b

Please sign in to comment.