return $shopwareVersion;
} private function getManifestVersion(): string
{ $finder =
new Finder();
$finder->
in($this->manifestRoot
) ->
path('/Schema'
);
$manifestVersions =
[];
foreach ($finder->
getIterator() as $file) { $manifestVersions[] = AnnotationTagTester::
getVersionFromManifestFileName($file->
getFilename());
} return $this->
getCurrentManifestVersion($manifestVersions);
} /**
* @param array<string|null> $versions
*/
private function getCurrentManifestVersion(array
$versions): string
{ $versions =
array_filter($versions);