* It doesn't support the oo interface.
* Should make the tidy tests run in CI.
Bug: T157730
Change-Id: Ied80f70b7cafcf64d736cb0eeb1a30d52c1d7921
'tidyConfigFile' => "$IP/includes/tidy/tidy.conf",
'tidyCommandLine' => '',
];
'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 ) ) {
$this->config['driver'] = wfIsHHVM() ? 'RaggettInternalHHVM' : 'RaggettInternalPHP';
} else {
if ( is_executable( $wgTidyBin ) ) {