/**
* @return array{'require': Link[], 'conflict': Link[]}
*/
private function getPluginDependencies(PluginEntity
$plugin): array
{ $this->pluginComposer =
$this->
getComposer($this->projectDir . '/' .
$plugin->
getPath());
$package =
$this->pluginComposer->
getPackage();
return [ 'require' =>
$package->
getRequires(),
'conflict' =>
$package->
getConflicts(),
];
} /**
* @param array{'require': Link[], 'conflict': Link[]} $pluginDependencies
*
* @return array{'require': Link[], 'conflict': Link[]}
*/
private function validateComposerPackages( array
$pluginDependencies,
RequirementExceptionStack
$exceptionStack ):