Permalink
Browse files

move to namespaced pear2\Exception

  • Loading branch information...
1 parent c038298 commit e5ea606042b861c5b5876f1232286d94413884ab @cellog cellog committed Jul 8, 2009
Showing with 5 additions and 5 deletions.
  1. +4 −4 makepackage.php
  2. +1 −1 src/Console/CommandLine/Exception.php
View
@@ -35,15 +35,15 @@
require_once $basedir . '/autoload.php';
-new PEAR2_Pyrus_Developer_PackageFile_PEAR2SVN(
+new \pear2\Pyrus\Developer\PackageFile\PEAR2SVN(
__DIR__,
'PEAR2_Console_CommandLine'
);
-$package = new PEAR2_Pyrus_Package('package.xml');
+$package = new \pear2\Pyrus\Package('package.xml');
$outfile = $package->name . '-' . $package->version['release'];
-$creator = new PEAR2_Pyrus_Package_Creator(
- new PEAR2_Pyrus_Developer_Creator_Phar($outfile . '.tgz', false, Phar::TAR, Phar::GZ),
+$creator = new \pear2\Pyrus\Package\Creator(
+ new \pear2\Pyrus\Developer\Creator\Phar($outfile . '.tgz', false, Phar::TAR, Phar::GZ),
$basedir . '/Exception/src',
$basedir . '/Autoload/src',
$basedir . '/MultiErrors/src'
@@ -34,7 +34,7 @@
* @link http://pear.php.net/package/Console_CommandLine
* @since Class available since release 0.1.0
*/
-class PEAR2_Console_CommandLine_Exception extends PEAR2_Exception
+class PEAR2_Console_CommandLine_Exception extends \pear2\Exception
{
// Codes constants {{{

0 comments on commit e5ea606

Please sign in to comment.