X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fparser%2FTidySupport.php;h=39c9ca5272bca8b1a8de285610e5cd720056b5be;hb=c65120906674e6fbc540946428d26d32c0acd25b;hp=6b5fb4847f102116c3c4b2574c811e1e70023800;hpb=1e3c2e5904d628c001a8d65909b135ea9bf042aa;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 ) ) {