svn: /pear2/Pyrus/trunk/src/Pyrus/ Installer/Role/Cfg.php Installer/Role/Common.php Installer/Role.php PackageFile/Parser/v2.php PackageFile/v2.php
REST/10.php Registry/Pear1/DependencyDB.php
| From: | Brett Bieber | Date: | Tue, 29 Dec 2009 16:38:44 +0000 |
| Subject: | svn: /pear2/Pyrus/trunk/src/Pyrus/ Installer/Role/Cfg.php Installer/Role/Common.php Installer/Role.php PackageFile/Parser/v2.php PackageFile/v2.php REST/10.php Registry/Pear1/DependencyDB.php |
||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-cvs+get-58405@lists.php.net to get a copy of this message | ||
saltybeagle Tue, 29 Dec 2009 16:38:44 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=292767
Log:
Fix a few phpdoc references to PEAR_
Changed paths:
U pear2/Pyrus/trunk/src/Pyrus/Installer/Role/Cfg.php
U pear2/Pyrus/trunk/src/Pyrus/Installer/Role/Common.php
U pear2/Pyrus/trunk/src/Pyrus/Installer/Role.php
U pear2/Pyrus/trunk/src/Pyrus/PackageFile/Parser/v2.php
U pear2/Pyrus/trunk/src/Pyrus/PackageFile/v2.php
U pear2/Pyrus/trunk/src/Pyrus/REST/10.php
U pear2/Pyrus/trunk/src/Pyrus/Registry/Pear1/DependencyDB.php
Modified: pear2/Pyrus/trunk/src/Pyrus/Installer/Role/Cfg.php
===================================================================
--- pear2/Pyrus/trunk/src/Pyrus/Installer/Role/Cfg.php 2009-12-29 16:20:52 UTC (rev 292766)
+++ pear2/Pyrus/trunk/src/Pyrus/Installer/Role/Cfg.php 2009-12-29 16:38:44 UTC (rev 292767)
@@ -29,8 +29,8 @@
protected $md5 = null;
/**
* Do any unusual setup here
- * @param PEAR_Installer
- * @param PEAR_PackageFile_v2
+ * @param \pear2\Pyrus\Installer
+ * @param \pear2\Pyrus\PackageFileInterface
* @param array file attributes
* @param string file name
*/
Modified: pear2/Pyrus/trunk/src/Pyrus/Installer/Role/Common.php
===================================================================
--- pear2/Pyrus/trunk/src/Pyrus/Installer/Role/Common.php 2009-12-29 16:20:52 UTC (rev 292766)
+++ pear2/Pyrus/trunk/src/Pyrus/Installer/Role/Common.php 2009-12-29 16:38:44 UTC (rev 292767)
@@ -31,7 +31,7 @@
class Common
{
/**
- * @var PEAR_Config
+ * @var \pear2\Pyrus\Config
* @access protected
*/
protected $config;
@@ -259,8 +259,8 @@
/**
* Do any unusual setup here
- * @param PEAR_Installer
- * @param PEAR_PackageFile_v2
+ * @param \pear2\Pyrus\Installer
+ * @param \pear2\Pyrus\PackageFileInterface
* @param array file attributes
* @param string file name
*/
Modified: pear2/Pyrus/trunk/src/Pyrus/Installer/Role.php
===================================================================
--- pear2/Pyrus/trunk/src/Pyrus/Installer/Role.php 2009-12-29 16:20:52 UTC (rev 292766)
+++ pear2/Pyrus/trunk/src/Pyrus/Installer/Role.php 2009-12-29 16:38:44 UTC (rev 292767)
@@ -31,7 +31,7 @@
/**
* Set up any additional configuration variables that file roles require
*
- * Never call this directly, it is called by the PEAR_Config constructor
+ * Never call this directly, it is called by \pear2\Pyrus\Config constructor
* @param \pear2\Pyrus\Config
* @access private
* @static
Modified: pear2/Pyrus/trunk/src/Pyrus/PackageFile/Parser/v2.php
===================================================================
--- pear2/Pyrus/trunk/src/Pyrus/PackageFile/Parser/v2.php 2009-12-29 16:20:52 UTC (rev 292766)
+++ pear2/Pyrus/trunk/src/Pyrus/PackageFile/Parser/v2.php 2009-12-29 16:38:44 UTC (rev 292767)
@@ -77,11 +77,14 @@
}
/**
- * @param string
- * @param string file name of the package.xml
- * @param string|false name of the archive this package.xml came from, if any
- * @param string class name to instantiate and return. This must be PEAR_PackageFile_v2 or
- * a subclass
+ * Parses a string containing package xml and returns an object
+ *
+ * @param string $data data to parse
+ * @param string|false $file name of the archive this package.xml came from, if any
+ * @param string $class class name to instantiate and return.
+ * This must be pear2\Pyrus\PackageFile\v2 or a subclass
+ * @param int $state what state we are currently in
+ *
* @return \pear2\Pyrus\PackageFile\v2
*/
function parse($data, $file = false, $class = 'pear2\Pyrus\PackageFile\v2', $state =
\pear2\Pyrus\Validate::NORMAL)
Modified: pear2/Pyrus/trunk/src/Pyrus/PackageFile/v2.php
===================================================================
--- pear2/Pyrus/trunk/src/Pyrus/PackageFile/v2.php 2009-12-29 16:20:52 UTC (rev 292766)
+++ pear2/Pyrus/trunk/src/Pyrus/PackageFile/v2.php 2009-12-29 16:38:44 UTC (rev 292767)
@@ -1,6 +1,6 @@
<?php
/**
- * PEAR_PackageFile_v2, package.xml version 2.1
+ * pear2\Pyrus\PackageFile\v2, package.xml version 2.1
*
* PHP version 5
*
@@ -523,7 +523,7 @@
* Directly set the array that defines this packagefile
*
* WARNING: no validation. This should only be performed by internal methods
- * inside Pyrus or by inputting an array saved from an existing PEAR_PackageFile_v2
+ * inside Pyrus or by inputting an array saved from an existing pear2\Pyrus\PackageFile\v2
* @param array
*/
function fromArray($pinfo)
Modified: pear2/Pyrus/trunk/src/Pyrus/REST/10.php
===================================================================
--- pear2/Pyrus/trunk/src/Pyrus/REST/10.php 2009-12-29 16:20:52 UTC (rev 292766)
+++ pear2/Pyrus/trunk/src/Pyrus/REST/10.php 2009-12-29 16:38:44 UTC (rev 292767)
@@ -1,6 +1,6 @@
<?php
/**
- * PEAR_REST_10
+ * pear2\Pyrus\REST_10
*
* PHP version 5
*
@@ -40,8 +40,8 @@
/**
* Retrieve information about a remote package to be downloaded from a REST server
*
- * @param string $base The uri to prepend to all REST calls
- * @param array $packageinfo an array of format:
+ * @param string $base The uri to prepend to all REST calls
+ * @param array $packageinfo an array of format:
* <pre>
* array(
* 'package' => 'packagename',
@@ -50,9 +50,12 @@
* -or-
* ['version' => '1.whatever']
* </pre>
- * @param string $prefstate Current preferred_state config variable value
- * @param bool $installed the installed version of this package to compare against
- * @return array|false|PEAR_Error see {@link returnDownloadURL()}
+ * @param string $prefstate Current preferred_state config variable value
+ * @param bool $installed the installed version of this package to compare against
+ *
+ * @return array|false see {@link returnDownloadURL()}
+ *
+ * @throws pear2\Pyrus\REST\Exception
*/
function getDownloadURL($base, $packageinfo, $prefstate, $installed)
{
Modified: pear2/Pyrus/trunk/src/Pyrus/Registry/Pear1/DependencyDB.php
===================================================================
--- pear2/Pyrus/trunk/src/Pyrus/Registry/Pear1/DependencyDB.php 2009-12-29 16:20:52 UTC (rev 292766)
+++ pear2/Pyrus/trunk/src/Pyrus/Registry/Pear1/DependencyDB.php 2009-12-29 16:38:44 UTC (rev 292767)
@@ -1,7 +1,7 @@
<?php
/**
- * PEAR_DependencyDB, advanced installed packages dependency database for
- * Pear1 registry
+ * pear2\Pyrus\Registry\Pear1\DependencyDB, advanced installed packages
+ * dependency database for Pear1 registry
*
* PHP version 5
*