Hello, you have three perfect sniffs that disable trailing commas everywhere.
These:
- SlevomatCodingStandard.Functions.DisallowTrailingCommaInCall
- SlevomatCodingStandard.Functions.DisallowTrailingCommaInClosureUse
- SlevomatCodingStandard.Functions.DisallowTrailingCommaInDeclaration
However, when it comes to arrays, you only have a version that "enforces everywhere," but not one that "disables everywhere."
Our internal company policy prohibits trailing commas, so we would like to have a sniff that cleans up all fields. Would it be possible to create something like SlevomatCodingStandard.Arrays.DisallowTrailingArrayComma ? We would really appreciate it.
Thank you very much and have a nice day!
Ľubo