[wp-trac] [WordPress Trac] #19197: phplinter error reports against wordpress core.

WordPress Trac wp-trac at lists.automattic.com
Wed Nov 9 05:59:41 UTC 2011


#19197: phplinter error reports against wordpress core.
--------------------------+------------------------------
 Reporter:  vikingnr1     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  close         |
--------------------------+------------------------------
Changes (by dd32):

 * keywords:   => close


Comment:

 If someone has the want/time to go through this, given I just took a look
 and there was more false positives than anything else: r19226 -
 http://tools.dd32.id.au/lintreport/

 Obvious false positives include: <tab><space>* in Docblocks, Using global,
 Not explicitly defining method access(public|private), lines longer than
 80char, usage of filesystem and call_user_func functions, loose
 comparison, HTML and PHP on the same line, Whitespace after last line
 (Well, `?>\n` is being matched, PHP eats the following \n), doesnt seem to
 reconise if () : else, Yeah, that'll do, that's only 2 files I looked at
 too. It seems like it'll pick up many php 5.2 things, and PHP4-language
 styles which don't need to be updated unless the code is touched.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19197#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list