33 lines
1.0 KiB
Plaintext
33 lines
1.0 KiB
Plaintext
|
--TEST--
|
||
|
Suggestions are displayed even in non-dev mode for new suggesters installed when updating the lock file
|
||
|
--COMPOSER--
|
||
|
{
|
||
|
"repositories": [
|
||
|
{
|
||
|
"type": "package",
|
||
|
"package": [
|
||
|
{ "name": "a/a", "version": "1.0.0", "suggest": { "b/b": "an obscure reason" } }
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"require": {
|
||
|
"a/a": "1.0.0"
|
||
|
}
|
||
|
}
|
||
|
--RUN--
|
||
|
install --no-dev
|
||
|
--EXPECT-OUTPUT--
|
||
|
<warning>No lock file found. Updating dependencies instead of installing from lock file. Use composer update over composer install if you do not have a lock file.</warning>
|
||
|
Loading composer repositories with package information
|
||
|
Updating dependencies
|
||
|
Lock file operations: 1 install, 0 updates, 0 removals
|
||
|
- Locking a/a (1.0.0)
|
||
|
Writing lock file
|
||
|
Installing dependencies from lock file
|
||
|
Package operations: 1 install, 0 updates, 0 removals
|
||
|
1 package suggestions were added by new dependencies, use composer suggest to see details.
|
||
|
Generating autoload files
|
||
|
|
||
|
--EXPECT--
|
||
|
Installing a/a (1.0.0)
|