[wp-trac] [WordPress Trac] #23118: Remove spaces between parentheses in function calls without arguments
WordPress Trac
noreply at wordpress.org
Fri Jan 4 10:05:52 UTC 2013
#23118: Remove spaces between parentheses in function calls without arguments
-------------------------+-----------------------
Reporter: evansolomon | Owner: westi
Type: enhancement | Status: accepted
Priority: lowest | Milestone: 3.6
Component: General | Version:
Severity: trivial | Resolution:
Keywords: has-patch |
-------------------------+-----------------------
Comment (by nacin):
I like spaces. But I dislike them in two places: inside array brackets
when the index is a static string (so, `$foo['bar']`), and here. Core
overwhelmingly agrees. I searched for function definitions ending with `()
{` and found 1290 matches.
Ending with `( ) {` — 11.
And six of those were totally westi in default-constants.php. :)
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23118#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list