mirror of
https://github.com/joomla-extensions/jedchecker.git
synced 2025-01-30 16:58:28 +00:00
mitigate Encoding ruleset to the warning level
This commit is contained in:
parent
fa3ba35933
commit
ae524590c7
@ -120,7 +120,7 @@ class JedcheckerRulesEncoding extends JEDcheckerRule
|
|||||||
if (preg_match($this->encodingsRegex, $line))
|
if (preg_match($this->encodingsRegex, $line))
|
||||||
{
|
{
|
||||||
$found = true;
|
$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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user