Fixed GithubBuild::getDiffLineNumber method for correct phpcpd work

This commit is contained in:
corpsee 2015-05-24 14:20:51 +06:00
parent 0887bd4bc4
commit 853107027b

View file

@ -201,6 +201,8 @@ class GithubBuild extends RemoteGitBuild
*/
protected function getDiffLineNumber(Builder $builder, $file, $line)
{
$line = (integer)$line;
$builder->logExecOutput(false);
$prNumber = $this->getExtra('pull_request_number');