mirror of
https://github.com/Ne-Lexa/php-zip.git
synced 2025-08-04 06:27:23 +02:00
update ci config
This commit is contained in:
@@ -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
|
@@ -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.
|
||||||
|
@@ -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": {
|
||||||
|
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user