FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=15865&edit=1

ID: 15865
Updated by: gsherwood@squiz.net
Reported By: pear at infoweb dot co dot nz
Summary: Sniff to help ensure use of multibyte functions
-Status: Assigned
+Status: Open
Type: Feature/Change Request
Package: PHP_CodeSniffer
Package Version: 1.2.0a1
PHP Version: 5.2.4
Assigned To: squiz
Roadmap Versions:
New Comment:

-Status: Assigned
+Status: Open



Previous Comments:
------------------------------------------------------------------------

[2009-07-02 08:24:42] squiz

-Status: Open
+Status: Assigned
-Assigned To:
+Assigned To: squiz


------------------------------------------------------------------------

[2009-02-02 15:08:59] dfgsdfgsdfgdff

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.

------------------------------------------------------------------------

Search Discussions

  • Gsherwood at Apr 20, 2011 at 5:39 am
    Edit report at http://pear.php.net/bugs/bug.php?id=15865&edit=1

    ID: 15865
    Updated by: gsherwood@squiz.net
    Reported By: pear at infoweb dot co dot nz
    Summary: Sniff to help ensure use of multibyte functions
    -Status: Open
    +Status: Closed
    Type: Feature/Change Request
    Package: PHP_CodeSniffer
    Package Version: 1.2.0a1
    PHP Version: 5.2.4
    -Assigned To:
    +Assigned To: squiz
    Roadmap Versions:
    New Comment:

    -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.


    Previous Comments:
    ------------------------------------------------------------------------

    [2011-04-07 07:55:33] squiz

    -Status: Assigned
    +Status: Open


    ------------------------------------------------------------------------

    [2009-07-02 08:24:42] squiz

    -Status: Open
    +Status: Assigned
    -Assigned To:
    +Assigned To: squiz


    ------------------------------------------------------------------------

    [2009-02-02 15:08:59] dfgsdfgsdfgdff

    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.

    ------------------------------------------------------------------------

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedApr 7, '11 at 6:53a
activeApr 20, '11 at 5:39a
posts2
users1
websitepear.php.net

1 user in discussion

Gsherwood: 2 posts

People

Translate

site design / logo © 2022 Grokbase