Skip platform packages from the lock file
This should maybe be done in a better way, but it'll do for now.pull/41/merge
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…
Reference in New Issue