Add the package license for PEAR packages
Refs https://github.com/composer/satis/issues/192pull/3562/head
parent
c54d6f93e3
commit
d22070526f
|
@ -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('')));
|
||||
|
|
Loading…
Reference in New Issue