use MWException;
+/**
+ * @deprecated since 1.32, use RemexDriver
+ */
abstract class RaggettBase extends TidyDriverBase {
+
+ function __construct( $config ) {
+ parent::__construct( $config );
+
+ // All tidy modes other than remex are deprecated.
+ wfDeprecated( __METHOD__, '1.32' );
+ }
+
/**
* Generic interface for wrapping and unwrapping HTML for Dave Raggett's tidy.
*
* Perform a clean/repair operation
* @param string $text HTML to check
* @param bool $stderr Whether to read result from STDERR rather than STDOUT
- * @param int &$retval Exit code (-1 on internal error)
+ * @param int|null &$retval Exit code (-1 on internal error)
* @return null|string
* @throws MWException
*/