PHP Class pchCommitMailReporter, php-commit-hooks

Inheritance: extends pchMailReporter
Afficher le fichier Open project: kore/php-commit-hooks

Méthodes publiques

Méthode Description
report ( pchRepository $repository, array $issues ) : void Report occured issues

Méthodes protégées

Méthode Description
getBasePath ( pchRepository $repository ) : void Get base path from changes
getHtmlMail ( pchRepository $repository ) : string Get HTML mail
getTextMail ( pchRepository $repository ) : string Get text mail

Method Details

getBasePath() protected méthode

Get base path from changes
protected getBasePath ( pchRepository $repository ) : void
$repository pchRepository
Résultat void

getHtmlMail() protected méthode

Return contents of a HTML diff mail
protected getHtmlMail ( pchRepository $repository ) : string
$repository pchRepository
Résultat string

getTextMail() protected méthode

Return contents of a text diff mail
protected getTextMail ( pchRepository $repository ) : string
$repository pchRepository
Résultat string

report() public méthode

Report occured issues, passed as an array.
public report ( pchRepository $repository, array $issues ) : void
$repository pchRepository
$issues array
Résultat void