From: addshore Date: Mon, 23 Jan 2017 17:36:10 +0000 (+0100) Subject: PHAN: Add tideways stub X-Git-Tag: 1.31.0-rc.0~4193 X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=d8d408503cb9ce394e662b85629d9ac4d73577bb PHAN: Add tideways stub Used in Xhprof Change-Id: I9f208bbaa0799d194dbef61cad851995020a5d17 --- diff --git a/tests/phan/config.php b/tests/phan/config.php index 39b2fa1199..c561f8174a 100644 --- a/tests/phan/config.php +++ b/tests/phan/config.php @@ -37,6 +37,7 @@ return [ 'file_list' => array_merge( function_exists( 'register_postsend_function' ) ? [] : [ 'tests/phan/stubs/hhvm.php' ], function_exists( 'wikidiff2_do_diff' ) ? [] : [ 'tests/phan/stubs/wikidiff.php' ], + function_exists( 'tideways_enable' ) ? [] : [ 'tests/phan/stubs/tideways.php' ], class_exists( PEAR::class ) ? [] : [ 'tests/phan/stubs/mail.php' ], class_exists( Memcached::class ) ? [] : [ 'tests/phan/stubs/memcached.php' ], [ diff --git a/tests/phan/stubs/tideways.php b/tests/phan/stubs/tideways.php new file mode 100644 index 0000000000..1372219ba5 --- /dev/null +++ b/tests/phan/stubs/tideways.php @@ -0,0 +1,12 @@ +