1
0
mirror of https://github.com/Ne-Lexa/php-zip.git synced 2025-06-29 13:42:31 +02:00

Merge branch 'hotfix/3.1.14'

This commit is contained in:
Ne-Lexa
2019-12-09 12:17:55 +03:00

View File

@ -225,6 +225,10 @@ class ZipOutputStream implements ZipOutputStreamInterface
$entry->setCreatedOS(ZipEntry::PLATFORM_UNIX);
}
if ($entry->getSoftwareVersion() === ZipEntry::UNKNOWN) {
$entry->setSoftwareVersion(63);
}
if ($entry->getExtractedOS() === ZipEntry::UNKNOWN) {
$entry->setExtractedOS(ZipEntry::PLATFORM_UNIX);
}