diff options
| author | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-08-09 11:06:57 +0200 |
|---|---|---|
| committer | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-08-09 22:03:36 +0200 |
| commit | 7aacc705d03887c64a90489e367f4c40b46aa3c2 (patch) | |
| tree | ec7388f82b37e8611c7513aa95678d7feae82329 /ext/zip/tests | |
| parent | 05478e985eb50c473054b4f1bf174f48ead78784 (diff) | |
| download | php-git-7aacc705d03887c64a90489e367f4c40b46aa3c2.tar.gz | |
Add many missing closing PHP tags to tests
Closes GH-5958
Diffstat (limited to 'ext/zip/tests')
| -rw-r--r-- | ext/zip/tests/bug47667.phpt | 1 | ||||
| -rw-r--r-- | ext/zip/tests/bug51353.phpt | 1 | ||||
| -rw-r--r-- | ext/zip/tests/bug53603.phpt | 1 | ||||
| -rw-r--r-- | ext/zip/tests/bug53854.phpt | 1 | ||||
| -rw-r--r-- | ext/zip/tests/bug64342_0.phpt | 1 | ||||
| -rw-r--r-- | ext/zip/tests/bug8009.phpt | 1 | ||||
| -rw-r--r-- | ext/zip/tests/bug8700.phpt | 1 |
7 files changed, 7 insertions, 0 deletions
diff --git a/ext/zip/tests/bug47667.phpt b/ext/zip/tests/bug47667.phpt index ab93202801..43c1f4964d 100644 --- a/ext/zip/tests/bug47667.phpt +++ b/ext/zip/tests/bug47667.phpt @@ -35,5 +35,6 @@ echo "files: " , $zip->numFiles; $zip->close(); unlink($filename); +?> --EXPECT-- files: 1 diff --git a/ext/zip/tests/bug51353.phpt b/ext/zip/tests/bug51353.phpt index 896375dda3..ab021f4715 100644 --- a/ext/zip/tests/bug51353.phpt +++ b/ext/zip/tests/bug51353.phpt @@ -49,6 +49,7 @@ foreach($a as $f) { unlink($f); } rmdir("$base_path/51353_unpack"); +?> --EXPECT-- 100000 OK diff --git a/ext/zip/tests/bug53603.phpt b/ext/zip/tests/bug53603.phpt index 1d1703d590..b3108da795 100644 --- a/ext/zip/tests/bug53603.phpt +++ b/ext/zip/tests/bug53603.phpt @@ -27,6 +27,7 @@ if ($zip->open($file) !== TRUE) { $a = $zip->extractTo('teststream://test'); var_dump($a); +?> --EXPECTF-- Warning: ZipArchive::extractTo(teststream://test/foo): Failed to open stream: "TestStream::stream_open" call failed in %s on line %d bool(false) diff --git a/ext/zip/tests/bug53854.phpt b/ext/zip/tests/bug53854.phpt index cd8ae7e5f3..c008d67b94 100644 --- a/ext/zip/tests/bug53854.phpt +++ b/ext/zip/tests/bug53854.phpt @@ -24,6 +24,7 @@ var_dump(ZipArchive::CM_TERSE); var_dump(ZipArchive::CM_LZ77); var_dump(ZipArchive::CM_WAVPACK); var_dump(ZipArchive::CM_PPMD); +?> --EXPECT-- int(-1) int(0) diff --git a/ext/zip/tests/bug64342_0.phpt b/ext/zip/tests/bug64342_0.phpt index f9cde3afed..d187175cd9 100644 --- a/ext/zip/tests/bug64342_0.phpt +++ b/ext/zip/tests/bug64342_0.phpt @@ -35,6 +35,7 @@ DONE <?php @unlink(__DIR__ . '/bug64342.zip'); +?> --EXPECTF-- %s.txt add failed diff --git a/ext/zip/tests/bug8009.phpt b/ext/zip/tests/bug8009.phpt index 4cc85a1b3f..84e67d10d4 100644 --- a/ext/zip/tests/bug8009.phpt +++ b/ext/zip/tests/bug8009.phpt @@ -21,5 +21,6 @@ $zip->close(); unlink($filename); echo "status: " . $zip->status . "\n"; echo "\n"; +?> --EXPECT-- status: 0 diff --git a/ext/zip/tests/bug8700.phpt b/ext/zip/tests/bug8700.phpt index ad5d91b7c2..57db3af7d2 100644 --- a/ext/zip/tests/bug8700.phpt +++ b/ext/zip/tests/bug8700.phpt @@ -24,5 +24,6 @@ if ($contents_from_idx != $contents_from_name) { $zip->close(); echo "status: " . $zip->status . "\n"; echo "\n"; +?> --EXPECT-- status: 0 |
