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

Bug #19612 Invalid @package suggestion
Submitted: 2012-09-25 00:31 UTC
From: gwijnja Assigned: squiz
Status: Closed Package: PHP_CodeSniffer (version 1.3.6)
PHP Version: 5.3.3 OS: Debian
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 45 + 30 = ?

 
 [2012-09-25 00:31 UTC] gwijnja (Gerben Wijnja)
Description: ------------ When using @package <none>, phpcs says: Package name "<none>" is not valid; consider "<none>" instead ...which is a pretty useless suggestion. I searched the bugs database (using 'none' and 'package') but could not find any similar bug reports. Test script: --------------- <?php /** * Test * * @package <none> */ ?> Expected result: ---------------- A suggestion that is not invalid.

Comments

 [2012-09-25 09:02 UTC] squiz (Greg Sherwood)
-Status: Open +Status: Closed -Assigned To: +Assigned To: squiz
Fixed in github repo: https://github.com/squizlabs/PHP_CodeSniffer/commit/a264699c38d7a42439bbc23f3 6a9c96ff64f68f3 The new suggestion for the @package value is "None"