Re: One more thing ...

From: Date: Sat, 05 Apr 2008 22:12:47 +0000
Subject: Re: One more thing ...
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-49645@lists.php.net to get a copy of this message
Helgi Þormar Þorbjörnsson wrote:
Okey that's what I was talking about, 148 should not be an error, not even close And I'm not sure what the heck 195 is about ... Who cares if there is a line break or not ? (I rather like having a line break actually) and for the last error I'm a bit stumped Lets hope Greg can fix those or at least turn them into warnings ......... - Helgi On Sat, Apr 5, 2008 at 5:25 AM, Joe Stump <joe@joestump.net <mailto:joe@joestump.net>> wrote:
    FILE: /Users/jstump/dev/foo.php
    --------------------------------------------------------------------------------
    FOUND 3 ERROR(S) AND 1 WARNING(S) AFFECTING 3 LINE(S)
    --------------------------------------------------------------------------------
     72 | WARNING | Line exceeds 85 characters; contains 105 characters
     148 | ERROR   | There must be exactly one blank line before the
    tags in
        |         | function comment
     195 | ERROR   | Parameters must appear immediately after the comment
     195 | ERROR   | Expected 1 space after the longest variable name
    --------------------------------------------------------------------------------
Yes, the error on line 148 is a phpcs error caused by the previous comments containing valid tag. The parser got a little confused :)
The last errors are caused by the fact that there is an additional space between the param name and the param comment. Don't shoot the messenger :) Greg

« previous php.pear.dev (#49645) next »