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

Bug #14238 Line length not checket at last line of a file
Submitted: 2008-06-25 16:38 UTC
From: miau Assigned: squiz
Status: Closed Package: PHP_CodeSniffer (version 1.1.0RC2)
PHP Version: 5.2.5 OS:
Roadmaps: 1.1.0    
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 - 8 = ?

 
 [2008-06-25 16:38 UTC] miau (Koji Ando)
Description: ------------ Line length is not checket at end of a file when there is no PHP closing tag. Test script: --------------- ***** Begin of warning_at_eof.php <?php echo('===================== this line has 81 characters ===================== '); ***** End of warning_at_eof.php >phpcs --standard=Zend warning_at_eof.php Expected result: ---------------- 2 | WARNING | Line exceeds 80 characters; contains 81 characters Actual result: -------------- (no warnings)

Comments

 [2008-06-27 01:58 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.