Skip to content

Commit 7c04219

Browse files
petkcmb69
authored andcommitted
Fix pecl vs ext typo in phar
Phar phpinfo output lists also info about bz2 extension if it's disabled and a quick info about installation. Instead of not maintained pecl package bz2 the ext/bz2 should be mentioned. Also some outdated pecl/phar are updated to ext/phar instead in test comments.
1 parent 8bc2163 commit 7c04219

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

ext/phar/phar.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3567,7 +3567,7 @@ PHP_MINFO_FUNCTION(phar) /* {{{ */
35673567
if (PHAR_G(has_bz2)) {
35683568
php_info_print_table_row(2, "bzip2 compression", "enabled");
35693569
} else {
3570-
php_info_print_table_row(2, "bzip2 compression", "disabled (install pecl/bz2)");
3570+
php_info_print_table_row(2, "bzip2 compression", "disabled (install ext/bz2)");
35713571
}
35723572
#ifdef PHAR_HAVE_OPENSSL
35733573
php_info_print_table_row(2, "Native OpenSSL support", "enabled");

ext/phar/tests/nophar.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--TEST--
2-
Phar: phar run without pecl/phar with default stub
2+
Phar: phar run without ext/phar with default stub
33
--SKIPIF--
44
<?php if (extension_loaded("phar")) die("skip Phar extension must be disabled for this test"); ?>
55
--FILE--

ext/phar/tests/phpinfo_003.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Phar-based phar archives => enabled
2727
Tar-based phar archives => enabled
2828
ZIP-based phar archives => enabled
2929
gzip compression => disabled (install ext/zlib)
30-
bzip2 compression => disabled (install pecl/bz2)
30+
bzip2 compression => disabled (install ext/bz2)
3131
OpenSSL support => disabled (install ext/openssl)
3232

3333

ext/phar/tests/withphar.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--TEST--
2-
Phar: phar run with pecl/phar with default stub
2+
Phar: phar run with ext/phar with default stub
33
--SKIPIF--
44
<?php if (!extension_loaded("phar")) die("skip"); ?>
55
--FILE--

0 commit comments

Comments
 (0)