X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fparser%2FTidySupport.php;h=c0a9312ba9e122874796635dc2f501a8a8a0d7d3;hb=fd3773685b887dc2b4fa856907a9cf5229df74ac;hp=39c9ca5272bca8b1a8de285610e5cd720056b5be;hpb=0b94a8e3b9b7792993bb713485e1a7c1230ae9c6;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/parser/TidySupport.php b/tests/parser/TidySupport.php index 39c9ca5272..c0a9312ba9 100644 --- a/tests/parser/TidySupport.php +++ b/tests/parser/TidySupport.php @@ -29,6 +29,7 @@ class TidySupport { /** * Determine if there is a usable tidy. + * @param bool $useConfiguration */ public function __construct( $useConfiguration = false ) { global $IP, $wgUseTidy, $wgTidyBin, $wgTidyInternal, $wgTidyConfig, @@ -65,7 +66,7 @@ class TidySupport { $this->config['driver'] = 'RaggettExternal'; $this->config['tidyBin'] = $wgTidyBin; } else { - $path = Installer::locateExecutableInDefaultPaths( $wgTidyBin ); + $path = ExecutableFinder::findInDefaultPaths( $wgTidyBin ); if ( $path !== false ) { $this->config['driver'] = 'RaggettExternal'; $this->config['tidyBin'] = $wgTidyBin;