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.
1 parent 2e91b9e commit d51555fCopy full SHA for d51555f
src/Plugin.php
@@ -234,7 +234,7 @@ public function packageUpdate(PackageEvent $event): void
234
than {$privateRepoVersion} in private {$privateRepoUrl}. Public package might've been taken over by a malicious entity,
235
please investigate and update package requirement to match the version from the private repository";
236
237
- if (array_key_exists($packageName, $this->nonFixedPackages)) {
+ if ($this->nonFixedPackages && array_key_exists($packageName, $this->nonFixedPackages)) {
238
throw new Exception($exceptionMessage);
239
} else {
240
$event->getIO()->writeError('<warning>' . $exceptionMessage . '</warning>');
0 commit comments