Fixed ValidationException in PhpCpd plugin ($lineStart must be integer, but passed SimpleXMLElement)
This commit is contained in:
parent
5989f5f47e
commit
fb98063f44
|
@ -141,7 +141,7 @@ CPD;
|
|||
$message,
|
||||
BuildError::SEVERITY_NORMAL,
|
||||
$fileName,
|
||||
$file['line'],
|
||||
(int) $file['line'],
|
||||
(int) $file['line'] + (int) $duplication['lines']
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue