33
2
mirror of https://github.com/joomla-extensions/jedchecker.git synced 2024-12-11 21:57:53 +00:00

Mitigate ErrorReporting rule to warning-level

This commit is contained in:
Denis Ryabov 2021-05-11 18:38:26 +03:00
parent 8f1bb04d8d
commit a8ea5b75c2

View File

@ -95,7 +95,7 @@ class JedcheckerRulesErrorreporting extends JEDcheckerRule
if ($pos_1 !== false) if ($pos_1 !== false)
{ {
$found = true; $found = true;
$this->report->addError($file, JText::_('COM_JEDCHECKER_ERROR_ERRORREPORTING'), $i + 1, $line); $this->report->addWarning($file, JText::_('COM_JEDCHECKER_ERROR_ERRORREPORTING'), $i + 1, $line);
break; break;
} }
} }