PHP_CodeSniffer
[ class tree: PHP_CodeSniffer ] [ index: PHP_CodeSniffer ] [ all elements ]

Class: PHP_CodeSniffer_Reports_Summary

Source Location: /PHP_CodeSniffer-1.3.4/CodeSniffer/Reports/Summary.php

Class Overview


Summary report for PHP_CodeSniffer.


Author(s):

Version:

  • Release: 1.3.4

Copyright:

  • 2006-2011 Squiz Pty Ltd (ABN 77 084 670 600)

Methods


Inherited Variables

Inherited Methods


Class Details

[line 32]
Summary report for PHP_CodeSniffer.

PHP version 5



[ Top ]


Method Detail

generate   [line 50]

string generate( array $report, [boolean $showSources = false], [int $width = 80], [boolean $toScreen = true])

Generates a summary of errors and warnings for each file processed.

If verbose output is enabled, results are shown for all files, even if they have no errors or warnings. If verbose output is disabled, we only show files that have at least one warning or error.

  • Access: public

Parameters:

array   $report     Prepared report.
boolean   $showSources     Show sources?
int   $width     Maximum allowed lne width.
boolean   $toScreen     Is the report being printed to screen?

[ Top ]


Documentation generated on Thu, 17 May 2012 05:01:14 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.