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

Class: PHP_CodeSniffer_Reports_Xml

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

Class Overview


Xml 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]
Xml 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 proprietary XML format.

Errors and warnings are displayed together, 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:01:22 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.