mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Introduce constants for Composer\Package\Link types
This commit is contained in:
parent
4f4c299015
commit
a4509d28e7
16 changed files with 158 additions and 126 deletions
|
@ -438,7 +438,7 @@ class AutoloadGeneratorTest extends TestCase
|
|||
|
||||
$b->setAutoload(array('psr-4' => array('B\\' => 'src/')));
|
||||
$b->setReplaces(
|
||||
array(new Link('b/b', 'b/c', new Constraint('==', '1.0'), 'replaces'))
|
||||
array(new Link('b/b', 'b/c', new Constraint('==', '1.0'), Link::TYPE_REPLACE))
|
||||
);
|
||||
|
||||
$this->repository->expects($this->once())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue