From eed155ed6f8685126491660b734928b71dd6e899 Mon Sep 17 00:00:00 2001 From: Denis Ryabov Date: Fri, 30 Jul 2021 22:02:33 +0300 Subject: [PATCH] warning-level for GPL-compatible licenses --- administrator/components/com_jedchecker/libraries/rules/gpl.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/administrator/components/com_jedchecker/libraries/rules/gpl.php b/administrator/components/com_jedchecker/libraries/rules/gpl.php index e93a45c..9a6832f 100644 --- a/administrator/components/com_jedchecker/libraries/rules/gpl.php +++ b/administrator/components/com_jedchecker/libraries/rules/gpl.php @@ -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,