Take it to the ML?

Sent from my iPhone

On Sep 9, 2013, at 10:22 PM, "Paul M. Jones" <notifications@github.com> wrote:

> In accepted/PSR-2-coding-style-guide-meta.md:
> 
> > +
> > +
> > +3. Errata
> > +---------
> > +
> > +1. _[09/08/2013]_ Using one or more multi-line arguments does not constitute splitting the argument list itself, 
> > +therefore Section 4.6 is not automatically enforced. Arrays and anonymous functions are able to span multiple
> > +lines.
> > +
> > +The following examples are perfectly valid in PSR-2:
> > +
> > +```php
> > +<?php
> > +somefunction($foo, $bar, [
> > +  // ...
> > +], $baz);
> I would argue the above is not valid PSR-2. It would be if there were no trailing $baz param. Thus, the following would be OK:
> 
> somefunction($foo, $bar, [
>     // ...
> ]);
> Adding a param after the array in this case means it is not on the same line as the other arguments, necessitating one-line-per-argument to be compliant:
> 
> somefunction(
>     $foo,
>     $bar,
>     [
>         // ...
>     ],
>     $baz
> );
> —
> Reply to this email directly or view it on GitHub.