issues_data as $issue_data) { $output .= sprintf( '::%s file=%s,line=%s,col=%s::%s', ($issue_data['severity'] === Config::REPORT_ERROR ? 'error' : 'warning'), $issue_data['file_name'], $issue_data['line_from'], $issue_data['column_from'], $issue_data['message'] ) . "\n"; } return $output; } }