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-05-09 15:43:33 +00:00
|
|
|
|
leftover_folders="__MACOSX,Desktop.ini,desktop.ini,Thumbs.db,node_modules,php-cs-fixer,phpcs,PHP_CodeSniffer,php_codesniffer,.*,*.bak,*.orig,*.php.*,*.test,*.tmp,*~,*.log,*_log,*.lock,*.pid,*.diff,*.patch,*.phar"
|
|
|
|
|
leftover_folders_whitelist=".htaccess"
|
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"
|
2021-03-10 10:14:09 +00:00
|
|
|
|
errorlog="error_log,var_export,var_dump,print_r,debug_zval_dump"
|
2014-02-23 03:35:18 +00:00
|
|
|
|
todo="@TODO"
|
|
|
|
|
|
2023-09-08 07:10:30 +00:00
|
|
|
|
compatibility_groups="notinj3,notinj4,notinj5,deprecated,deprecatedinj4,deprecatedinj5,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"
|
2023-09-05 11:47:33 +00:00
|
|
|
|
notinj4="JInstallerComponent=>JInstallerAdapterComponent,JInstallerFile=>JInstallerAdapterFile,JInstallerLanguage=>JInstallerAdapterLanguage,JInstallerLibrary=>JInstallerAdapterLibrary,JInstallerModule=>JInstallerAdapterModule,JInstallerPackage=>JInstallerAdapterPackage,JInstallerPlugin=>JInstallerAdapterPlugin,JInstallerTemplate=>JInstallerAdapterTemplate,JSubMenuHelper=>JHtmlSidebar,pagination_item_active=>JLayout joomla.pagination.link,pagination_item_inactive=>JLayout joomla.pagination.link,JVersion::RELEASE,JVersion::DEV_LEVEL,JVersion::BUILD,JHtmlBootstrap::modal=>JHtmlBootstrap::renderModal,JHtml::_('bootstrap.modal'=>JHtml::_('bootstrap.renderModal',JHtmlBatch=>JLayouts,JHtml::_('batch.=>JLayouts,JAccess::$assetPermissionsById,JAccess::$assetPermissionsByName,JAccess::preloadPermissionsParentIdMapping,JAccess::getActions=>JAccess::getActionsFromFile/JAccess::getActionsFromData,JApplicationWebRouter=>joomla/router package,JApplicationWebRouterBase=>joomla/router package,JApplicationWebRouterRest=>joomla/router package,->isSite()=>isClient,->isAdmin()=>isClient,$app->getPageParameters=>getParams,JApplicationHelper::parseXMLLangMetaFile,JCrypt::hasStrongPasswordSupport,JCryptCipher3Des=>JCryptCipherCryptoбJCryptCipherBlowfish=>JCryptCipherCrypto,JCryptCipherMcrypt=>JCryptCipherCrypto,JCryptCipherRijndael256=>JCryptCipherCrypto,JCryptCipherSimpleJCacheStorage::test,JFactory::getXml=>SimpleXMLElement,Factory::getXml=>SimpleXMLElement,JFactory::getEditor=>JEditor::getInstance,Factory::getEditor=>JEditor::getInstance,JFactory::getUri=>Uri::getInstance,Factory::getUri=>Uri::getInstance,JBrowser::isSSLConnection=>JApplicationCms::isSSLConnection,JFilterInput::_,JNode,JTree,JGrid,JArrayHelper=>Joomla\\Utilities\\ArrayHelper,$_PROFILER=>Joomla\\CMS\\Profiler\\Profiler::getInstance,JProfiler::getmicrotime,JProfiler::getMemory,JMail::sendAdminMail,JString=>Joomla\\String\\StringHelper"
|
2023-09-08 06:40:06 +00:00
|
|
|
|
notinj5="JFactory::getUser(),Factory::getUser()"
|
2021-03-10 10:15:30 +00:00
|
|
|
|
deprecated="JHtmlBehavior::mootools,JHtml::_('behavior.mootools',JRequest,->assignRef"
|
2023-09-05 08:11:38 +00:00
|
|
|
|
deprecatedinj4="pagination_list_render=>JLayout joomla.pagination.list,JHtmlSortablelist::sortable=>JHtmlDraggablelist::draggable,JHtml::_('sortablelist.sortable'=>JHtml::_('draggablelist.draggable',JApplicationBase=>Joomla\\Application\\AbstractApplication"
|
2023-09-08 07:10:30 +00:00
|
|
|
|
deprecatedinj5="Joomla\\CMS\\Filesystem\\File=>\\Joomla\\Filesystem\\File,Joomla\\CMS\\Filesystem\\FilesystemHelper=>Joomla\\Filesystem\\Helper,Joomla\\CMS\\Filesystem\\Folder=>Joomla\\Filesystem\\Folder,Joomla\\CMS\\Filesystem\\Patcher=>Joomla\\Filesystem\\Patcher,Joomla\\CMS\\Filesystem\\Path=>Joomla\\Filesystem\\Path,Joomla\\CMS\\Filesystem\\Stream=>Joomla\\Filesystem\\Stream,Joomla\\CMS\\Filesystem\\Streams\\StreamString=>Joomla\\Filesystem\\Stream\\StringWrapper,Joomla\\CMS\\Filesystem\\Support\\StringController=>Joomla\\Filesystem\\Support\\StringController"
|
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"
|