Fixed GithubBuild::getDiffLineNumber method for correct phpcpd work
This commit is contained in:
parent
a22390c83d
commit
498a3e90e8
1 changed files with 2 additions and 0 deletions
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue