Soften wording on validation of licenses
parent
d53ebf5ba9
commit
99e3cad0b5
|
@ -102,7 +102,7 @@ EOT
|
||||||
$licenseValidator = new SpdxLicenseIdentifier();
|
$licenseValidator = new SpdxLicenseIdentifier();
|
||||||
if (!$licenseValidator->validate($manifest['license'])) {
|
if (!$licenseValidator->validate($manifest['license'])) {
|
||||||
$warnings[] = sprintf(
|
$warnings[] = sprintf(
|
||||||
'License %s is not a valid SPDX license identifier, see http://www.spdx.org/licenses/',
|
'License %s is not a valid SPDX license identifier, see http://www.spdx.org/licenses/ if you use an open license',
|
||||||
json_encode($manifest['license'])
|
json_encode($manifest['license'])
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue