Recent versions of PHP allow for both cases so we have both cases in the codebase.
We should settle on one and enforce it.
I propose to go with the trailing commas because it generates cleaner diff and it is also what Prettier does with the arrays so it is more consistent with the frontend codebase.