mirror of
https://github.com/Ne-Lexa/php-zip.git
synced 2025-08-01 21:20:09 +02:00
update ci config
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
language: php
|
||||
php:
|
||||
- '5.4'
|
||||
- '5.5'
|
||||
- '5.6'
|
||||
- '7.0'
|
||||
@@ -9,7 +8,9 @@ php:
|
||||
- nightly
|
||||
|
||||
before_script:
|
||||
sudo apt-get install p7zip-full -y
|
||||
sudo apt-get install zipalign -y
|
||||
composer install
|
||||
|
||||
script:
|
||||
vendor/bin/phpunit -v -c bootstrap.xml
|
||||
vendor/bin/phpunit -v --tap -c bootstrap.xml
|
@@ -22,7 +22,7 @@ Features:
|
||||
|
||||
Requirements
|
||||
------------
|
||||
- `PHP` >= 5.4 (64 bit)
|
||||
- `PHP` >= 5.5 (64 bit)
|
||||
- PHP-extension `mbstring`
|
||||
- Optional php-extension `bzip2` for BZIP2 compression.
|
||||
- Optional php-extension `openssl` or `mcrypt` for `WinZip Aes Encryption` support.
|
||||
|
@@ -23,7 +23,7 @@
|
||||
],
|
||||
"minimum-stability": "stable",
|
||||
"require": {
|
||||
"php-64bit": "^5.4 || ^7.0"
|
||||
"php-64bit": "^5.5 || ^7.0"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
|
@@ -62,8 +62,8 @@ abstract class ExtraField implements ExtraFieldHeader
|
||||
private static function getRegistry()
|
||||
{
|
||||
if (self::$registry === null) {
|
||||
self::$registry[WinZipAesEntryExtraField::getHeaderId()] = '\PhpZip\Extra\WinZipAesEntryExtraField';
|
||||
self::$registry[NtfsExtraField::getHeaderId()] = '\PhpZip\Extra\NtfsExtraField';
|
||||
self::$registry[WinZipAesEntryExtraField::getHeaderId()] = WinZipAesEntryExtraField::class;
|
||||
self::$registry[NtfsExtraField::getHeaderId()] = NtfsExtraField::class;
|
||||
}
|
||||
return self::$registry;
|
||||
}
|
||||
|
Reference in New Issue
Block a user