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

Class: PHP_CodeSniffer_Reports_Checkstyle

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

Class Overview


Checkstyle 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]
Checkstyle report for PHP_CodeSniffer.

PHP version 5



[ Top ]


Method Detail

generate   [line 48]

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

Prints all violations for processed files, in a Checkstyle format.

Violations are grouped by file.

  • 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:00:20 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.