PHP Class Qafoo\Analyzer\Handler\Git

Inheritance: extends Qafoo\Analyzer\Handler
Exibir arquivo Open project: Qafoo/QualityAnalyzer

Public Methods

Method Description
__construct ( Shell $shell )
handle ( Project $project, string $existingResult = null ) : string Handle provided directory

Protected Methods

Method Description
countGitChangesPerFile ( Project $project, DateTime $since = null )

Method Details

__construct() public method

public __construct ( Shell $shell )
$shell Qafoo\Analyzer\Shell

countGitChangesPerFile() protected method

protected countGitChangesPerFile ( Project $project, DateTime $since = null )
$project Qafoo\Analyzer\Project
$since DateTime

handle() public method

Optionally an existing result file can be provided If a valid file could be generated the file name is supposed to be returned, otherwise return null.
public handle ( Project $project, string $existingResult = null ) : string
$project Qafoo\Analyzer\Project
$existingResult string
return string