1
0
Fork 0
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:
Gabriel Caruso 2018-07-04 21:52:04 -03:00
parent 0c6201de3e
commit 7d9f8e2247
No known key found for this signature in database
GPG key ID: EA85C7988F5A6877
18 changed files with 18 additions and 25 deletions

View file

@ -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(