From 2a36c3a70aecde4fbb184d5f4a21b259ec1f6fcb Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Mon, 21 Sep 2020 13:19:30 +0200 Subject: [PATCH] Minor tweaks --- res/composer-schema.json | 4 ++-- src/Composer/Downloader/ZipDownloader.php | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/res/composer-schema.json b/res/composer-schema.json index 8aa401580..64e90a7b0 100644 --- a/res/composer-schema.json +++ b/res/composer-schema.json @@ -351,7 +351,7 @@ }, "classmap": { "type": "array", - "description": "This is an array of directories that contain classes to be included in the class-map generation process." + "description": "This is an array of paths that contain classes to be included in the class-map generation process." }, "files": { "type": "array", @@ -638,7 +638,7 @@ }, "classmap": { "type": "array", - "description": "This is an array of directories that contain classes to be included in the class-map generation process." + "description": "This is an array of paths that contain classes to be included in the class-map generation process." }, "files": { "type": "array", diff --git a/src/Composer/Downloader/ZipDownloader.php b/src/Composer/Downloader/ZipDownloader.php index 83b904a8a..8376929e4 100644 --- a/src/Composer/Downloader/ZipDownloader.php +++ b/src/Composer/Downloader/ZipDownloader.php @@ -220,6 +220,9 @@ class ZipDownloader extends ArchiveDownloader * * @param string $file File to extract * @param string $path Path where to extract file + * + * TODO v3 should make this private once we can drop PHP 5.3 support + * @protected */ public function extract(PackageInterface $package, $file, $path) {