* http://www.gnu.org/copyleft/gpl.html
*
* @file
- * @ingroup Testing
+ * @ingroup Maintenance Testing
* @todo Fixme: Make this more generic
*/
/**
* Terminal that supports ANSI escape sequences.
+ *
+ * @ingroup Maintenance Testing
*/
class AnsiTermColorer {
function __construct() {
/**
* Return ANSI terminal escape code for changing text attribs/color
*
- * @param $color String: semicolon-separated list of attribute/color codes
- * @return String
+ * @param string $color Semicolon-separated list of attribute/color codes
+ * @return string
*/
public function color( $color ) {
global $wgCommandLineDarkBg;
/**
* Return ANSI terminal escape code for restoring default text attributes
*
- * @return String
+ * @return string
*/
public function reset() {
return $this->color( 0 );
/**
* A colour-less terminal
+ *
+ * @ingroup Maintenance Testing
*/
class DummyTermColorer {
public function color( $color ) {
return '';
}
}
-