Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 3.4.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  


 [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"