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:
parent
fe38b442a0
commit
5c23e588ff
@ -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
|
||||
|
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
class TestZipFile extends \PHPUnit\Framework\TestCase
|
||||
class TestZipFile extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
|
||||
public function testCreate()
|
||||
|
Loading…
x
Reference in New Issue
Block a user