Skip to content

Commit 5d5a5cc

Browse files
committed
Add the trailing_comma_single_line option to function_declaration
See codeigniter4/CodeIgniter4#6513
1 parent e93e249 commit 5d5a5cc

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/CodeIgniter4.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,11 @@ public function __construct()
159159
'fopen_flags' => ['b_mode' => true],
160160
'full_opening_tag' => true,
161161
'fully_qualified_strict_types' => true,
162-
'function_declaration' => ['closure_function_spacing' => 'one'],
163-
'function_to_constant' => [
162+
'function_declaration' => [
163+
'closure_function_spacing' => 'one',
164+
'trailing_comma_single_line' => false,
165+
],
166+
'function_to_constant' => [
164167
'functions' => [
165168
'get_called_class',
166169
'get_class',

0 commit comments

Comments
 (0)