// delivered package does not provide the minimum required version
if (Package::compareVersion($requiredVersion, $this->archive->getPackageInfo('version'), '>')) {
throw new PackageValidationException(PackageValidationException::INSUFFICIENT_VERSION, array(
- 'packageName' => $package->packageName,
- 'packageVersion' => $package->packageVersion,
+ 'packageName' => $this->archive->getPackageInfo('name'),
+ 'packageVersion' => $requiredVersion,
'deliveredPackageVersion' => $this->archive->getPackageInfo('version')
));
}