[wp-trac] [WordPress Trac] #41057: Update PHP codebase per WordPress PHP Coding Standards
WordPress Trac
noreply at wordpress.org
Sat Jun 24 08:58:58 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 GaryJ):
Replying to [comment:36 pento]:
> the normal usage for core is to indent the `break` one tab from the
`case` statement.
FWIW, this is what [https://github.com/php-fig/fig-
standards/blob/master/accepted/PSR-2-coding-style-guide.md#52-switch-case
PSR-2 uses too] (albeit, with spaces).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41057#comment:37>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list