diff --git a/src/Composer/Repository/PlatformRepository.php b/src/Composer/Repository/PlatformRepository.php index fa87d7206..dd3b4bcce 100644 --- a/src/Composer/Repository/PlatformRepository.php +++ b/src/Composer/Repository/PlatformRepository.php @@ -56,7 +56,7 @@ class PlatformRepository extends ArrayRepository implements WritableRepositoryIn $version = $versionParser->normalize('0'); } - $ext = new MemoryPackage('ext/'.strtolower($ext), $version); + $ext = new MemoryPackage('ext-'.strtolower($ext), $version); parent::addPackage($ext); } }