31
2
mirror of https://github.com/joomla-extensions/jedchecker.git synced 2024-06-05 15:00:47 +00:00

warning-level for GPL-compatible licenses

This commit is contained in:
Denis Ryabov 2021-07-30 22:02:33 +03:00
parent 91c9d8234d
commit eed155ed6f

View File

@ -216,7 +216,7 @@ class JedcheckerRulesGpl extends JEDcheckerRule
if (preg_match($this->regexCompatLicenses, $content, $match, PREG_OFFSET_CAPTURE))
{
$lineno = substr_count($content, "\n", 0, $match[0][1]) + 1;
$this->report->addInfo(
$this->report->addWarning(
$file,
JText::_('COM_JEDCHECKER_GPL_COMPATIBLE_LICENSE_WAS_FOUND'),
$lineno,