mirror of
https://github.com/composer/composer
synced 2025-05-10 17:12:51 +00:00
Improvements
Small improvements, such as remove unused imports, unecessaries casts, parentheses, etc.
This commit is contained in:
parent
0c6201de3e
commit
7d9f8e2247
18 changed files with 18 additions and 25 deletions
|
@ -383,7 +383,7 @@ EOT
|
|||
}
|
||||
|
||||
if ($latestPackage && $latestPackage->isAbandoned()) {
|
||||
$replacement = (is_string($latestPackage->getReplacementPackage()))
|
||||
$replacement = is_string($latestPackage->getReplacementPackage())
|
||||
? 'Use ' . $latestPackage->getReplacementPackage() . ' instead'
|
||||
: 'No replacement was suggested';
|
||||
$packageWarning = sprintf(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue