Per consensus among the engineers in the team, we want for our repositories a consistent code style that requires trailing commas (a.k.a. dangling commas) in both PHP and JavaScript / TypeScript.
In PHP, this will use the sniff from T222042: Add sniff to require trailing commas in multiline arrays.