PHP Class pchExitCodeReporter, php-commit-hooks

Reporter telling SVN if an error occured or not using an exit status code. Should always be the last reporter.
Inheritance: extends pchReporter
Show file Open project: kore/php-commit-hooks

Public Methods

Method Description
report ( pchRepository $repository, array $issues ) : void Report occured issues

Method Details

report() public method

Report occured issues, passed as an array to the command line. Will exit with a non-zero exit code if any "errors" occured, and with a zero exit code, of no issues occured. Will always abort script execution.
public report ( pchRepository $repository, array $issues ) : void
$repository pchRepository
$issues array
return void