/**
* @param Link[] $pluginRequirements
*/
private function addRemainingRequirementsAsException( array
$pluginRequirements,
RequirementExceptionStack
$exceptionStack ): void
{ foreach ($pluginRequirements as $installedPackage =>
$requirement) { $exceptionStack->
add( new MissingRequirementException($installedPackage,
$requirement->
getPrettyConstraint()) );
} } /**
* @param array{'require': Link[], 'conflict': Link[]} $pluginDependencies
*
* @return array{'require': Link[], 'conflict': Link[]}
*/
private function validateShippedDependencies( PluginEntity
$plugin,