When using the modern form:
[$first_part,] = explode(':' $string, 2);
instead of:
list($first_part,) = explode(':' $string, 2);
I'm getting 2 violations:
Comma not allowed after last value in single-line array declaration.
and
Expected one space after the comma, 0 found
Comments
Comment #2
klausiThe comma is not necessary in this case, you can use:
So I think we don't need to fix anything in Coder.