private function getDepRepos(Composer $composer)
    {
        $depRepos = [];
        if (\is_array($this->depRepositories)) {
            $rm = $composer->getRepositoryManager();
            foreach ($this->depRepositories as $index => $repoConfig) {
                $name = \is_int($index) && isset($repoConfig['url']) ? $repoConfig['url'] : $index;
                $type = $repoConfig['type'] ?? '';
                $depRepos[$index] = $rm->createRepository($type, $repoConfig, $name);
            }
        }

        return $depRepos;
    }