3
* Represents a PHP_CodeSniffer report.
8
* @package PHP_CodeSniffer
9
* @author Gabriele Santini <gsantini@sqli.com>
10
* @author Greg Sherwood <gsherwood@squiz.net>
11
* @copyright 2009-2014 SQLI <www.sqli.com>
12
* @copyright 2006-2014 Squiz Pty Ltd (ABN 77 084 670 600)
13
* @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
14
* @link http://pear.php.net/package/PHP_CodeSniffer
18
* Represents a PHP_CodeSniffer report.
21
* @package PHP_CodeSniffer
22
* @author Gabriele Santini <gsantini@sqli.com>
23
* @author Greg Sherwood <gsherwood@squiz.net>
24
* @copyright 2009-2014 SQLI <www.sqli.com>
25
* @copyright 2006-2014 Squiz Pty Ltd (ABN 77 084 670 600)
26
* @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
27
* @version Release: 1.5.4
28
* @link http://pear.php.net/package/PHP_CodeSniffer
30
interface PHP_CodeSniffer_Report
35
* Generate a partial report for a single processed file.
37
* Function should return TRUE if it printed or stored data about the file
38
* and FALSE if it ignored the file. Returning TRUE indicates that the file and
39
* its data should be counted in the grand totals.
41
* @param array $report Prepared report data.
42
* @param boolean $showSources Show sources?
43
* @param int $width Maximum allowed line width.
47
public function generateFileReport(
55
* Generate the actual report.
57
* @param string $cachedData Any partial report data that was returned from
58
* generateFileReport during the run.
59
* @param int $totalFiles Total number of files processed during the run.
60
* @param int $totalErrors Total number of errors found during the run.
61
* @param int $totalWarnings Total number of warnings found during the run.
62
* @param boolean $showSources Show sources?
63
* @param int $width Maximum allowed line width.
64
* @param boolean $toScreen Is the report being printed to screen?
68
public function generate(