ConstraintInterface
$installedVersion,
RequirementExceptionStack
$exceptionStack ): array
{ if (!
isset($pluginRequirements[$installedName])) { return $pluginRequirements;
} $constraint =
$pluginRequirements[$installedName]->
getConstraint();
if ($constraint->
matches($installedVersion) === false
) { $exceptionStack->
add( new VersionMismatchException($installedName,
$constraint->
getPrettyString(),
$installedVersion->
getPrettyString()) );
} unset($pluginRequirements[$installedName]);
return $pluginRequirements;
} /**
* @param Link[] $pluginConflicts
*
* @return Link[]
*/