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