X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;ds=sidebyside;f=tests%2Fparser%2FTidySupport.php;h=39c9ca5272bca8b1a8de285610e5cd720056b5be;hb=55043101b2a89ea1e811b6d35e415f57ed0bf41d;hp=6b5fb4847f102116c3c4b2574c811e1e70023800;hpb=2fdcd7bfdd95a3b1515b9a94289d67eb60add484;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/parser/TidySupport.php b/tests/parser/TidySupport.php index 6b5fb4847f..39c9ca5272 100644 --- a/tests/parser/TidySupport.php +++ b/tests/parser/TidySupport.php @@ -58,7 +58,7 @@ class TidySupport { 'tidyConfigFile' => "$IP/includes/tidy/tidy.conf", 'tidyCommandLine' => '', ]; - if ( extension_loaded( 'tidy' ) && class_exists( 'tidy' ) ) { + if ( extension_loaded( 'tidy' ) && ( wfIsHHVM() || class_exists( 'tidy' ) ) ) { $this->config['driver'] = wfIsHHVM() ? 'RaggettInternalHHVM' : 'RaggettInternalPHP'; } else { if ( is_executable( $wgTidyBin ) ) {