2019-11-29 00:03:55 +00:00
--TEST--
Installs a simple package with exact match requirement
--COMPOSER--
{
"repositories": [
{
"type": "package",
"package": [
{
"name": "a/a",
"version": "1.0.0",
"funding": [{ "type": "example", "url": "http://example.org/fund" }],
"require": {
"d/d": "^1.0"
}
},
{
"name": "b/b",
"version": "1.0.0",
"funding": [{ "type": "example", "url": "http://example.org/fund" }]
},
{
"name": "c/c",
"version": "1.0.0",
"funding": [{ "type": "example", "url": "http://example.org/fund" }]
},
{
"name": "d/d",
"version": "1.0.0",
"require": {
"b/b": "^1.0"
}
}
]
}
],
"require": {
"a/a": "1.0.0"
}
}
--RUN--
install
--EXPECT-OUTPUT--
2021-05-21 14:49:17 +00:00
<warning>No composer.lock file present. Updating dependencies to latest instead of installing from lock file. See https://getcomposer.org/install for more information.</warning>
2019-11-29 00:03:55 +00:00
Loading composer repositories with package information
2020-02-14 15:55:21 +00:00
Updating dependencies
Lock file operations: 3 installs, 0 updates, 0 removals
2020-03-10 15:08:40 +00:00
- Locking a/a (1.0.0)
2020-02-14 15:55:21 +00:00
- Locking b/b (1.0.0)
- Locking d/d (1.0.0)
2019-11-29 00:03:55 +00:00
Writing lock file
2020-02-14 15:55:21 +00:00
Installing dependencies from lock file (including require-dev)
Package operations: 3 installs, 0 updates, 0 removals
2019-11-29 00:03:55 +00:00
Generating autoload files
2 packages you are using are looking for funding.
2020-03-13 03:20:10 +00:00
Use the `composer fund` command to find out more!
2019-11-29 00:03:55 +00:00
--EXPECT--
Installing b/b (1.0.0)
Installing d/d (1.0.0)
Installing a/a (1.0.0)