From 6e99c71660506430f188491f525ce6dcc33426fc Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Sun, 16 Jul 2023 01:18:23 +0200 Subject: [PATCH] fix deprecated --- src/Task/dcdeprecated/dc2.26.php | 4 ++-- src/Task/dcdeprecated/dc2.27.php | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Task/dcdeprecated/dc2.26.php b/src/Task/dcdeprecated/dc2.26.php index 5eef991..d4d18c1 100644 --- a/src/Task/dcdeprecated/dc2.26.php +++ b/src/Task/dcdeprecated/dc2.26.php @@ -12,8 +12,8 @@ */ return [ 'php' => [ - ['Clearbricks::lib\(', 'Clearbricks::lib()', __('namespaces'), '2.26', 'https://dotclear.watch/Billet/Release-2.26'], - ['Clearbricks::add\(', 'Clearbricks::add()', __('namespaces'), '2.26', 'https://dotclear.watch/Billet/Release-2.26'], + ['Clearbricks::lib\(', 'Clearbricks::lib()', 'namespaces', '2.26', 'https://dotclear.watch/Billet/Release-2.26'], + ['Clearbricks::add\(', 'Clearbricks::add()', 'namespaces', '2.26', 'https://dotclear.watch/Billet/Release-2.26'], ['toExtStatic\(', 'dcRecord::toExtStatic()', 'Dotclear\Database\MetaRecord::toStatic()', '2.26', 'https://dotclear.watch/Billet/Release-2.26'], //['(themes|plugins)->setModules\(', 'adminModulesList::setModules()', 'ModulesList::setDefine()', '2.26', 'https://dotclear.watch/Billet/Release-2.26'], //['(themes|plugins)->getModules\(', 'adminModulesList::getModules()', 'ModulesList::getDefines()', '2.26', 'https://dotclear.watch/Billet/Release-2.26'], diff --git a/src/Task/dcdeprecated/dc2.27.php b/src/Task/dcdeprecated/dc2.27.php index 3839766..771bacc 100644 --- a/src/Task/dcdeprecated/dc2.27.php +++ b/src/Task/dcdeprecated/dc2.27.php @@ -69,14 +69,14 @@ return [ ['dcPostsActions', 'dcPostsActions', 'Dotclear\Core\Backend\dcPostsActions', '2.27', 'https://dotclear.watch/Billet/D%C3%A9placement-de-classes'], ['dcFavorites', 'dcFavorites', 'Dotclear\Core\Backend\Favorites', '2.27', 'https://dotclear.watch/Billet/D%C3%A9placement-de-classes'], ['dcMenu', 'dcMenu', 'Dotclear\Core\Backend\Menu', '2.27', 'https://dotclear.watch/Billet/D%C3%A9placement-de-classes'], - ['dcPage', 'dcPage', 'Dotclear\Core\Backend\Page', '2.27', 'https://dotclear.watch/Billet/D%C3%A9placement-de-classes'], + ['dcPage::', 'dcPage', 'Dotclear\Core\Backend\Page', '2.27', 'https://dotclear.watch/Billet/D%C3%A9placement-de-classes'], ['dcPager', 'dcPager', 'Dotclear\Core\Backend\Listing\Pager', '2.27', 'https://dotclear.watch/Billet/D%C3%A9placement-de-classes'], ['dcThemeConfig', 'dcThemeConfig', 'Dotclear\Core\Backend\ThemeConfig', '2.27', 'https://dotclear.watch/Billet/D%C3%A9placement-de-classes'], ['dcPublic', 'dcPublic', 'Dotclear\Core\Frontend\Utility', '2.27', 'https://dotclear.watch/Billet/D%C3%A9placement-de-classes'], ['dcNsProcess', 'dcNsProcess', 'Dotclear\Core\Process', '2.27', 'https://dotclear.watch/Billet/D%C3%A9placement-de-classes'], ['dcUpgrade', 'dcUpgrade', 'Dotclear\Core\Upgrade\Upgrade', '2.27', 'https://dotclear.watch/Billet/D%C3%A9placement-de-classes'], - ['dcCore::app\(\)->auth === null', 'is_null(dcCore::app()->auth)', 'isset(dcCore::app()->auth)', '2.27'], - ['is_null\(dcCore::app\(\)->auth\)', 'is_null(dcCore::app()->auth)', 'isset(dcCore::app()->auth)', '2.27'], + ['dcCore::app\(\)->auth === null', 'is_null(dcCore::app()->auth)', 'isset(dcCore::app()->auth)', '2.27', 'https://dotclear.watch/Billet/Les-d%C3%A9pr%C3%A9ci%C3%A9s'], + ['is_null\(dcCore::app\(\)->auth\)', 'is_null(dcCore::app()->auth)', 'isset(dcCore::app()->auth)', '2.27', 'https://dotclear.watch/Billet/Les-d%C3%A9pr%C3%A9ci%C3%A9s'], ], ];