From 7ee01101b44bf07ba88620acc423e6abacde1ad2 Mon Sep 17 00:00:00 2001 From: Platonides Date: Thu, 27 Oct 2011 15:25:02 +0000 Subject: [PATCH] Change the name back to dumpHook (r96336). That makes obvious that the use of var_dump is intended. --- tests/parser/parserTestsParserHook.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/parser/parserTestsParserHook.php b/tests/parser/parserTestsParserHook.php index f93ef3566d..24d852c5df 100644 --- a/tests/parser/parserTestsParserHook.php +++ b/tests/parser/parserTestsParserHook.php @@ -28,12 +28,12 @@ class ParserTestParserHook { static function setup( &$parser ) { - $parser->setHook( 'tag', array( __CLASS__, 'tagHook' ) ); + $parser->setHook( 'tag', array( __CLASS__, 'dumpHook' ) ); $parser->setHook( 'statictag', array( __CLASS__, 'staticTagHook' ) ); return true; } - static function tagHook( $in, $argv ) { + static function dumpHook( $in, $argv ) { ob_start(); var_dump( $in, -- 2.20.1