mirror of
https://github.com/joomla-extensions/jedchecker.git
synced 2024-12-03 18:38:30 +00:00
Mitigate non-unix EOL to info-level
This commit is contained in:
parent
581f61efc9
commit
7d7fd10cac
@ -120,7 +120,7 @@ class JedcheckerRulesLanguage extends JEDcheckerRule
|
|||||||
// Check EOL format is \n (not \r or \n\r)
|
// Check EOL format is \n (not \r or \n\r)
|
||||||
if (strpos($content, "\r") !== false)
|
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);
|
$lines = file($file);
|
||||||
|
Loading…
Reference in New Issue
Block a user