Skip to content

Commit a5b67a3

Browse files
committed
Enable no_trailing_comma_in_singleline
See codeigniter4/CodeIgniter4#6482
1 parent 8663116 commit a5b67a3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/CodeIgniter4.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,14 @@ public function __construct()
250250
'allow_unused_params' => true,
251251
'remove_inheritdoc' => false,
252252
],
253+
'no_trailing_comma_in_singleline' => [
254+
'elements' => [
255+
'arguments',
256+
'array_destructuring',
257+
'array',
258+
'group_import',
259+
],
260+
],
253261
'no_trailing_whitespace' => true,
254262
'no_trailing_whitespace_in_comment' => true,
255263
'no_trailing_whitespace_in_string' => true,

0 commit comments

Comments
 (0)