diff options
author | Greg Beaver <cellog@php.net> | 2008-05-02 05:05:56 +0000 |
---|---|---|
committer | Greg Beaver <cellog@php.net> | 2008-05-02 05:05:56 +0000 |
commit | bfbe53eeb2300c4a608ec1f85e37d89b64c5c51f (patch) | |
tree | a18d8ab6743807d11b1a9d753d6b5f95ae7406ab /ext/phar/tests/phar_gzip.phpt | |
parent | e0bc2b2be174c7e0bc367aa34aceb296e9691ff5 (diff) | |
download | php-git-bfbe53eeb2300c4a608ec1f85e37d89b64c5c51f.tar.gz |
refactor isTar/isZip/isPhar into isFileFormat(int format) where format is one of Phar::TAR,, Phar::ZIP, Phar::PHAR
[DOC]
Diffstat (limited to 'ext/phar/tests/phar_gzip.phpt')
-rw-r--r-- | ext/phar/tests/phar_gzip.phpt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/phar/tests/phar_gzip.phpt b/ext/phar/tests/phar_gzip.phpt index e305c48367..1a61a2ef3b 100644 --- a/ext/phar/tests/phar_gzip.phpt +++ b/ext/phar/tests/phar_gzip.phpt @@ -36,7 +36,7 @@ $a = new Phar($fname); $a['test'] = 'hi'; copy($fname, $fname2); $b = new Phar($fname2); -var_dump($b->isPhar()); +var_dump($b->isFileFormat(Phar::PHAR)); var_dump($b->isCompressed() == Phar::GZ); ?> ===DONE=== |