for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Cauditor\Runners;
use Cauditor\Analyzers\AnalyzerInterface;
use Cauditor\Api;
/**
* @author Matthias Mullie <[email protected]>
* @copyright Copyright (c) 2016, Matthias Mullie. All rights reserved.
* @license LICENSE MIT
*/
class Commits extends All implements RunnerInterface
{
* @var array
protected $commits = array();
* {@inheritdoc}
*
* @param array $commits
public function __construct(Api $api, AnalyzerInterface $analyzer, array $commits)
parent::__construct($api, $analyzer);
$this->commits = $commits;
}
* @return string[]
protected function getCommits()
return $this->commits;