summaryrefslogtreecommitdiff
path: root/ext/zip
diff options
context:
space:
mode:
Diffstat (limited to 'ext/zip')
-rw-r--r--ext/zip/tests/bug38944.phpt2
-rw-r--r--ext/zip/tests/bug47667.phpt2
-rw-r--r--ext/zip/tests/oo_encryption.phpt2
3 files changed, 3 insertions, 3 deletions
diff --git a/ext/zip/tests/bug38944.phpt b/ext/zip/tests/bug38944.phpt
index ede6b67e77..b4ff2b2f19 100644
--- a/ext/zip/tests/bug38944.phpt
+++ b/ext/zip/tests/bug38944.phpt
@@ -19,7 +19,7 @@ var_dump($foo);
echo "Done\n";
?>
---EXPECTF--
+--EXPECTF--
int(0)
int(0)
int(0)
diff --git a/ext/zip/tests/bug47667.phpt b/ext/zip/tests/bug47667.phpt
index 749a5ef6b8..6914b5b109 100644
--- a/ext/zip/tests/bug47667.phpt
+++ b/ext/zip/tests/bug47667.phpt
@@ -21,7 +21,7 @@ for ($i = 0; $i < 10; $i++) {
$zip = new ZipArchive();
if ($zip->open($filename, ZipArchive::OVERWRITE) !== true) {
exit("Unable to open the zip file");
- }
+ }
$zip->addFromString("foo_{$i}.txt", 'foo bar foobar');
$zip->close();
}
diff --git a/ext/zip/tests/oo_encryption.phpt b/ext/zip/tests/oo_encryption.phpt
index fb5caef495..7567111dbb 100644
--- a/ext/zip/tests/oo_encryption.phpt
+++ b/ext/zip/tests/oo_encryption.phpt
@@ -15,7 +15,7 @@ echo "== Write\n";
$zip = new ZipArchive;
$r = $zip->open($name, ZIPARCHIVE::CREATE);
// Clear
-$zip->addFromString('foo.txt', 'foo');
+$zip->addFromString('foo.txt', 'foo');
// Encrypted
$zip->addFromString('bar.txt', 'bar');
var_dump($zip->setEncryptionName('bar.txt', 9999, $pass)); // Fails