add some deprecated
This commit is contained in:
parent
70879fed32
commit
58bfee6d60
2 changed files with 39 additions and 1 deletions
35
src/Task/dcdeprecated/dc2.26.php
Normal file
35
src/Task/dcdeprecated/dc2.26.php
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* @brief improve, a plugin for Dotclear 2
|
||||||
|
*
|
||||||
|
* @package Dotclear
|
||||||
|
* @subpackage Plugin
|
||||||
|
*
|
||||||
|
* @author Jean-Christian Denis and contributors
|
||||||
|
*
|
||||||
|
* @copyright Jean-Christian Denis
|
||||||
|
* @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
*/
|
||||||
|
return [
|
||||||
|
'php' => [
|
||||||
|
['Clearbricks::lib\(', 'Clearbricks::lib()', __('namespaces'), '2.27', 'https://dotclear.watch/Billet/Release-2.26'],
|
||||||
|
['Clearbricks::add\(', 'Clearbricks::add()', __('namespaces'), '2.27', 'https://dotclear.watch/Billet/Release-2.26'],
|
||||||
|
['toExtStatic\(', 'dcRecord::toExtStatic()', 'Dotclear\Database\MetaRecord::toStatic()', '2.27', 'https://dotclear.watch/Billet/Release-2.26'],
|
||||||
|
//['(themes|plugins)->setModules\(', 'adminModulesList::setModules()', 'ModulesList::setDefine()', '2.27', 'https://dotclear.watch/Billet/Release-2.26'],
|
||||||
|
//['(themes|plugins)->getModules\(', 'adminModulesList::getModules()', 'ModulesList::getDefines()', '2.27', 'https://dotclear.watch/Billet/Release-2.26'],
|
||||||
|
['->sanitizeModule\(', 'adminModulesList::sanitizeModule()', 'ModulesList::fillSanitizeModule()', '2.27', 'https://dotclear.watch/Billet/Release-2.26'],
|
||||||
|
['->fillSanitizeModule\(', 'adminModulesList::fillSanitizeModule()', 'ModulesList::fillSanitizeModule()', '2.27', 'https://dotclear.watch/Billet/Release-2.26'],
|
||||||
|
['->isDistributedModule\(', 'adminModulesList::isDistributedModule()', 'ModulesList::getDefine($id)->distributed', '2.27', 'https://dotclear.watch/Billet/Release-2.26'],
|
||||||
|
['(themes|plugins)->getModules\(', 'dcModules::getModules()', 'dcModules::getDefines()', '2.27', 'https://dotclear.watch/Billet/Release-2.26'],
|
||||||
|
['(themes|plugins)->getAnyModules\(', 'dcModules::getAnyModules()', 'dcModules::getDefines()', '2.27', 'https://dotclear.watch/Billet/Release-2.26'],
|
||||||
|
['(themes|plugins)->getDisabledModules\(', 'dcModules::getDisabledModules()', "dcModules::getDefines(['state' => '!' . dcModuleDefine::STATE_ENABLED])", '2.27', 'https://dotclear.watch/Billet/Release-2.26'],
|
||||||
|
['(themes|plugins)->getHardDisabledModules\(', 'dcModules::getHardDisabledModules()', "dcModules::getDefines(['state' => dcModuleDefine::STATE_HARD_DISABLED])", '2.27', 'https://dotclear.watch/Billet/Release-2.26'],
|
||||||
|
['(themes|plugins)->getSoftDisabledModules\(', 'dcModules::getSoftDisabledModules()', "dcModules::getDefines(['state' => dcModuleDefine::STATE_SOFT_DISABLED])", '2.27', 'https://dotclear.watch/Billet/Release-2.26'],
|
||||||
|
['(themes|plugins)->moduleRoot\(', 'dcModules::moduleRoot()', "dcModules::getDefine(\$id, ['state' => dcModuleDefine::STATE_ENABLED])->root", '2.27', 'https://dotclear.watch/Billet/Release-2.26'],
|
||||||
|
['(themes|plugins)->loadNsFiles\(', 'dcModules::loadNsFiles()', __('nothing'), '2.27', 'https://dotclear.watch/Billet/Release-2.26'],
|
||||||
|
['store->getModules\(', 'dcStoreParser::getModules()', 'dcStoreParser::getDefines()', '2.27', 'https://dotclear.watch/Billet/Release-2.26'],
|
||||||
|
['store->get\(', 'dcStoreParser::get()', 'dcStoreParser::getDefine()', '2.27', 'https://dotclear.watch/Billet/Release-2.26'],
|
||||||
|
['store->search\(', 'dcStoreParser::search()', 'dcStoreParser::searchDefines()', '2.27', 'https://dotclear.watch/Billet/Release-2.26'],
|
||||||
|
['dcUtils::removeDiacritics\(', 'dcUtils::removeDiacritics()', 'Text::removeDiacritics()', '2.27', 'https://dotclear.watch/Billet/Release-2.26'],
|
||||||
|
],
|
||||||
|
];
|
|
@ -12,7 +12,7 @@
|
||||||
*/
|
*/
|
||||||
return [
|
return [
|
||||||
'php' => [
|
'php' => [
|
||||||
['dcCore::autoload\(\)', 'dcCore::autoload() ', 'Autoloader::Me()', '2.27', 'https://dotclear.watch/Billet/Les-d%C3%A9pr%C3%A9ci%C3%A9s'],
|
['dcCore::autoload\(\)', 'dcCore::autoload()', 'Autoloader::Me()', '2.27', 'https://dotclear.watch/Billet/Les-d%C3%A9pr%C3%A9ci%C3%A9s'],
|
||||||
['App::autoload\(\)', 'dcCore::autoload()', 'Autoloader::Me()', '2.27', 'https://dotclear.watch/Billet/Les-d%C3%A9pr%C3%A9ci%C3%A9s'],
|
['App::autoload\(\)', 'dcCore::autoload()', 'Autoloader::Me()', '2.27', 'https://dotclear.watch/Billet/Les-d%C3%A9pr%C3%A9ci%C3%A9s'],
|
||||||
['__error\(\)', '__error()', 'Autoloader::Me()', '2.27', 'https://dotclear.watch/Billet/La-classe-d-erreur'],
|
['__error\(\)', '__error()', 'Autoloader::Me()', '2.27', 'https://dotclear.watch/Billet/La-classe-d-erreur'],
|
||||||
//todo: logout
|
//todo: logout
|
||||||
|
@ -75,5 +75,8 @@ return [
|
||||||
['dcPublic', 'dcPublic', 'Dotclear\Core\Frontend\Utility', '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'],
|
['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'],
|
['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'],
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue