Re: Strict standards errors
| From: | Yannick Torrès | Date: | Tue, 17 Sep 2013 11:29:18 +0000 |
| Subject: | Re: Strict standards errors | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969384635@lists.php.net to get a copy of this message | ||
Could you please give me a filename as example for this ?
2013/9/16 Hannes Magnusson <hannes.magnusson@gmail.com>
> On Sun, Sep 15, 2013 at 3:27 PM, Chris Wright <cw@daverandom.com> wrote:
> > I've pushed a couple of commits to clear the backlog here and
> > something that is definitely a problem with the checker is that it
> > considers varargs to have a missing initializer. Having the strict
> > standards checker ignore any thing structured like this:
> >
> > <methodparam choice="opt">
> > <parameter>...</parameter>
> > </methodparam>
> >
> > ...might cut down the size of the queue somewhat (i.e. ignoring
> > arguments named as an ellipsis).
> >
> > I know the majority of array functions that have missingInitializer
> > errors are suffering from this issue.
> >
> > Thoughts?
>
>
>
> I guess it makes sense to ignore a parameter called "..." from this check.
>
> -Hannes
>