Skip to content

Commit 81d8942

Browse files
committed
Enhancement: Add match and parameters to element option of trailing_comma_in_multiline fixer
1 parent c093fb5 commit 81d8942

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.php-cs-fixer.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@
5555
'elements' => [
5656
'arguments',
5757
'arrays',
58+
'match',
59+
'parameters',
5860
],
5961
],
6062
'trim_array_spaces' => true,

src/UserNotes/UserNote.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public function __construct(
1212
public string $user,
1313
public string $text,
1414
public int $upvotes = 0,
15-
public int $downvotes = 0
15+
public int $downvotes = 0,
1616
) {
1717
}
1818
}

0 commit comments

Comments
 (0)