svn: /pear2/Pyrus_Developer/trunk/src/Pyrus/Developer/PackageFile/ Commands.php

From: Date: Mon, 12 Jul 2010 14:05:41 +0000
Subject: svn: /pear2/Pyrus_Developer/trunk/src/Pyrus/Developer/PackageFile/ Commands.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-core+get-9565@lists.php.net to get a copy of this message
saltybeagle Mon, 12 Jul 2010 14:05:41 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=301195 Log: Readability Changed paths: U pear2/Pyrus_Developer/trunk/src/Pyrus/Developer/PackageFile/Commands.php Modified: pear2/Pyrus_Developer/trunk/src/Pyrus/Developer/PackageFile/Commands.php =================================================================== --- pear2/Pyrus_Developer/trunk/src/Pyrus/Developer/PackageFile/Commands.php 2010-07-12 13:58:20 UTC (rev 301194) +++ pear2/Pyrus_Developer/trunk/src/Pyrus/Developer/PackageFile/Commands.php 2010-07-12 14:05:41 UTC (rev 301195) @@ -577,21 +577,22 @@ } $ret['package'] = implode('_', $package); } - $package[0] = 'pear2'; + $package[0] = 'PEAR2'; $path = $package; array_shift($path); - $ret['path'] = implode('_', $path); + + $ret['path'] = implode('_', $path); $ret['mainNamespace'] = implode('\\', $package); - $ret['mainClass'] = implode('\\', $package) . '\\Main'; - $ret['mainPath'] = implode('/', $path); - $ret['svn'] = 'http://svn.php.net/repository/pear2/' . $ret['package']; + $ret['mainClass'] = implode('\\', $package) . '\\Main'; + $ret['mainPath'] = implode('/', $path); + $ret['svn'] = 'http://svn.php.net/repository/pear2/' . $ret['package']; } else { - $ret['path'] = implode('_', $package); - $ret['package'] = implode('_', $package); + $ret['path'] = implode('_', $package); + $ret['package'] = implode('_', $package); $ret['mainNamespace'] = implode('\\', $package); - $ret['mainClass'] = implode('\\', $package) . '\\Main'; - $ret['mainPath'] = implode('/', $package); - $ret['svn'] = 'http://svn.' . $channel . '/???'; + $ret['mainClass'] = implode('\\', $package) . '\\Main'; + $ret['mainPath'] = implode('/', $package); + $ret['svn'] = 'http://svn.' . $channel . '/???'; } return $ret; }

« previous php.pear.core (#9565) next »