Follow up to r81829. Poison var_dump, so that debug statements like r81671 can be...
[lhc/web/wiklou.git] / tests / parser / parserTestsParserHook.php
index 936d061..324b8e5 100644 (file)
 class ParserTestParserHook {
 
        static function setup( &$parser ) {
-               $parser->setHook( 'tag', array( __CLASS__, 'hook' ) );
+               $parser->setHook( 'tag', array( __CLASS__, 'dumpHook' ) );
 
                return true;
        }
 
-       static function hook( $in, $argv ) {
+       static function dumpHook( $in, $argv ) {
                ob_start();
                var_dump(
                        $in,