commit
0a0ad6c335
|
@ -160,6 +160,7 @@ class PearRepository extends ArrayRepository
|
|||
$package = new CompletePackage($composerPackageName, $normalizedVersion, $version);
|
||||
$package->setType('pear-library');
|
||||
$package->setDescription($packageDefinition->getDescription());
|
||||
$package->setLicense(array($packageDefinition->getLicense()));
|
||||
$package->setDistType('file');
|
||||
$package->setDistUrl($distUrl);
|
||||
$package->setAutoload(array('classmap' => array('')));
|
||||
|
|
|
@ -121,6 +121,7 @@ class ChannelReaderTest extends TestCase
|
|||
$expectedPackage->setType('pear-library');
|
||||
$expectedPackage->setDistType('file');
|
||||
$expectedPackage->setDescription('description');
|
||||
$expectedPackage->setLicense(array('license'));
|
||||
$expectedPackage->setDistUrl("http://test.loc/get/sample-1.0.0.1.tgz");
|
||||
$expectedPackage->setAutoload(array('classmap' => array('')));
|
||||
$expectedPackage->setIncludePaths(array('/'));
|
||||
|
|
Loading…
Reference in New Issue