mirror of
https://github.com/composer/composer
synced 2025-05-10 17:12:51 +00:00
Add aliasing: foo as bar
will require foo and automatically make it replace the bar version
This commit is contained in:
parent
5eb333680b
commit
82054f2060
5 changed files with 65 additions and 3 deletions
|
@ -53,6 +53,7 @@ class VersionParserTest extends \PHPUnit_Framework_TestCase
|
|||
'parses trunk' => array('dev-trunk', '9999999-dev'),
|
||||
'parses arbitrary' => array('dev-feature-foo', 'dev-feature-foo'),
|
||||
'parses arbitrary2' => array('DEV-FOOBAR', 'dev-foobar'),
|
||||
'ignores aliases' => array('dev-master as 1.0.0', '9999999-dev'),
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue