com php-src: Fix pecl vs ext typo in phar: ext/phar/phar.c ext/phar/tests/nophar.phpt ext/phar/tests/phpinfo_003 .phpt ext/phar/tests/withphar.phpt
| From: | Christoph Michael Becker | Date: | Sat, 30 Jun 2018 13:35:43 +0000 |
| Subject: | com php-src: Fix pecl vs ext typo in phar: ext/phar/phar.c ext/phar/tests/nophar.phpt ext/phar/tests/phpinfo_003 .phpt ext/phar/tests/withphar.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-102336@lists.php.net to get a copy of this message | ||
Commit: 7c042190988dc51ac60ba6171dce66361394ae22
Author: Peter Kokot <peterkokot@gmail.com> Sat, 30 Jun 2018 14:15:40 +0200
Committer: Christoph M. Becker <cmbecker69@gmx.de> Sat, 30 Jun 2018 15:35:43 +0200
Parents: 8bc2163c8add87bdb096cca5c09449fb69b22ec4
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=7c042190988dc51ac60ba6171dce66361394ae22
Log:
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.
Changed paths:
M ext/phar/phar.c
M ext/phar/tests/nophar.phpt
M ext/phar/tests/phpinfo_003.phpt
M ext/phar/tests/withphar.phpt
Diff:
diff --git a/ext/phar/phar.c b/ext/phar/phar.c
index 5265660..d0624bc 100644
--- a/ext/phar/phar.c
+++ b/ext/phar/phar.c
@@ -3567,7 +3567,7 @@ PHP_MINFO_FUNCTION(phar) /* {{{ */
if (PHAR_G(has_bz2)) {
php_info_print_table_row(2, "bzip2 compression", "enabled");
} else {
- php_info_print_table_row(2, "bzip2 compression", "disabled (install
pecl/bz2)");
+ php_info_print_table_row(2, "bzip2 compression", "disabled (install
ext/bz2)");
}
#ifdef PHAR_HAVE_OPENSSL
php_info_print_table_row(2, "Native OpenSSL support", "enabled");
diff --git a/ext/phar/tests/nophar.phpt b/ext/phar/tests/nophar.phpt
index d97df8a..0534c17 100644
--- a/ext/phar/tests/nophar.phpt
+++ b/ext/phar/tests/nophar.phpt
@@ -1,5 +1,5 @@
--TEST--
-Phar: phar run without pecl/phar with default stub
+Phar: phar run without ext/phar with default stub
--SKIPIF--
<?php if (extension_loaded("phar")) die("skip Phar extension must be disabled for
this test"); ?>
--FILE--
diff --git a/ext/phar/tests/phpinfo_003.phpt b/ext/phar/tests/phpinfo_003.phpt
index 05d70bc..fb27fb6 100644
--- a/ext/phar/tests/phpinfo_003.phpt
+++ b/ext/phar/tests/phpinfo_003.phpt
@@ -27,7 +27,7 @@ Phar-based phar archives => enabled
Tar-based phar archives => enabled
ZIP-based phar archives => enabled
gzip compression => disabled (install ext/zlib)
-bzip2 compression => disabled (install pecl/bz2)
+bzip2 compression => disabled (install ext/bz2)
OpenSSL support => disabled (install ext/openssl)
diff --git a/ext/phar/tests/withphar.phpt b/ext/phar/tests/withphar.phpt
index c422fa9..26c86d2 100644
--- a/ext/phar/tests/withphar.phpt
+++ b/ext/phar/tests/withphar.phpt
@@ -1,5 +1,5 @@
--TEST--
-Phar: phar run with pecl/phar with default stub
+Phar: phar run with ext/phar with default stub
--SKIPIF--
<?php if (!extension_loaded("phar")) die("skip"); ?>
--FILE--