well, PHP_CodeSniffer also complain about the placement of the comma in arrays after heredoc or nowdoc, because it is not aware that we cannot put it on the same line because of language restrictions. It should be adapter to take it into account