1
0
Fork 0

Tweak message

pull/6298/head
Jordi Boggiano 2017-03-26 13:43:05 +02:00 committed by GitHub
parent 5cd080dfac
commit 0efc66d968
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ class ConfigValidator
$licenseValidator = new SpdxLicenses();
if ('proprietary' !== $manifest['license'] && array() !== $manifest['license'] && !$licenseValidator->validate($manifest['license']) && $licenseValidator->validate(trim($manifest['license']))) {
$warnings[] = sprintf(
'Trim the license identifier (remove useless spaces, etc).',
'License %s must not contain extra spaces, make sure to trim it.',
json_encode($manifest['license'])
);
} else if ('proprietary' !== $manifest['license'] && array() !== $manifest['license'] && !$licenseValidator->validate($manifest['license'])) {