From: Platonides Date: Thu, 27 Oct 2011 15:25:02 +0000 (+0000) Subject: Change the name back to dumpHook (r96336). That makes obvious that the use of var_dum... X-Git-Tag: 1.31.0-rc.0~26882 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/?a=commitdiff_plain;h=7ee01101b44bf07ba88620acc423e6abacde1ad2;p=lhc%2Fweb%2Fwiklou.git Change the name back to dumpHook (r96336). That makes obvious that the use of var_dump is intended. --- 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,