change use order for codesniffer happyness
[dokuwiki.git] / inc / legacy.php
blobcc2342dd4c299a80fab70ff6dc0fcd3d0dc039ca
1 <?php
3 /**
4 * We map legacy class names to the new namespaced versions here
6 * These are names that we will probably never change because they have been part of DokuWiki's
7 * public interface for years and renaming would break just too many plugins
9 * Note: when adding to this file, please also add appropriate actions to _test/rector.php
12 class_alias('\dokuwiki\Extension\EventHandler', 'Doku_Event_Handler');
13 class_alias('\dokuwiki\Extension\Event', 'Doku_Event');
15 class_alias('\dokuwiki\Extension\ActionPlugin', 'DokuWiki_Action_Plugin');
16 class_alias('\dokuwiki\Extension\AdminPlugin', 'DokuWiki_Admin_Plugin');
17 class_alias('\dokuwiki\Extension\AuthPlugin', 'DokuWiki_Auth_Plugin');
18 class_alias('\dokuwiki\Extension\CLIPlugin', 'DokuWiki_CLI_Plugin');
19 class_alias('\dokuwiki\Extension\Plugin', 'DokuWiki_Plugin');
20 class_alias('\dokuwiki\Extension\RemotePlugin', 'DokuWiki_Remote_Plugin');
21 class_alias('\dokuwiki\Extension\SyntaxPlugin', 'DokuWiki_Syntax_Plugin');
23 class_alias('\dokuwiki\Feed\FeedParser', 'FeedParser');