1
0
Fork 0

Change Uninstalling to Removing in lock operations

pull/8684/head
Jordi Boggiano 2020-03-11 16:44:08 +01:00
parent ba04a46cae
commit 589aa351a8
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
2 changed files with 2 additions and 2 deletions

View File

@ -61,7 +61,7 @@ class UninstallOperation extends SolverOperation
*/
public function show($lock)
{
return 'Uninstalling '.$this->package->getPrettyName().' ('.$this->package->getFullPrettyVersion().')';
return ($lock ? 'Removing ' : 'Uninstalling ').$this->package->getPrettyName().' ('.$this->package->getFullPrettyVersion().')';
}
/**

View File

@ -56,7 +56,7 @@ update
Loading composer repositories with package information
Updating dependencies
Lock file operations: 0 installs, 0 updates, 1 removal
- Uninstalling b/b (1.0.0)
- Removing b/b (1.0.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 0 installs, 0 updates, 2 removals