mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Update PEAR Package Extractor to use 'task:replace', 'phprelease' commands and install role='script' files
Add PearInstaller Change PEAR packages type from 'library' to 'pear-library' and dist type from 'pear' to 'file' Remove PearDownloader Refactor Channel Installer
This commit is contained in:
parent
0117108efb
commit
ac3cebc633
16 changed files with 305 additions and 150 deletions
|
@ -118,8 +118,8 @@ class ChannelReaderTest extends TestCase
|
|||
$packages = $ref->invoke($reader, $channelInfo, new VersionParser());
|
||||
|
||||
$expectedPackage = new MemoryPackage('pear-test.loc/sample', '1.0.0.1' , '1.0.0.1');
|
||||
$expectedPackage->setType('library');
|
||||
$expectedPackage->setDistType('pear');
|
||||
$expectedPackage->setType('pear-library');
|
||||
$expectedPackage->setDistType('file');
|
||||
$expectedPackage->setDescription('description');
|
||||
$expectedPackage->setDistUrl("http://test.loc/get/sample-1.0.0.1.tgz");
|
||||
$expectedPackage->setAutoload(array('classmap' => array('')));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue