But this one will report MultiLineArrayComma problem
$array = [
'aaaaa',
'bbbbb', // phpcs:ignore
];
My example why I'm using ignore on last element: (I'm getting some results with guzzle and keys in response are not properly named so I'm ignoring camel case on those)
Initially, I've posted this issue to squizlabs, but it seems that it's related to this repo. (https://github.com/squizlabs/PHP_CodeSniffer/issues/2672)
This code will work fine:
But this one will report MultiLineArrayComma problem
My example why I'm using ignore on last element: (I'm getting some results with guzzle and keys in response are not properly named so I'm ignoring camel case on those)