What's the wanted array comma style? #97
-
Hey there, just filed a PR for some minor change, and saw that some arrays have a comma after the last element, and some arrays don't. What's the preferred coding style for this? I'll do a PR to pull everything into that preferred coding style. Best regards, |
Beta Was this translation helpful? Give feedback.
Answered by
freekmurze
Jun 8, 2022
Replies: 2 comments
-
We prefer having comma's after the last element. Don't worry about it, I'll check if we can automatically fix this (did it manually now for your PR) |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
PHPGuus
-
That's what I thought, but wasn't entirely sure. Thanks, Freek.
…On Wed, Jun 8, 2022 at 8:09 AM Freek Van der Herten < ***@***.***> wrote:
We prefer having comma's after the last element. Don't worry about it,
I'll check if we can automatically fix this (did it manually now for your
PR)
—
Reply to this email directly, view it on GitHub
<#97 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIYQPJMEQJSSAGU4SM3FLU3VOBBIZANCNFSM5YFNBOYQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We prefer having comma's after the last element. Don't worry about it, I'll check if we can automatically fix this (did it manually now for your PR)