Skip to content

Commit

Permalink
Readability
Browse files Browse the repository at this point in the history
  • Loading branch information
saltybeagle committed Jul 12, 2010
1 parent 689b0e8 commit c43c350
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions src/Pyrus/Developer/PackageFile/Commands.php
Expand Up @@ -577,21 +577,22 @@ protected function parsePackageName($package, $channel)
}
$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;
}
Expand Down

0 comments on commit c43c350

Please sign in to comment.