Re: Strict standards errors
| From: | Hannes Magnusson | Date: | Mon, 16 Sep 2013 21:29:05 +0000 |
| Subject: | Re: Strict standards errors | ||
| References: | 1 2 3 4 5 6 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969384634@lists.php.net to get a copy of this message | ||
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