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

Merge PR #170 into develop

This commit is contained in:
Llewellyn van der Merwe 2021-12-05 19:51:30 +02:00
commit a7515ac217
Signed by: Llewellyn
GPG Key ID: EFC0C720A240551C
2 changed files with 2 additions and 2 deletions

View File

@ -7,4 +7,4 @@
; @license GNU General Public License version 2 or later; see LICENSE.txt
; The valid constants to search for
encodings ="base64,base64_decode,base64_encode,zlib_decode,zlib_encode"
encodings ="base64_decode,base64_encode,zlib_decode,zlib_encode"

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);
}
}