X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphan%2Fconfig.php;h=90acc3983776d635b4ef3339c4df690484808cbe;hb=bab4f5d64e03cbe61e5d92d0bac5abe12ff7cab5;hp=19469d93e10a64076b8763e631e2445639b78356;hpb=96491f80d3481190605006c71a8421857adda58e;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phan/config.php b/tests/phan/config.php index 19469d93e1..90acc39837 100644 --- a/tests/phan/config.php +++ b/tests/phan/config.php @@ -37,17 +37,20 @@ 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' ], [ 'maintenance/7zip.inc', - 'maintenance/backupPrefetch.inc', - 'maintenance/commandLine.inc', - 'maintenance/sqlite.inc', - 'maintenance/userOptions.inc', 'maintenance/backup.inc', + 'maintenance/backupPrefetch.inc', 'maintenance/cleanupTable.inc', + 'maintenance/CodeCleanerGlobalsPass.inc', + 'maintenance/commandLine.inc', 'maintenance/importImages.inc', + 'maintenance/sqlite.inc', 'maintenance/userDupes.inc', + 'maintenance/userOptions.inc', 'maintenance/language/checkLanguage.inc', 'maintenance/language/languages.inc', ] @@ -79,10 +82,7 @@ return [ * This is useful for excluding hopelessly unanalyzable * files that can't be removed for whatever reason. */ - 'exclude_file_list' => function_exists( 'xcache_get' ) ? [] : [ - // References xcache which probably isn't installed - 'includes/libs/objectcache/XCacheBagOStuff.php' - ], + 'exclude_file_list' => [], /** * A list of directories holding code that we want