1
0
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:
wapplay-home-linux
2017-03-13 09:13:19 +03:00
parent 16c214b8a4
commit 46654e3e8d
4 changed files with 7 additions and 6 deletions

View File

@@ -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

View File

@@ -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.

View File

@@ -23,7 +23,7 @@
],
"minimum-stability": "stable",
"require": {
"php-64bit": "^5.4 || ^7.0"
"php-64bit": "^5.5 || ^7.0"
},
"autoload": {
"psr-4": {

View File

@@ -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;
}