We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bba9dab + 22397c8 commit ae02121Copy full SHA for ae02121
src/Patches.php
@@ -176,7 +176,7 @@ public function gatherPatches(PackageEvent $event) {
176
$operations = $event->getOperations();
177
$this->io->write('<info>Gathering patches for dependencies. This might take a minute.</info>');
178
foreach ($operations as $operation) {
179
- if ($operation->getJobType() == 'install' || $operation->getJobType() == 'update') {
+ if ($operation instanceof InstallOperation || $operation instanceof UpdateOperation) {
180
$package = $this->getPackageFromOperation($operation);
181
$extra = $package->getExtra();
182
if (isset($extra['patches'])) {
0 commit comments