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

WordPress Trac wp-trac at lists.automattic.com
Mon Nov 7 17:34:14 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        |   Keywords:
--------------------------+-----------------------------
 One of our developer has been developing phplinter which can be found here
 [1] which gives wordpress core rather poor grade many of which are simply
 due to you guys having spaces mixed with tabs and whitespace after final
 close tag and others generally considered bad practices and few probably
 more serious.

 Instead of me filing indvidual bugs for all of those I think it's best
 that you just git pull the phplinter and run it against wordpress then
 point your web browser against the report and flag/fix those that are
 relevant and those that are not.

 An simple cli example is as follow...

 #phplinter -wFIH  wordpress/ -o lintreport/

 380 files, Average score: -2.86

 Worst: wp-includes/class-simplepie.php with -303.39

 [1] https://github.com/robotis/PHPLinter

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


More information about the wp-trac mailing list