Fixed ValidationException in PhpCpd plugin ($lineStart must be integer, but passed SimpleXMLElement)

This commit is contained in:
Dmitry Khomutov 2016-04-09 15:11:24 +06:00
parent 5989f5f47e
commit fb98063f44

View file

@ -141,7 +141,7 @@ CPD;
$message,
BuildError::SEVERITY_NORMAL,
$fileName,
$file['line'],
(int) $file['line'],
(int) $file['line'] + (int) $duplication['lines']
);
}