1
0
Fork 0

Add support for lib-zip platform package

pull/8566/head
Jordi Boggiano 2020-02-11 11:01:20 +01:00
parent 702a532a61
commit ef249ef6b6
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 7 additions and 0 deletions

View File

@ -221,6 +221,13 @@ class PlatformRepository extends ArrayRepository
$prettyVersion = LIBXSLT_DOTTED_VERSION;
break;
case 'zip':
if (defined('ZipArchive::LIBZIP_VERSION')) {
$prettyVersion = \ZipArchive::LIBZIP_VERSION;
} else {
continue 2;
}
default:
// None handled extensions have no special cases, skip
continue 2;