Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 3.4.2

Request #13242 Checkstyle output misses source attribute
Submitted: 2008-02-28 12:36 UTC
From: thkoch2001 Assigned: squiz
Status: Closed Package: PHP_CodeSniffer (version 1.0.1)
PHP Version: 5.2.4 OS: Debian Lenny
Roadmaps: (Not assigned)    
Subscription  


 [2008-02-28 12:36 UTC] thkoch2001 (Thomas Koch)
Description: ------------ The checkstyle report should also contain a source attribute for every error. <error line="750" column="12" severity="warning" message="Function's cyclomatic complexity (16) exceeds 10; consider refactoring the function" source="Generic_Sniffs_Files_LineLengthSniff"/> This seems to be conform to the original Checkstyle and is needed for a nice summary of the violation types in PHPUnderControl.

Comments

 [2008-02-28 22:05 UTC] squiz (Greg Sherwood)
I want to give all error messages a code so I can do the same thing in other reports. At the moment, no information is known about the where the error message was generated from, so this is not a quick change.
 [2008-12-11 06:11 UTC] squiz (Greg Sherwood)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.