Skip to content

Commit 0ed1329

Browse files
committed
Skip packages with no compatible patches
1 parent 450e56e commit 0ed1329

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Patcher.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,10 @@ private function computeTargetPackageApplications()
226226
}
227227
}
228228

229+
if (empty($applications)) {
230+
continue;
231+
}
232+
229233
$applications = array_values($applications);
230234

231235
$packageApplications[$targetPackage->getName()] = new PackagePatchApplication($targetPackage, $applications);

0 commit comments

Comments
 (0)