Explorar o código

Merge remote-tracking branch 'origin/master'

Jordi Boggiano %!s(int64=13) %!d(string=hai) anos
pai
achega
61d17524b8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/Composer/Downloader/ZipDownloader.php

+ 1 - 1
src/Composer/Downloader/ZipDownloader.php

@@ -22,7 +22,7 @@ class ZipDownloader extends FileDownloader
     protected function extract($file, $path)
     {
         if (!class_exists('ZipArchive')) {
-            throw new \UnexpectedValueException('You need the zip extension enabled to use the ZipDownloader');
+            throw new \RuntimeException('You need the zip extension enabled to use the ZipDownloader');
         }
 
         $zipArchive = new \ZipArchive();