Skip platform packages from the lock file

This should maybe be done in a better way, but it'll do for now.
main
Jordi Boggiano 13 years ago
parent cc769af923
commit 9e3c2a7e22

@ -88,6 +88,10 @@ class Locker
$name = $package->getName();
$version = $package->getVersion();
if ('php' === $name || preg_match('{^ext-[a-z0-9_-]+$}', $name)) {
continue;
}
if (!$name || !$version) {
throw new \LogicException(sprintf(
'Package "%s" has no version or name and can not be locked', $package

Loading…
Cancel
Save