diff --git a/src/Composer/Repository/RepositoryFactory.php b/src/Composer/Repository/RepositoryFactory.php index afe1db636..b36664187 100644 --- a/src/Composer/Repository/RepositoryFactory.php +++ b/src/Composer/Repository/RepositoryFactory.php @@ -173,6 +173,6 @@ class RepositoryFactory $name .= '2'; } - return is_numeric((string) $name) ? 'repo'.$name : $name; + return $name; } }