From f0655a902a5c046a3fa7d7c71b22ffb663893277 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Thu, 7 Dec 2023 08:55:43 +0100 Subject: [PATCH 1/2] Enhancement: Add match and parameters to element option of trailing_comma_in_multiline fixer --- .php-cs-fixer.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.php-cs-fixer.php b/.php-cs-fixer.php index 78ffda6407..407f6081fd 100644 --- a/.php-cs-fixer.php +++ b/.php-cs-fixer.php @@ -55,6 +55,8 @@ 'elements' => [ 'arguments', 'arrays', + 'match', + 'parameters', ], ], 'trim_array_spaces' => true, From e71578eebfc75e69c7361a2e684bbbc65801b9e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Thu, 7 Dec 2023 08:55:57 +0100 Subject: [PATCH 2/2] Fix: Run 'make coding-standards' --- src/UserNotes/UserNote.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/UserNotes/UserNote.php b/src/UserNotes/UserNote.php index 8ea133bea3..fbb852746f 100644 --- a/src/UserNotes/UserNote.php +++ b/src/UserNotes/UserNote.php @@ -12,7 +12,7 @@ public function __construct( public string $user, public string $text, public int $upvotes = 0, - public int $downvotes = 0 + public int $downvotes = 0, ) { } }