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

[email protected] (Brett Bieber)
Newsgroups php.pear.cvs,php.pear.core
Message-ID <[email protected]>
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;
     }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.