@ -36,7 +36,7 @@ use Composer\Factory;
*/
class PearRepository extends ArrayRepository
{
public function __construct(array $repoConfig, IOInterface $io, Config $config, HttpDownloader $httpDownloader, EventDispatcher $dispatcher = null)
public function __construct()
throw new \RuntimeException('The PEAR repository has been removed from Composer 2.0');
}