From 5bb7bbba698aa754ce55aea0f4516cfa7abe41ef Mon Sep 17 00:00:00 2001 From: everzet Date: Mon, 26 Sep 2011 01:06:00 +0300 Subject: [PATCH] Updated PearDownloader to conform new DownloaderInterface --- src/Composer/Downloader/PearDownloader.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Composer/Downloader/PearDownloader.php b/src/Composer/Downloader/PearDownloader.php index d059b5151..b1da8c47b 100644 --- a/src/Composer/Downloader/PearDownloader.php +++ b/src/Composer/Downloader/PearDownloader.php @@ -23,7 +23,7 @@ class PearDownloader implements DownloaderInterface /** * {@inheritDoc} */ - public function download(PackageInterface $package, $path, $url, $checksum = null, $useSource = false) + public function download($path, $url, $checksum = null, $useSource = false) { $this->downloadTo($package, $url, $path, $checksum); } @@ -31,7 +31,7 @@ class PearDownloader implements DownloaderInterface /** * {@inheritDoc} */ - public function update(PackageInterface $initial, PackageInterface $target, $path, $useSource = false) + public function update($path, $url, $checksum = null, $useSource = false) { // TODO rm old dir $this->downloadTo($package, $url, $path, $checksum); @@ -40,7 +40,7 @@ class PearDownloader implements DownloaderInterface /** * {@inheritDoc} */ - public function remove(PackageInterface $package, $path, $useSource = false) + public function remove($path, $useSource = false) { echo 'rm -rf '.$path; // TODO }