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

Class: PHP_CodeSniffer_Reports_Summary

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

Class Overview


Summary report for PHP_CodeSniffer.


Author(s):

Version:

  • Release: 1.3.0

Copyright:

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

Methods


Inherited Variables

Inherited Methods


Class Details

[line 33]
Summary report for PHP_CodeSniffer.

PHP version 5



[ Top ]


Method Detail

generate   [line 50]

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

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.

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:43:17 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.