[wp-trac] [WordPress Trac] #47632: Coding Standards fixes for WP 5.3

WordPress Trac noreply at wordpress.org
Tue Jul 9 07:54:53 UTC 2019


#47632: Coding Standards fixes for WP 5.3
----------------------------+-------------------------------
 Reporter:  pento           |       Owner:  pento
     Type:  task (blessed)  |      Status:  assigned
 Priority:  normal          |   Milestone:  5.3
Component:  General         |     Version:
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:  coding-standards
----------------------------+-------------------------------

Comment (by pento):

 10 steps forward, two giant leaps back. 🙃


 {{{
 PHP CODE SNIFFER VIOLATION SOURCE SUMMARY
 ----------------------------------------------------------------------
 SOURCE                                                           COUNT
 ----------------------------------------------------------------------
 WordPress.PHP.StrictComparisons.LooseComparison                  2514
 WordPress.PHP.YodaConditions.NotYoda                             653
 WordPress.PHP.StrictInArray.MissingTrueStrict                    511
 WordPress.WP.I18n.MissingTranslatorsComment                      364
 WordPress.NamingConventions.ValidVariableName.VariableNotSnakeC  321
 WordPress.DB.PreparedSQL.InterpolatedNotPrepared                 177
 WordPress.DB.PreparedSQL.NotPrepared                             116
 WordPress.Files.FileName.InvalidClassFileName                    21
 PEAR.NamingConventions.ValidClassName.Invalid                    5
 PEAR.NamingConventions.ValidClassName.StartWithCapital           5
 ----------------------------------------------------------------------
 A TOTAL OF 4687 SNIFF VIOLATIONS WERE FOUND IN 10 SOURCES
 ----------------------------------------------------------------------

 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47632#comment:24>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list