[wp-trac] [WordPress Trac] #24582: Why WordPress PHP spacing standards aren't compatible with PHP standards?
WordPress Trac
noreply at wordpress.org
Sat Jun 15 13:20:38 UTC 2013
#24582: Why WordPress PHP spacing standards aren't compatible with PHP standards?
--------------------------+------------------------------
Reporter: Looimaster | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Resolution:
Keywords: |
--------------------------+------------------------------
Comment (by chriscct7):
Mostly readability, but given its been that way since the project start I
highly doubt a change is coming.
WordPress follows an interpretation of the
[http://pear.php.net/manual/en/standards.control.php PEAR style] which is
used by several extremely large projects like [https://drupal.org/coding-
standards Drupal] for instance.
PEAR's guide clearly states spaces before and after braces.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24582#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list