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

Bug #14238 Line length not checket at last line of a file
Submitted: 2008-06-25 11:38 UTC Modified: 2008-06-26 20:58 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  


 [2008-06-25 11: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-26 20: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.