User tests: Successful: Unsuccessful:
Status | New | ⇒ | Pending |
Labels |
Added:
?
|
Works and makes the code much cleaner
@Bakual It's not directly addressed in the written portion of the Joomla coding style, But since we comply to many aspects of PSR-2 with some deviations; I choose to follow the explanation for multiple lines in the method and function calls.
Argument lists MAY be split across multiple lines, where each subsequent line is indented once.
When doing so, the first item in the list MUST be on the next line,
and there MUST be only one argument per line.
As @RickR2H said, "it sure makes the code more readable...", I think that's a good thing.
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2015-07-27 12:33:14 |
Closed_By | ⇒ | Bakual |
Milestone |
Added: |
I'm not aware of a CS rule to have each field on its own line. There is only one for very long lines, which shouldn't be the case here.