diff --git a/src/Plugin/Patches.php b/src/Plugin/Patches.php index 5b74ca1..6dc0108 100644 --- a/src/Plugin/Patches.php +++ b/src/Plugin/Patches.php @@ -320,6 +320,9 @@ public function patchPackage(PackageEvent $event) return; } + // Relock patches on package install/update. + $this->createNewPatchesLock(); + // If there aren't any patches, there's nothing to do. if (empty($this->patchCollection->getPatchesForPackage($package->getName()))) { $this->io->write(