PHPDoc and linebreaks
| From: | Graeme Merrall | Date: | Wed, 26 Sep 2001 12:04:44 +0000 |
| Subject: | PHPDoc and linebreaks | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-2064@lists.php.net to get a copy of this message | ||
I just got bitten by a small buglet in PHPDoc. Basically you must define a
consant PHPDOC_LINEBREAK. Otherwise when PHPDoc is parsing the class files for
output as well as creating filenames, PHPDOC_LINEBREAK gets appended all over
the place.
I propose modifying core/PhpdocObject.php to include a variable $this-
>phpdoc_linebreak which is used instead. That way if the constant is not
defined a default is at least used.
There are not many places where this constant is used so it's a minor revision.
Thoughts?
Cheers,
Graeme