@@ 403-419 (lines=17) @@ | ||
400 | } |
|
401 | } |
|
402 | ||
403 | private function checkForNotFoundErrors(array $puliPackages) |
|
404 | { |
|
405 | /** @var PuliPackage[] $notFoundPackages */ |
|
406 | $notFoundPackages = array_filter($puliPackages, |
|
407 | function (PuliPackage $package) { |
|
408 | return PuliPackage::STATE_NOT_FOUND === $package->getState() |
|
409 | && PuliPluginImpl::INSTALLER_NAME === $package->getInstallerName(); |
|
410 | }); |
|
411 | ||
412 | foreach ($notFoundPackages as $package) { |
|
413 | $this->printPackageWarning( |
|
414 | 'The package "%s" (at "%s") could not be found', |
|
415 | $package->getName(), |
|
416 | $package->getInstallPath() |
|
417 | ); |
|
418 | } |
|
419 | } |
|
420 | ||
421 | private function checkForNotLoadableErrors(array $puliPackages) |
|
422 | { |
|
@@ 421-436 (lines=16) @@ | ||
418 | } |
|
419 | } |
|
420 | ||
421 | private function checkForNotLoadableErrors(array $puliPackages) |
|
422 | { |
|
423 | /** @var PuliPackage[] $notLoadablePackages */ |
|
424 | $notLoadablePackages = array_filter($puliPackages, function (PuliPackage $package) { |
|
425 | return PuliPackage::STATE_NOT_LOADABLE === $package->getState() |
|
426 | && PuliPluginImpl::INSTALLER_NAME === $package->getInstallerName(); |
|
427 | }); |
|
428 | ||
429 | foreach ($notLoadablePackages as $package) { |
|
430 | $this->printPackageWarning( |
|
431 | 'The package "%s" (at "%s") could not be loaded', |
|
432 | $package->getName(), |
|
433 | $package->getInstallPath() |
|
434 | ); |
|
435 | } |
|
436 | } |
|
437 | ||
438 | private function adoptComposerName(array $puliPackages) |
|
439 | { |