31
2
mirror of https://github.com/joomla-extensions/jedchecker.git synced 2024-05-28 19:30:48 +00:00

mitigate Encoding ruleset to the warning level

This commit is contained in:
Denis Ryabov 2021-11-16 20:23:07 +03:00
parent fa3ba35933
commit ae524590c7

View File

@ -120,7 +120,7 @@ class JedcheckerRulesEncoding extends JEDcheckerRule
if (preg_match($this->encodingsRegex, $line))
{
$found = true;
$this->report->addError($file, JText::_('COM_JEDCHECKER_ERROR_ENCODING'), $i + 1, $line);
$this->report->addWarning($file, JText::_('COM_JEDCHECKER_ERROR_ENCODING'), $i + 1, $line);
}
}