private function getRelativePaths(Filesystem $fileSystem, \SplFileInfo $lockFile, array $conductorRealPaths) { return array_map(function ($conductorPath) use($fileSystem, $lockFile) { return $fileSystem->makePathRelative(dirname($conductorPath), dirname($lockFile->getRealPath())) . basename($conductorPath); }, $conductorRealPaths); }