2019-03-09 19:44:14 +00:00
|
|
|
; @package Joomla.JEDChecker
|
2019-03-10 08:49:52 +00:00
|
|
|
;
|
2019-03-10 16:09:42 +00:00
|
|
|
; @copyright Copyright (C) 2017 - 2019 Open Source Matters, Inc. All rights reserved.
|
|
|
|
; Copyright (C) 2008 - 2016 fasterjoomla.com. All rights reserved.
|
2019-03-10 08:49:52 +00:00
|
|
|
; @author Riccardo Zorn <support@fasterjoomla.com>
|
|
|
|
;
|
2019-03-09 19:44:14 +00:00
|
|
|
; @license GNU General Public License version 2 or later; see LICENSE.txt
|
|
|
|
|
2014-02-23 03:35:18 +00:00
|
|
|
; This is the configuration file of the noframework rule.
|
|
|
|
|
|
|
|
; A different format for this rule's params. In order to provide accurate messages, we have four main keys
|
|
|
|
; - error_groups
|
2019-03-09 19:44:14 +00:00
|
|
|
; - warning_groups
|
2014-02-23 03:35:18 +00:00
|
|
|
; - notice_groups
|
|
|
|
; - compatibility_groups
|
|
|
|
; each MUST contain the names of the sub-keys that should trigger a warning or a notice.
|
2019-03-09 19:44:14 +00:00
|
|
|
; In case an offending string is found in the file, a warning/notice will be raised with an error message named
|
2014-02-23 03:35:18 +00:00
|
|
|
; COM_JEDCHECKER_ERROR_NOFRAMEWORK_ followed by the offending key in uppercase e.g. COM_JEDCHECKER_ERROR_NOFRAMEWORK_SUPERGLOBALS
|
|
|
|
;
|
|
|
|
; ref: docs.joomla.org/Potential_backward_compatibility_issues_in_Joomla_3.0_and_Joomla_Platform_12.1
|
|
|
|
|
2021-02-24 11:45:52 +00:00
|
|
|
leftover_folders=".DS_Store,.svn,.git,__MACOSX"
|
2014-02-23 03:35:18 +00:00
|
|
|
|
|
|
|
error_groups="directdb"
|
2021-02-13 21:13:03 +00:00
|
|
|
directdb="mysql_connect,mysql_query,mysql_close,mysql_escape_string,new mysqli,mysqli_connect,mysqli_query,mysqli_close,mysqli_escape_string,mysqli_real_escape_string"
|
2014-02-23 03:35:18 +00:00
|
|
|
|
|
|
|
warning_groups="superglobals"
|
|
|
|
superglobals="$_GET,$_POST,$_SESSION,$_COOKIE,$_FILES"
|
|
|
|
|
|
|
|
notice_groups="errorlog,todo"
|
2019-05-15 14:25:32 +00:00
|
|
|
errorlog="error_log,var_export,var_dump,print_r"
|
2014-02-23 03:35:18 +00:00
|
|
|
todo="@TODO"
|
|
|
|
|
|
|
|
compatibility_groups="notinj3,deprecated,jerr,DS,strict"
|
2015-12-01 20:26:39 +00:00
|
|
|
notinj3="JUtility::isWinOS,JFTP,JLDAP,JWebClient,JloadResultArray,nameQuote,JRequest::checkToken,JParameter,JElement,JFormFieldEditors,JHtmlImage,JRules,JSimpleXML,JPane,$db->getEscaped,JDate::toMysql,JUtility::sendMail,JUtility::sendAdminMail,JUtility::getToken,JFactory::getXMLParser,JDate::toMysql"
|
2014-02-23 03:35:18 +00:00
|
|
|
deprecated="JHtmlBehavior::mootools,JRequest,::assignRef"
|
2016-05-25 13:30:04 +00:00
|
|
|
jerr="JError::"
|
2014-02-23 03:35:18 +00:00
|
|
|
DS=" DS ,.DS., DS.,.DS "
|
|
|
|
strict="&JFactory,&JModuleHelper"
|