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