From 616e93e8e499daa50fe6605704ce8b88ce48d6bb Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Sat, 3 Dec 2022 23:40:23 +0100 Subject: [PATCH] cosmetic --- inc/module/dcdeprecated/dc2.21.php | 106 +++++++------ inc/module/dcdeprecated/dc2.23.php | 50 +++--- inc/module/dcdeprecated/dc2.24.php | 176 +++++++++++---------- inc/module/phpcsfixer/phpcsfixer.rules.php | 2 +- index.php | 2 +- 5 files changed, 183 insertions(+), 153 deletions(-) diff --git a/inc/module/dcdeprecated/dc2.21.php b/inc/module/dcdeprecated/dc2.21.php index 2a8ea0d..b526b3f 100644 --- a/inc/module/dcdeprecated/dc2.21.php +++ b/inc/module/dcdeprecated/dc2.21.php @@ -1,48 +1,58 @@ - [ - ['adminPostsActionsCombo', 'adminPostsActionsCombo', 'adminPostsActions', '2.21', ''], - ['adminPostsActionsHeaders', 'adminPostsActionsHeaders', 'adminPostsActions', '2.21', ''], - ['adminPostsActionsContent', 'adminPostsActionsContent', 'adminPostsActions', '2.21', ''], - ['adminCommentsActionsCombo', 'adminCommentsActionsCombo', 'adminCommentsActionsCombo', '2.21', ''], - ['adminCommentsActionsHeaders', 'adminCommentsActionsHeaders', 'adminCommentsActions', '2.21', ''], - ['adminCommentsActionsContent', 'adminCommentsActionsContent', 'adminCommentsActions', '2.21', ''], - ['adminPagesActionsCombo', 'adminPagesActionsCombo', 'adminPagesActionsCombo', 'adminPagesActions', '2.21', ''], - ['adminPagesActionsHeaders', 'adminPagesActionsHeaders', 'adminPagesActions', '2.21', ''], - ['adminPagesActionsContent', 'adminPagesActionsContent', 'adminPagesActions', '2.21', ''], - - // - ['comments_actions.php', 'comments_actions.php', 'dcCommentsActionsPage', '2.21', ''], - ['posts_actions.php', 'posts_actions.php', 'dcPostsActionsPage', '2.21', ''], - - ['global_filter', 'global_filter', 'tpl_context::global_filters', '2.11', ''], - - ['getLangFile', 'getLangFile', 'nothing', '2.11', ''], - ['getTextDirection', 'getTextDirection', 'getLanguageTextDirection', '2.11', ''], - - ['dcUtils::jsVar(s|)', 'dcUtils::jsVar(s)', 'dcUtils::jsJson', '2.15', ''], - ['adminurl->decode', '$core->adminurl->decode', 'nothing', '2.15', ''], - ['dcPage::help[^B]', 'dcPage::help', 'nothing', '2.15', ''], - ['dcPage::jsVar(s|)', 'dcPage::jsVar(s)', 'dcPage::jsJson', '2.15', ''], - ['dcPage::jsLoadIE7', 'dcPage::jsLoadIE7', 'nothing', '2.11', ''], - ['dcPage::jsColorPicker', 'dcPage::jsColorPicker', 'nothing', '2.16', ''], - ['dcPage::jsToolBar', 'dcPage::jsToolBar', 'nothing', '2.16', ''], - - ['adminPostForm[^I]', 'adminPostForm', 'adminPostFormItems', '2.21', ''], - ['adminPostFormSidebar', 'adminPostFormSidebar', 'adminPostFormItems', '2.21', ''], - - ['three-cols', 'three-cols', 'three-boxes', '2.6', ''], - ], - 'js' => [ - ['\sstoreLocalData', 'storeLocalData', 'dotclear.storeLocalData', '2.21', ''], - ['\sdropLocalData', 'dropLocalData', 'dotclear.dropLocalData', '2.21', ''], - ['\sreadLocalData', 'readLocalData', 'dotclear.readLocalData', '2.21', ''], - ['\sgetData', 'getData', 'dotclear.getData', '2.21', ''], - ['\sisObject', 'isObject', 'dotclear.isObject', '2.21', ''], - ['\smergeDeep', 'mergeDeep', 'dotclear.mergeDeep', '2.21', ''], - ['\sgetCookie', 'getCookie', 'dotclear.getCookie', '2.21', ''], - ['\ssetCookie', 'setCookie', 'dotclear.setCookie', '2.21', ''], - ['\sdeleteCookie', 'deleteCookie', 'dotclear.deleteCookie', '2.21', ''], - ], -]; + [ + ['adminPostsActionsCombo', 'adminPostsActionsCombo', 'adminPostsActions', '2.21', ''], + ['adminPostsActionsHeaders', 'adminPostsActionsHeaders', 'adminPostsActions', '2.21', ''], + ['adminPostsActionsContent', 'adminPostsActionsContent', 'adminPostsActions', '2.21', ''], + ['adminCommentsActionsCombo', 'adminCommentsActionsCombo', 'adminCommentsActionsCombo', '2.21', ''], + ['adminCommentsActionsHeaders', 'adminCommentsActionsHeaders', 'adminCommentsActions', '2.21', ''], + ['adminCommentsActionsContent', 'adminCommentsActionsContent', 'adminCommentsActions', '2.21', ''], + ['adminPagesActionsCombo', 'adminPagesActionsCombo', 'adminPagesActionsCombo', 'adminPagesActions', '2.21', ''], + ['adminPagesActionsHeaders', 'adminPagesActionsHeaders', 'adminPagesActions', '2.21', ''], + ['adminPagesActionsContent', 'adminPagesActionsContent', 'adminPagesActions', '2.21', ''], + + // + ['comments_actions.php', 'comments_actions.php', 'dcCommentsActionsPage', '2.21', ''], + ['posts_actions.php', 'posts_actions.php', 'dcPostsActionsPage', '2.21', ''], + + ['global_filter', 'global_filter', 'tpl_context::global_filters', '2.11', ''], + + ['getLangFile', 'getLangFile', 'nothing', '2.11', ''], + ['getTextDirection', 'getTextDirection', 'getLanguageTextDirection', '2.11', ''], + + ['dcUtils::jsVar(s|)', 'dcUtils::jsVar(s)', 'dcUtils::jsJson', '2.15', ''], + ['adminurl->decode', '$core->adminurl->decode', 'nothing', '2.15', ''], + ['dcPage::help[^B]', 'dcPage::help', 'nothing', '2.15', ''], + ['dcPage::jsVar(s|)', 'dcPage::jsVar(s)', 'dcPage::jsJson', '2.15', ''], + ['dcPage::jsLoadIE7', 'dcPage::jsLoadIE7', 'nothing', '2.11', ''], + ['dcPage::jsColorPicker', 'dcPage::jsColorPicker', 'nothing', '2.16', ''], + ['dcPage::jsToolBar', 'dcPage::jsToolBar', 'nothing', '2.16', ''], + + ['adminPostForm[^I]', 'adminPostForm', 'adminPostFormItems', '2.21', ''], + ['adminPostFormSidebar', 'adminPostFormSidebar', 'adminPostFormItems', '2.21', ''], + + ['three-cols', 'three-cols', 'three-boxes', '2.6', ''], + ], + 'js' => [ + ['\sstoreLocalData', 'storeLocalData', 'dotclear.storeLocalData', '2.21', ''], + ['\sdropLocalData', 'dropLocalData', 'dotclear.dropLocalData', '2.21', ''], + ['\sreadLocalData', 'readLocalData', 'dotclear.readLocalData', '2.21', ''], + ['\sgetData', 'getData', 'dotclear.getData', '2.21', ''], + ['\sisObject', 'isObject', 'dotclear.isObject', '2.21', ''], + ['\smergeDeep', 'mergeDeep', 'dotclear.mergeDeep', '2.21', ''], + ['\sgetCookie', 'getCookie', 'dotclear.getCookie', '2.21', ''], + ['\ssetCookie', 'setCookie', 'dotclear.setCookie', '2.21', ''], + ['\sdeleteCookie', 'deleteCookie', 'dotclear.deleteCookie', '2.21', ''], + ], +]; diff --git a/inc/module/dcdeprecated/dc2.23.php b/inc/module/dcdeprecated/dc2.23.php index 5faedda..684ece8 100644 --- a/inc/module/dcdeprecated/dc2.23.php +++ b/inc/module/dcdeprecated/dc2.23.php @@ -1,20 +1,30 @@ - [ - ['(\$core|\$GLOBALS\[(\'|")core(\'|")\]|\$this->core)', '$core', 'dcCore::app()', '2.23', 'https://open-time.net/post/2022/10/21/Adapter-son-code-pour-la-224-n-2'], - ['(\$_ctx|\$GLOBALS\[(\'|")_ctx(\'|")\])', '$_ctx', 'dcCore::app()->ctx', '2.23', 'https://open-time.net/post/2022/10/22/Adapter-son-code-pour-la-224-n-3'], - ['(\$_lang|\$GLOBALS\[(\'|")_lang(\'|")\])', '$_lang', 'dcCore::app()->lang', '2.23', 'https://open-time.net/post/2022/10/23/Adapter-son-code-pour-la-224-n-4'], - ['(\$_menu|\$GLOBALS\[(\'|")_menu(\'|")\])', '$_menu', 'dcCore::app()->menu', '2.23', 'https://open-time.net/post/2022/10/24/Adapter-son-code-pour-la-224-n-5'], - ['(\$__resources|\$GLOBALS\[(\'|")__resources(\'|")\])', '$__resources', 'dcCore::app()->resources', '2.23', 'https://open-time.net/post/2022/10/26/Adapter-son-code-pour-la-224-n-6'], - ['(\$__widgets|\$GLOBALS\[(\'|")__widgets(\'|")\])', '$__widgets', 'dcCore::app()->widgets', '2.23', 'https://open-time.net/post/2022/10/31/Adapter-son-code-pour-la-224-n-11'], - ['(\$_page_number|\$GLOBALS\[(\'|")_page_number(\'|")\])', '$_page_number', 'dcCore::app()->public->getPageNumber()', '2.23', 'https://open-time.net/post/2022/11/01/Adapter-son-code-pour-la-224-n-12'], - ['(\$_search|\$GLOBALS\[(\'|")_search(\'|")\])', '$_search', 'dcCore::app()->public->search', '2.23', 'https://open-time.net/post/2022/11/02/Adapter-son-code-pour-la-224-n-13'], - ['(\$_search_count|\$GLOBALS\[(\'|")_search_count(\'|")\])', '$_search_count', 'dcCore::app()->public->search_count', '2.23', 'https://open-time.net/post/2022/11/02/Adapter-son-code-pour-la-224-n-13'], - ['(\$__theme|\$GLOBALS\[(\'|")__theme(\'|")\])', '$__theme', 'dcCore::app()->public->theme', '2.23', 'https://open-time.net/post/2022/11/03/Adapter-son-code-pour-la-224-n-14'], - ['(\$__parent_theme|\$GLOBALS\[(\'|")__parent_theme(\'|")\])', '$__parent_theme', 'dcCore::app()->public->parent_theme', '2.23', 'https://open-time.net/post/2022/11/03/Adapter-son-code-pour-la-224-n-14'], - ['(\$__smilies|\$GLOBALS\[(\'|")__smilies(\'|")\])', '$__smilies', 'dcCore::app()->public->smilies', '2.23', 'https://open-time.net/post/2022/11/04/Adapter-son-code-pour-la-224-n-15'], - ['(\$__autoload|\$GLOBALS\[(\'|")__autoload(\'|")\])', '$__autoload', 'Clearbricks::lib()->autoload()', '2.23', 'https://open-time.net/post/2022/11/05/Adapter-son-code-pour-la-224-n-16'], - ['(\$p_url|\$GLOBALS\[(\'|")p_url(\'|")\])', '$p_url', 'dcCore::app()->admin->getPageURL()', '2.23', 'https://open-time.net/post/2022/11/13/Adapter-son-code-pour-la-224-n-24'], - ], -]; + [ + ['(\$core|\$GLOBALS\[(\'|")core(\'|")\]|\$this->core)', '$core', 'dcCore::app()', '2.23', 'https://open-time.net/post/2022/10/21/Adapter-son-code-pour-la-224-n-2'], + ['(\$_ctx|\$GLOBALS\[(\'|")_ctx(\'|")\])', '$_ctx', 'dcCore::app()->ctx', '2.23', 'https://open-time.net/post/2022/10/22/Adapter-son-code-pour-la-224-n-3'], + ['(\$_lang|\$GLOBALS\[(\'|")_lang(\'|")\])', '$_lang', 'dcCore::app()->lang', '2.23', 'https://open-time.net/post/2022/10/23/Adapter-son-code-pour-la-224-n-4'], + ['(\$_menu|\$GLOBALS\[(\'|")_menu(\'|")\])', '$_menu', 'dcCore::app()->menu', '2.23', 'https://open-time.net/post/2022/10/24/Adapter-son-code-pour-la-224-n-5'], + ['(\$__resources|\$GLOBALS\[(\'|")__resources(\'|")\])', '$__resources', 'dcCore::app()->resources', '2.23', 'https://open-time.net/post/2022/10/26/Adapter-son-code-pour-la-224-n-6'], + ['(\$__widgets|\$GLOBALS\[(\'|")__widgets(\'|")\])', '$__widgets', 'dcCore::app()->widgets', '2.23', 'https://open-time.net/post/2022/10/31/Adapter-son-code-pour-la-224-n-11'], + ['(\$_page_number|\$GLOBALS\[(\'|")_page_number(\'|")\])', '$_page_number', 'dcCore::app()->public->getPageNumber()', '2.23', 'https://open-time.net/post/2022/11/01/Adapter-son-code-pour-la-224-n-12'], + ['(\$_search|\$GLOBALS\[(\'|")_search(\'|")\])', '$_search', 'dcCore::app()->public->search', '2.23', 'https://open-time.net/post/2022/11/02/Adapter-son-code-pour-la-224-n-13'], + ['(\$_search_count|\$GLOBALS\[(\'|")_search_count(\'|")\])', '$_search_count', 'dcCore::app()->public->search_count', '2.23', 'https://open-time.net/post/2022/11/02/Adapter-son-code-pour-la-224-n-13'], + ['(\$__theme|\$GLOBALS\[(\'|")__theme(\'|")\])', '$__theme', 'dcCore::app()->public->theme', '2.23', 'https://open-time.net/post/2022/11/03/Adapter-son-code-pour-la-224-n-14'], + ['(\$__parent_theme|\$GLOBALS\[(\'|")__parent_theme(\'|")\])', '$__parent_theme', 'dcCore::app()->public->parent_theme', '2.23', 'https://open-time.net/post/2022/11/03/Adapter-son-code-pour-la-224-n-14'], + ['(\$__smilies|\$GLOBALS\[(\'|")__smilies(\'|")\])', '$__smilies', 'dcCore::app()->public->smilies', '2.23', 'https://open-time.net/post/2022/11/04/Adapter-son-code-pour-la-224-n-15'], + ['(\$__autoload|\$GLOBALS\[(\'|")__autoload(\'|")\])', '$__autoload', 'Clearbricks::lib()->autoload()', '2.23', 'https://open-time.net/post/2022/11/05/Adapter-son-code-pour-la-224-n-16'], + ['(\$p_url|\$GLOBALS\[(\'|")p_url(\'|")\])', '$p_url', 'dcCore::app()->admin->getPageURL()', '2.23', 'https://open-time.net/post/2022/11/13/Adapter-son-code-pour-la-224-n-24'], + ], +]; diff --git a/inc/module/dcdeprecated/dc2.24.php b/inc/module/dcdeprecated/dc2.24.php index de300ef..9cf63ac 100644 --- a/inc/module/dcdeprecated/dc2.24.php +++ b/inc/module/dcdeprecated/dc2.24.php @@ -1,83 +1,93 @@ - [ - ['adminPostsActionsPage (\s|"|\')', 'adminPostsActionsPage ', 'adminPostsActions', '2.24', 'https://open-time.net/post/2022/11/17/Adapter-son-code-pour-la-224-n-28'], - ['adminCommentsActionsPage(\s|"|\')', 'adminCommentsActionsPage', 'adminCommentsActions', '2.24', 'https://open-time.net/post/2022/11/17/Adapter-son-code-pour-la-224-n-28'], - ['adminPagesActionsPage(\s|"|\')', 'adminPagesActionsPage', 'adminPagesActions', '2.24', 'https://open-time.net/post/2022/11/17/Adapter-son-code-pour-la-224-n-28'], - - ['coreBeforeLoadingNsFiles(\s|"|\')', 'coreBeforeLoadingNsFiles', 'coreBeforeLoadingNsFilesV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - ['coreCommentSearch(\s|"|\')', 'coreCommentSearch', 'coreCommentSearchV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - ['corePostSearch(\s|"|\')', 'corePostSearch', 'corePostSearchV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - - ['publicAfterContentFilter(\s|"|\')', 'publicAfterContentFilter', 'publicAfterContentFilterV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - ['publicAfterDocument(\s|"|\')', 'publicAfterDocument', 'apublicAfterDocumentV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - ['publicBeforeContentFilter(\s|"|\')', 'publicBeforeContentFilter', 'publicBeforeContentFilterV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - ['publicBeforeDocument(\s|"|\')', 'publicBeforeDocument', 'apublicBeforeDocumentV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - ['publicBeforeReceiveTrackback(\s|"|\')', 'publicBeforeReceiveTrackback', 'publicBeforeReceiveTrackbackV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - ['publicContentFilter(\s|"|\')', 'publicContentFilter', 'publicContentFilterV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - ['publicPrepend(\s|"|\')', 'publicPrepend', 'publicPrependV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - ['templateAfterBlock(\s|"|\')', 'templateAfterBlock', 'templateAfterBlockV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - ['templateAfterValue(\s|"|\')', 'templateAfterValue', 'templateAfterValueV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - ['templateBeforeBlock(\s|"|\')', 'templateBeforeBlock', 'templateBeforeBlockV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - ['templateBeforeValue(\s|"|\')', 'templateBeforeValue', 'templateBeforeValueV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - ['templateInsideBlock(\s|"|\')', 'templateInsideBlock', 'templateInsideBlockV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - ['tplAfterData(\s|"|\')', 'tplAfterData', 'tplAfterDataV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - ['tplBeforeData(\s|"|\')', 'tplBeforeData', 'tplBeforeDataV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - - ['adminBlogFilter(\s|"|\')', 'adminBlogFilter', 'adminBlogFilterV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - ['adminBlogListHeader(\s|"|\')', 'adminBlogListHeader', 'adminBlogListHeaderV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - ['adminBlogListValue(\s|"|\')', 'adminBlogListValue', 'adminBlogListValueV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - ['adminBlogPreferencesForm(\s|"|\')', 'adminBlogPreferencesForm', 'adminBlogPreferencesFormV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - ['adminBlogsActionsPage(\s|"|\')', 'adminBlogsActionsPage', 'adminBlogsActionsPageV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - ['adminColumnsLists(\s|"|\')', 'adminColumnsLists', 'adminColumnsListsV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - ['adminCommentFilter(\s|"|\')', 'adminCommentFilter', 'adminCommentFilterV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - ['adminCommentListHeader(\s|"|\')', 'adminCommentListHeader', 'adminCommentListHeaderV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - ['adminCommentListValue(\s|"|\')', 'adminCommentListValue', 'adminCommentListValueV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - ['adminCommentsActions(\s|"|\')', 'adminCommentsActions', 'adminCommentsActionsV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - ['adminCommentsActionsPage(\s|"|\')', 'adminCommentsActionsPage', 'adminCommentsActionsPageV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - ['adminCommentsSpamForm(\s|"|\')', 'adminCommentsSpamForm', 'adminCommentsSpamFormV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - ['adminCurrentThemeDetails(\s|"|\')', 'adminCurrentThemeDetails', 'adminCurrentThemeDetailsV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - ['adminDashboardContents(\s|"|\')', 'adminDashboardContents', 'adminDashboardContentsV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - ['adminDashboardFavorites(\s|"|\')', 'adminDashboardFavorites', 'adminDashboardFavoritesV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - ['adminDashboardFavs(\s|"|\')', 'adminDashboardFavs', 'adminDashboardFavsV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - ['adminDashboardFavsIcon(\s|"|\')', 'adminDashboardFavsIcon', 'adminDashboardFavsIconV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - ['adminDashboardItems(\s|"|\')', 'adminDashboardItems', 'adminDashboardItemsV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - ['adminDashboardOptionsForm(\s|"|\')', 'adminDashboardOptionsForm', 'adminDashboardOptionsFormV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - ['adminFiltersLists(\s|"|\')', 'adminFiltersLists', 'adminFiltersListssV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - ['adminMediaFilter(\s|"|\')', 'adminMediaFilter', 'adminMediaFilterV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - ['adminPageFooter(\s|"|\')', 'adminPageFooter', 'adminPageFooterV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - ['adminPagesActionsPage(\s|"|\')', 'adminPagesActionsPage', 'adminPagesActionsPageV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - ['adminPagesListHeader(\s|"|\')', 'adminPagesListHeader', 'adminPagesListHeaderV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - ['adminPagesListValue(\s|"|\')', 'adminPagesListValue', 'adminPagesListValueV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - ['adminPostFilter(\s|"|\')', 'adminPostFilter', 'adminPostFilterV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - ['adminPostListHeader(\s|"|\')', 'adminPostListHeader', 'adminPostListHeaderV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - ['adminPostListValue(\s|"|\')', 'adminPostListValue', 'adminPostListValueV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - ['adminPostMiniListHeader(\s|"|\')', 'adminPostMiniListHeader', 'adminPostMiniListHeaderV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - ['adminPostsActions(\s|"|\')', 'adminPostsActions', 'adminPostsActionsV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - ['adminPostsActionsPage(\s|"|\')', 'adminPostsActionsPage', 'adminPostsActionsPageV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - ['adminPreferencesForm(\s|"|\')', 'adminPreferencesForm', 'adminPreferencesFormV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - ['adminRteFlags(\s|"|\')', 'adminRteFlags', 'adminRteFlagsV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - ['adminSearchPageCombo(\s|"|\')', 'adminSearchPageCombo', 'adminSearchPageComboV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - ['adminSearchPageDisplay(\s|"|\')', 'adminSearchPageDisplay', 'adminSearchPageDisplayV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - ['adminSearchPageHead(\s|"|\')', 'adminSearchPageHead', 'adminSearchPageHeadV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - ['adminSearchPageProcess(\s|"|\')', 'adminSearchPageProcess', 'adminSearchPageProcessV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - ['adminUsersActions(\s|"|\')', 'adminUsersActions', 'adminUsersActionsV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - ['adminUsersActionsContent(\s|"|\')', 'adminUsersActionsContent', 'adminUsersActionsContentV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - ['adminUserFilter(\s|"|\')', 'adminUserFilter', 'adminUserFilterV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - ['adminUserListHeader(\s|"|\')', 'adminUserListHeader', 'adminUserListHeaderV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - ['adminUserListValue(\s|"|\')', 'adminUserListValue', 'adminUserListValueV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - ['exportFull(\s|"|\')', 'exportFull', 'exportFullV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - ['exportSingle(\s|"|\')', 'exportSingle', 'exportSingleV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - ['importExportModules(\s|"|\')', 'importExportModules', 'importExportModulesV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - ['importFull(\s|"|\')', 'importFull', 'importFullV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - ['importInit(\s|"|\')', 'importInit', 'importInitV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - ['importPrepareDC12(\s|"|\')', 'importPrepareDC12', 'importPrepareDC12V2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - ['importSingle(\s|"|\')', 'importSingle', 'importSingleV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - ['pluginsToolsHeaders(\s|"|\')', 'pluginsToolsHeaders', 'pluginsToolsHeadersV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - ['pluginsToolsTabs(\s|"|\')', 'pluginsToolsTabs', 'pluginsToolsTabsV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - ['restCheckStoreUpdate(\s|"|\')', 'restCheckStoreUpdate', 'restCheckStoreUpdateV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - ['themesToolsHeaders(\s|"|\')', 'themesToolsHeaders', 'themesToolsHeadersV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - ['themesToolsTabs(\s|"|\')', 'themesToolsTabs', 'themesToolsTabsV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], - ], -]; + [ + ['adminPostsActionsPage (\s|"|\')', 'adminPostsActionsPage ', 'adminPostsActions', '2.24', 'https://open-time.net/post/2022/11/17/Adapter-son-code-pour-la-224-n-28'], + ['adminCommentsActionsPage(\s|"|\')', 'adminCommentsActionsPage', 'adminCommentsActions', '2.24', 'https://open-time.net/post/2022/11/17/Adapter-son-code-pour-la-224-n-28'], + ['adminPagesActionsPage(\s|"|\')', 'adminPagesActionsPage', 'adminPagesActions', '2.24', 'https://open-time.net/post/2022/11/17/Adapter-son-code-pour-la-224-n-28'], + + ['coreBeforeLoadingNsFiles(\s|"|\')', 'coreBeforeLoadingNsFiles', 'coreBeforeLoadingNsFilesV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + ['coreCommentSearch(\s|"|\')', 'coreCommentSearch', 'coreCommentSearchV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + ['corePostSearch(\s|"|\')', 'corePostSearch', 'corePostSearchV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + + ['publicAfterContentFilter(\s|"|\')', 'publicAfterContentFilter', 'publicAfterContentFilterV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + ['publicAfterDocument(\s|"|\')', 'publicAfterDocument', 'apublicAfterDocumentV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + ['publicBeforeContentFilter(\s|"|\')', 'publicBeforeContentFilter', 'publicBeforeContentFilterV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + ['publicBeforeDocument(\s|"|\')', 'publicBeforeDocument', 'apublicBeforeDocumentV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + ['publicBeforeReceiveTrackback(\s|"|\')', 'publicBeforeReceiveTrackback', 'publicBeforeReceiveTrackbackV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + ['publicContentFilter(\s|"|\')', 'publicContentFilter', 'publicContentFilterV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + ['publicPrepend(\s|"|\')', 'publicPrepend', 'publicPrependV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + ['templateAfterBlock(\s|"|\')', 'templateAfterBlock', 'templateAfterBlockV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + ['templateAfterValue(\s|"|\')', 'templateAfterValue', 'templateAfterValueV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + ['templateBeforeBlock(\s|"|\')', 'templateBeforeBlock', 'templateBeforeBlockV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + ['templateBeforeValue(\s|"|\')', 'templateBeforeValue', 'templateBeforeValueV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + ['templateInsideBlock(\s|"|\')', 'templateInsideBlock', 'templateInsideBlockV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + ['tplAfterData(\s|"|\')', 'tplAfterData', 'tplAfterDataV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + ['tplBeforeData(\s|"|\')', 'tplBeforeData', 'tplBeforeDataV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + + ['adminBlogFilter(\s|"|\')', 'adminBlogFilter', 'adminBlogFilterV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + ['adminBlogListHeader(\s|"|\')', 'adminBlogListHeader', 'adminBlogListHeaderV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + ['adminBlogListValue(\s|"|\')', 'adminBlogListValue', 'adminBlogListValueV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + ['adminBlogPreferencesForm(\s|"|\')', 'adminBlogPreferencesForm', 'adminBlogPreferencesFormV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + ['adminBlogsActionsPage(\s|"|\')', 'adminBlogsActionsPage', 'adminBlogsActionsPageV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + ['adminColumnsLists(\s|"|\')', 'adminColumnsLists', 'adminColumnsListsV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + ['adminCommentFilter(\s|"|\')', 'adminCommentFilter', 'adminCommentFilterV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + ['adminCommentListHeader(\s|"|\')', 'adminCommentListHeader', 'adminCommentListHeaderV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + ['adminCommentListValue(\s|"|\')', 'adminCommentListValue', 'adminCommentListValueV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + ['adminCommentsActions(\s|"|\')', 'adminCommentsActions', 'adminCommentsActionsV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + ['adminCommentsActionsPage(\s|"|\')', 'adminCommentsActionsPage', 'adminCommentsActionsPageV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + ['adminCommentsSpamForm(\s|"|\')', 'adminCommentsSpamForm', 'adminCommentsSpamFormV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + ['adminCurrentThemeDetails(\s|"|\')', 'adminCurrentThemeDetails', 'adminCurrentThemeDetailsV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + ['adminDashboardContents(\s|"|\')', 'adminDashboardContents', 'adminDashboardContentsV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + ['adminDashboardFavorites(\s|"|\')', 'adminDashboardFavorites', 'adminDashboardFavoritesV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + ['adminDashboardFavs(\s|"|\')', 'adminDashboardFavs', 'adminDashboardFavsV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + ['adminDashboardFavsIcon(\s|"|\')', 'adminDashboardFavsIcon', 'adminDashboardFavsIconV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + ['adminDashboardItems(\s|"|\')', 'adminDashboardItems', 'adminDashboardItemsV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + ['adminDashboardOptionsForm(\s|"|\')', 'adminDashboardOptionsForm', 'adminDashboardOptionsFormV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + ['adminFiltersLists(\s|"|\')', 'adminFiltersLists', 'adminFiltersListssV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + ['adminMediaFilter(\s|"|\')', 'adminMediaFilter', 'adminMediaFilterV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + ['adminPageFooter(\s|"|\')', 'adminPageFooter', 'adminPageFooterV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + ['adminPagesActionsPage(\s|"|\')', 'adminPagesActionsPage', 'adminPagesActionsPageV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + ['adminPagesListHeader(\s|"|\')', 'adminPagesListHeader', 'adminPagesListHeaderV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + ['adminPagesListValue(\s|"|\')', 'adminPagesListValue', 'adminPagesListValueV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + ['adminPostFilter(\s|"|\')', 'adminPostFilter', 'adminPostFilterV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + ['adminPostListHeader(\s|"|\')', 'adminPostListHeader', 'adminPostListHeaderV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + ['adminPostListValue(\s|"|\')', 'adminPostListValue', 'adminPostListValueV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + ['adminPostMiniListHeader(\s|"|\')', 'adminPostMiniListHeader', 'adminPostMiniListHeaderV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + ['adminPostsActions(\s|"|\')', 'adminPostsActions', 'adminPostsActionsV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + ['adminPostsActionsPage(\s|"|\')', 'adminPostsActionsPage', 'adminPostsActionsPageV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + ['adminPreferencesForm(\s|"|\')', 'adminPreferencesForm', 'adminPreferencesFormV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + ['adminRteFlags(\s|"|\')', 'adminRteFlags', 'adminRteFlagsV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + ['adminSearchPageCombo(\s|"|\')', 'adminSearchPageCombo', 'adminSearchPageComboV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + ['adminSearchPageDisplay(\s|"|\')', 'adminSearchPageDisplay', 'adminSearchPageDisplayV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + ['adminSearchPageHead(\s|"|\')', 'adminSearchPageHead', 'adminSearchPageHeadV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + ['adminSearchPageProcess(\s|"|\')', 'adminSearchPageProcess', 'adminSearchPageProcessV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + ['adminUsersActions(\s|"|\')', 'adminUsersActions', 'adminUsersActionsV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + ['adminUsersActionsContent(\s|"|\')', 'adminUsersActionsContent', 'adminUsersActionsContentV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + ['adminUserFilter(\s|"|\')', 'adminUserFilter', 'adminUserFilterV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + ['adminUserListHeader(\s|"|\')', 'adminUserListHeader', 'adminUserListHeaderV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + ['adminUserListValue(\s|"|\')', 'adminUserListValue', 'adminUserListValueV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + ['exportFull(\s|"|\')', 'exportFull', 'exportFullV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + ['exportSingle(\s|"|\')', 'exportSingle', 'exportSingleV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + ['importExportModules(\s|"|\')', 'importExportModules', 'importExportModulesV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + ['importFull(\s|"|\')', 'importFull', 'importFullV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + ['importInit(\s|"|\')', 'importInit', 'importInitV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + ['importPrepareDC12(\s|"|\')', 'importPrepareDC12', 'importPrepareDC12V2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + ['importSingle(\s|"|\')', 'importSingle', 'importSingleV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + ['pluginsToolsHeaders(\s|"|\')', 'pluginsToolsHeaders', 'pluginsToolsHeadersV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + ['pluginsToolsTabs(\s|"|\')', 'pluginsToolsTabs', 'pluginsToolsTabsV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + ['restCheckStoreUpdate(\s|"|\')', 'restCheckStoreUpdate', 'restCheckStoreUpdateV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + ['themesToolsHeaders(\s|"|\')', 'themesToolsHeaders', 'themesToolsHeadersV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + ['themesToolsTabs(\s|"|\')', 'themesToolsTabs', 'themesToolsTabsV2', '2.24', 'https://open-time.net/post/2022/11/06/Adapter-son-code-pour-la-224-n-17'], + ], +]; diff --git a/inc/module/phpcsfixer/phpcsfixer.rules.php b/inc/module/phpcsfixer/phpcsfixer.rules.php index be90268..0797d3f 100644 --- a/inc/module/phpcsfixer/phpcsfixer.rules.php +++ b/inc/module/phpcsfixer/phpcsfixer.rules.php @@ -52,4 +52,4 @@ return $config 'single_quote' => true, 'trim_array_spaces' => true, ]) - ->setFinder($finder); \ No newline at end of file + ->setFinder($finder); diff --git a/index.php b/index.php index 6ffabcc..6a95dda 100644 --- a/index.php +++ b/index.php @@ -176,7 +176,7 @@ class index $time = $this->improve->fixModule( $this->type, $this->module, - self::getModules($this->type == 'plugin' ? 'plugins' : 'themes',$this->module), + self::getModules($this->type == 'plugin' ? 'plugins' : 'themes', $this->module), $_POST['actions'] ); $log_id = $this->improve->writeLogs();