Change the name back to dumpHook (r96336). That makes obvious that the use of var_dum...
authorPlatonides <platonides@users.mediawiki.org>
Thu, 27 Oct 2011 15:25:02 +0000 (15:25 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Thu, 27 Oct 2011 15:25:02 +0000 (15:25 +0000)
tests/parser/parserTestsParserHook.php

index f93ef35..24d852c 100644 (file)
 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,