31
2
mirror of https://github.com/joomla-extensions/jedchecker.git synced 2024-09-29 05:29:08 +00:00

Mitigate non-unix EOL to info-level

This commit is contained in:
Denis Ryabov 2021-05-11 23:55:25 +03:00
parent 581f61efc9
commit 7d7fd10cac

View File

@ -120,7 +120,7 @@ class JedcheckerRulesLanguage extends JEDcheckerRule
// Check EOL format is \n (not \r or \n\r)
if (strpos($content, "\r") !== false)
{
$this->report->addWarning($file, JText::_('COM_JEDCHECKER_LANG_INCORRECT_EOL'));
$this->report->addInfo($file, JText::_('COM_JEDCHECKER_LANG_INCORRECT_EOL'));
}
$lines = file($file);