Re: Docblock alignment standards

From: Date: Sat, 12 Jan 2008 13:30:58 +0000
Subject: Re: Docblock alignment standards
References: 1 2  Groups: php.pear.qa 
Request: Send a blank email to pear-qa+get-4728@lists.php.net to get a copy of this message
Chuck Burgess wrote:
On Jan 12, 2008 7:02 AM, Greg Sherwood <gsherwood@squiz.net> wrote:
if any asterisk in a docblock is followed by more than once space
I know there are times when I use additional spacing after the leading asterisk specifically for visual formatting, in particular when inside <code> tags, <pre> tags, and simple lists. See the "DocBlock Description Details" section of the PhpDocumentor manual for examples ( http://pear.php.net/package/PhpDocumentor/docs/latest/phpDocumentor/tutorial_phpDocumentor.howto.pkg.html#basics.desc ). Will this new restriction apply in these cases? Sorry, I wrote the wrong thing there. This is for an asterisk on a line with a tag, like @param. I can't enforce it elsewhere for the exact reason you specified. I too often use indentation in comments to aid readability.
Greg

« previous php.pear.qa (#4728) next »