diff options
author | Andreas Gohr <andi@splitbrain.org> | 2019-05-19 11:09:54 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2019-05-19 11:09:54 +0200 |
commit | 820934dc5dde4982117063a0296c135334fdc7a3 (patch) | |
tree | 2800e0debfee31704b5e52c33e3d56e05270bf61 /_test/mock | |
parent | b8c09b6854c4210a9c9fef089a48f5320420d469 (diff) | |
parent | c47e666521a91dba7c802073af36cad88c8d9244 (diff) | |
download | dokuwiki-820934dc5dde4982117063a0296c135334fdc7a3.tar.gz dokuwiki-820934dc5dde4982117063a0296c135334fdc7a3.zip |
Merge branch 'psr2-pluginredux' into psr2
* psr2-pluginredux:
Minor optimizations in PluginController
Snake to Camel case fixes inn PluginController
Fix snake->camel case, doc blocks
minor code simplification
snake to camel case fixes in EventHandler
Move list of plugin types to plugin controller constant
Avoid accessing the evet system before it's intialized
Avoid processing events before the Event System is intiialized
isEnabled instead of isDisabled
removed get_directory() method from PluginController
fix type hints
moved plugin controller to Extension namespace
removed deleted file from autoloader
deprecated trigger_event() in favor of a static method on Event
First go at moving the plugin classes into their own namespace
Diffstat (limited to '_test/mock')
-rw-r--r-- | _test/mock/AuthPlugin.php | 10 | ||||
-rw-r--r-- | _test/mock/DokuWiki_Auth_Plugin.php | 10 |
2 files changed, 10 insertions, 10 deletions
diff --git a/_test/mock/AuthPlugin.php b/_test/mock/AuthPlugin.php new file mode 100644 index 000000000..53edb2fe1 --- /dev/null +++ b/_test/mock/AuthPlugin.php @@ -0,0 +1,10 @@ +<?php + +namespace dokuwiki\test\mock; + +/** + * Class dokuwiki\Plugin\DokuWiki_Auth_Plugin + */ +class AuthPlugin extends \dokuwiki\Extension\AuthPlugin { + +} diff --git a/_test/mock/DokuWiki_Auth_Plugin.php b/_test/mock/DokuWiki_Auth_Plugin.php deleted file mode 100644 index 9014b020f..000000000 --- a/_test/mock/DokuWiki_Auth_Plugin.php +++ /dev/null @@ -1,10 +0,0 @@ -<?php - -namespace dokuwiki\test\mock; - -/** - * Class DokuWiki_Auth_Plugin - */ -class DokuWiki_Auth_Plugin extends \DokuWiki_Auth_Plugin { - -} |