[wp-trac] [WordPress Trac] #41057: Update PHP codebase per WordPress PHP Coding Standards
WordPress Trac
noreply at wordpress.org
Sat Jun 24 12:34:03 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 jrf):
Replying to [comment:36 pento]:
> WPCS currently doesn't (I think) change whether a `break` is aligned
with it's `case`, or indented from it. The format isn't defined in the
coding standards, the normal usage for core is to indent the `break` one
tab from the `case` statement.
Related issue already open in WPCS: https://github.com/WordPress-Coding-
Standards/WordPress-Coding-Standards/issues/982
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41057#comment:40>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list