PHP Class Components_Qc_Task_Dcd, horde

Author: Michael Slusarz ([email protected])
Inheritance: extends Components_Qc_Task_Base
Show file Open project: horde/horde

Public Methods

Method Description
getName ( ) : string Get the name of this task.
run ( &$options ) : integer Run the task.
validate ( array $options ) : array Validate the preconditions required for this release task.

Protected Methods

Method Description
_printResult ( array $result ) Prints a result set from PHPDCD_Detector::detectDeadCode().

Method Details

_printResult() protected method

Prints a result set from PHPDCD_Detector::detectDeadCode().
protected _printResult ( array $result )
$result array

getName() public method

Get the name of this task.
public getName ( ) : string
return string The task name.

run() public method

Run the task.
public run ( &$options ) : integer
return integer Number of errors.

validate() public method

Validate the preconditions required for this release task.
public validate ( array $options ) : array
$options array Additional options.
return array An empty array if all preconditions are met and a list of error messages otherwise.