PHP version 5
string generate( array $report, [boolean $showSources = false], [int $width = 80])
Errors and warnings are displayed together, grouped by file.