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

Bug #19256 T_DOC_COMMENT in CSS files breaks ClassDefinitionNameSpacingSniff
Submitted: 2012-01-30 04:32 UTC
From: klausi Assigned: squiz
Status: Closed Package: PHP_CodeSniffer (version SVN)
PHP Version: 5.3.6 OS: Ubuntu
Roadmaps: (Not assigned)    

 [2012-01-30 04:32 UTC] klausi (Klaus Purer)
Description: ------------ If you use PHPdoc style comments in CSS files this sniff reports false positives. Patch attached that fixes the problem. Here is also an example CSS file that triggers the problem. Test script: --------------- /** * @file * Valid example CSS file. */ #forum .description { color: #efefef; font-size: 0.9em; margin: 0.5em; }


 [2012-01-30 04:34 UTC] klausi (Klaus Purer)
 [2012-01-30 08:41 UTC] squiz (Greg Sherwood)
-Status: Open +Status: Closed -Assigned To: +Assigned To: squiz
Fixed in Git repo: 92d30b8144acae Thanks for the patch.