Normalize Reflection phpinfo() output

This patch normalizes the Reflection extension version in the phpinfo
output. It removes the Git attributes ident blob object name from Git
repository as an extension version.

Also the table output is synced with other extensions (i.e. enabled
in a row instead of table header).
This commit is contained in:
Peter Kokot 2018-06-02 04:11:57 +02:00 committed by Christoph M. Becker
parent 01b9975639
commit ede39739fd
3 changed files with 1 additions and 8 deletions

1
.gitattributes vendored
View File

@ -4,7 +4,6 @@ ext/ext_skel.php ident
ext/phar/phar/pharcommand.inc ident
ext/phar/phar.c ident
ext/enchant/enchant.c ident
ext/reflection/php_reflection.c ident
ext/oci8/oci8.c ident
ext/dba/libinifile/inifile.c ident
ext/dba/libflatfile/flatfile.c ident

View File

@ -20,8 +20,6 @@
+----------------------------------------------------------------------+
*/
/* $Id$ */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
@ -6821,10 +6819,7 @@ PHP_MINIT_FUNCTION(reflection) /* {{{ */
PHP_MINFO_FUNCTION(reflection) /* {{{ */
{
php_info_print_table_start();
php_info_print_table_header(2, "Reflection", "enabled");
php_info_print_table_row(2, "Version", "$Id$");
php_info_print_table_row(2, "Reflection", "enabled");
php_info_print_table_end();
} /* }}} */

View File

@ -15,7 +15,6 @@ echo "\nDone!\n";
Reflection
Reflection => enabled
Version => %s
date