1
0
Fork 0

Remove trailing commas for function calls

pull/9345/head
Nils Adermann 2020-10-26 11:42:41 +01:00 committed by GitHub
parent d5245387f3
commit cbcc3a3080
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -743,7 +743,7 @@ EOT
throw new \InvalidArgumentException(sprintf(
'Package %s%s has a PHP requirement incompatible with your PHP version, PHP extensions and Composer version',
$name,
$requiredVersion ? ' at version '.$requiredVersion : '',
$requiredVersion ? ' at version '.$requiredVersion : ''
));
}
// Check whether the required version was the problem
@ -751,7 +751,7 @@ EOT
throw new \InvalidArgumentException(sprintf(
'Could not find package %s in a version matching %s',
$name,
$requiredVersion ?: '*',
$requiredVersion ?: '*'
));
}
// Check whether the PHP version was the problem for all versions