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