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

Request #15865 Sniff to help ensure use of multibyte functions
Submitted: 2009-02-02 20:08 UTC
From: dfgsdfgsdfgdff Assigned: squiz
Status: Closed Package: PHP_CodeSniffer (version 1.2.0a1)
PHP Version: 5.2.4 OS:
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 : 43 + 22 = ?

 
 [2009-02-02 20:08 UTC] dfgsdfgsdfgdff (Sam Petters)
Description: ------------ It would be great if codesniffer could help ensure code is multibyte. This would mean adding a sniff that does not allow the use of strlen (should use mb_strlen) etc.

Comments

 [2009-07-02 12:24 UTC] squiz (Greg Sherwood)
-Status: Open +Status: Assigned -Assigned To: +Assigned To: squiz
 [2011-04-07 11:55 UTC] squiz (Greg Sherwood)
-Status: Assigned +Status: Open
 [2011-04-20 10:40 UTC] squiz (Greg Sherwood)
-Status: Open +Status: Closed -Assigned To: +Assigned To: squiz
I'm closing this report because I'm not adding any new sniffs to PHPCS unless: - One gets contributed by someone - PEAR needs it because of a change to the standard - I happen to need it for something May as well not leave this request open when I'm not going to be able to get around to it due to other commitments. Thank you for your suggestion though. If anyone wants to contribute a sniff for this, please re-open this report.