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