I am trying to test the new cli plugin, and copied the example from
https://www.dokuwiki.org/devel:cli_plugins. When executing bin/plugin.php, I get the following error:
PHP Fatal error: Declaration of cli_plugin_example::setup(Options $options) must be compatible with splitbrain\phpcli\CLI::setup(splitbrain\phpcli\Options $options) in /home/www/html/devel/lib/plugins/example/cli.php on line 2
Line 2 is not
CLI::setup but the class definition statement :
class cli_plugin_example extends DokuWiki_CLI_Plugin
Anyone use this plugin yet?