1
0
mirror of https://github.com/Ne-Lexa/php-zip.git synced 2025-08-04 14:37:24 +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 language: php
php: php:
- '5.4'
- '5.5' - '5.5'
- '5.6' - '5.6'
- '7.0' - '7.0'
@@ -9,7 +8,9 @@ php:
- nightly - nightly
before_script: before_script:
sudo apt-get install p7zip-full -y
sudo apt-get install zipalign -y
composer install composer install
script: script:
vendor/bin/phpunit -v -c bootstrap.xml vendor/bin/phpunit -v --tap -c bootstrap.xml

View File

@@ -22,7 +22,7 @@ Features:
Requirements Requirements
------------ ------------
- `PHP` >= 5.4 (64 bit) - `PHP` >= 5.5 (64 bit)
- PHP-extension `mbstring` - PHP-extension `mbstring`
- Optional php-extension `bzip2` for BZIP2 compression. - Optional php-extension `bzip2` for BZIP2 compression.
- Optional php-extension `openssl` or `mcrypt` for `WinZip Aes Encryption` support. - Optional php-extension `openssl` or `mcrypt` for `WinZip Aes Encryption` support.

View File

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

View File

@@ -62,8 +62,8 @@ abstract class ExtraField implements ExtraFieldHeader
private static function getRegistry() private static function getRegistry()
{ {
if (self::$registry === null) { if (self::$registry === null) {
self::$registry[WinZipAesEntryExtraField::getHeaderId()] = '\PhpZip\Extra\WinZipAesEntryExtraField'; self::$registry[WinZipAesEntryExtraField::getHeaderId()] = WinZipAesEntryExtraField::class;
self::$registry[NtfsExtraField::getHeaderId()] = '\PhpZip\Extra\NtfsExtraField'; self::$registry[NtfsExtraField::getHeaderId()] = NtfsExtraField::class;
} }
return self::$registry; return self::$registry;
} }