Re: Re: coding standards: Header Comment Blocks
| From: | Tobias Schlitt | Date: | Tue, 08 Jun 2004 08:32:53 +0000 |
| Subject: | Re: Re: coding standards: Header Comment Blocks | ||
| References: | 1 2 3 4 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-30136@lists.php.net to get a copy of this message | ||
Hi Tomas V.V.Cox! You wrote:
> You can use the PEAR package replace capabilities. Ex:
> * @version @package_version@ (CVS rev: $Id:$)
> and in package.xml
> <file name="Class.php">
> <replace from="@package_version@" to="version"
> type="package-info"/>
> </file>
> '@pacakge_version@' will be replaced with the version extracted from you
> package.xml release file. Maybe to include the 'state' could be usefull too.
+10 on this solution. This should become general standard for all packages
and files.
We can beside that add similar replacement behavior for the @package tag.
This would make the phpDocumentor generation much more comfortable.
This should be worth an RFC. Does anyone volunteer to provide it?
Regards,
Toby
--
Tobias Schlitt
a passion for php http://www.schlitt.info