mirror of
https://github.com/joomla-extensions/jedchecker.git
synced 2024-12-31 21:51:46 +00:00
warning-level for GPL-compatible licenses
This commit is contained in:
parent
91c9d8234d
commit
eed155ed6f
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user