Re: Re: coding standards: Header Comment Blocks

From: Date: Tue, 08 Jun 2004 00:42:01 +0000
Subject: Re: Re: coding standards: Header Comment Blocks
References: 1 2 3  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-30115@lists.php.net to get a copy of this message
Paul M Jones wrote:
Hi,
* @license http://www.php.net/license/3_0.txt PHP License * @version $Id:$
Version might not be the same as the CVS revision. E.g., CVS rev 1.21 might be release version 1.0 stable (if there's been a lot of alpha and beta work committed to CVS).
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. Tomas V.V.Cox

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