Sync tidy phpinfo extension version

This patch removes the tidy extension Git ident attribute blob name from
the phpinfo output to be synced with other extensions versioning system
and replaces table header with normal row in the first tidy info table.
This commit is contained in:
Peter Kokot 2018-06-02 17:59:26 +02:00 committed by Christoph M. Becker
parent cb64696ca6
commit cf6b24ccda
2 changed files with 1 additions and 5 deletions

1
.gitattributes vendored
View file

@ -12,7 +12,6 @@ ext/dba/libcdb/cdb.c ident
run-tests.php ident
ext/exif/exif.c ident
ext/pdo_pgsql/pdo_pgsql.c ident
ext/tidy/tidy.c ident
NEWS merge=NEWS
UPGRADING merge=NEWS
UPGRADING.INTERNALS merge=NEWS

View file

@ -16,8 +16,6 @@
+----------------------------------------------------------------------+
*/
/* $Id$ */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
@ -1098,7 +1096,7 @@ static PHP_MSHUTDOWN_FUNCTION(tidy)
static PHP_MINFO_FUNCTION(tidy)
{
php_info_print_table_start();
php_info_print_table_header(2, "Tidy support", "enabled");
php_info_print_table_row(2, "Tidy support", "enabled");
#if HAVE_TIDYBUFFIO_H
php_info_print_table_row(2, "libTidy Version", (char *)tidyLibraryVersion());
#elif HAVE_TIDYP_H
@ -1107,7 +1105,6 @@ static PHP_MINFO_FUNCTION(tidy)
#if HAVE_TIDYRELEASEDATE
php_info_print_table_row(2, "libTidy Release", (char *)tidyReleaseDate());
#endif
php_info_print_table_row(2, "Extension Version", PHP_TIDY_VERSION " ($Id$)");
php_info_print_table_end();
DISPLAY_INI_ENTRIES();