I have the following snippet in a php class:
$returnArray = array();
while($row = mysql_fetch_assoc($rhandle)) {
$returnArray[] = $row;
}
phpcs complains about the 'while' line:
161 | ERROR | Expected "while (...) {
"; found "while(...){
"