1
0
mirror of https://github.com/Ne-Lexa/php-zip.git synced 2025-01-17 20:58:22 +01:00

change structure

This commit is contained in:
wapplay-home-linux 2016-09-09 17:30:17 +03:00
parent fe38b442a0
commit 5c23e588ff
8 changed files with 3 additions and 4 deletions

View File

@ -235,7 +235,6 @@ $zip = new \Nelexa\Zip\ZipFile();
$zip->open("output.zip");
$zip->addFromString("new-file", file_get_contents(__FILE__));
$zip->saveAs("output2.zip");
$zip->save();
$zip->close();
// $ zipinfo output2.zip

View File

@ -3,7 +3,7 @@
"description": "Zip create, modify and extract tool. Alternative ZipArchive.",
"type": "library",
"require-dev": {
"phpunit/phpunit": "^5.5"
"phpunit/phpunit": "4.8"
},
"license": "MIT",
"authors": [
@ -19,7 +19,7 @@
},
"autoload": {
"psr-4": {
"Nelexa\\Zip\\": "src"
"Nelexa\\Zip\\": "src/Nelexa/Zip"
}
}
}

View File

@ -1,6 +1,6 @@
<?php
class TestZipFile extends \PHPUnit\Framework\TestCase
class TestZipFile extends PHPUnit_Framework_TestCase
{
public function testCreate()