[wp-trac] [WordPress Trac] #41057: Update PHP codebase per WordPress PHP Coding Standards

WordPress Trac noreply at wordpress.org
Sat Jun 24 11:04:06 UTC 2017


#41057: Update PHP codebase per WordPress PHP Coding Standards
----------------------------+-----------------------
 Reporter:  netweb          |       Owner:  pento
     Type:  task (blessed)  |      Status:  accepted
 Priority:  normal          |   Milestone:  4.9
Component:  General         |     Version:
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:
----------------------------+-----------------------

Comment (by jdgrimes):

 Replying to [comment:36 pento]:
 > the normal usage for core is to indent the `break` one tab from the
 `case` statement.

 I personally prefer not to indent the `break` (to match the pattern for
 blocks that are enclosed in brackets, the closer is indented the same
 level as the opener), but I'm clearly in the minority. :-)

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


More information about the wp-trac mailing list