if (!in_array($link->getTarget(), $pkg->getNames())) {
continue;
@ -134,10 +146,6 @@ abstract class BaseRepository implements RepositoryInterface
continue 2;
}
if (preg_match(PlatformRepository::PLATFORM_PACKAGE_REGEX, $link->getTarget())) {
$results[] = array($package, new Link($package->getName(), $link->getTarget(), null, 'requires', $link->getPrettyConstraint().' but it is missing'), false);