Commit Graph

15 Commits

Author SHA1 Message Date
Michael Große 6225b270e0
Extract dokuwiki\Search\Indexer class
Not sure why Doku_Indexer caused phpcs to complain about the class name
not being in PascalCase, but Doku_Handler didn't. 🤷

The namespace and new class name was selected to be compatible with the
upcoming changes in #2943. This should hpopefully reduce the overall
hassle of touching the same code base.
2020-01-06 19:59:09 +01:00
Andreas Gohr 820934dc5d 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
2019-05-19 11:09:54 +02:00
Michael Große 451969ab75
🚚 Move Subscription class to deprecated.php
This class has been replaced by the classes in the
dokuwiki/Subscriptions namespace.
2019-04-22 21:36:07 +02:00
Andreas Gohr 3a7140a158 moved plugin controller to Extension namespace 2019-04-20 21:55:27 +02:00
Andreas Gohr cbb44eabe0 deprecated trigger_event() in favor of a static method on Event 2019-04-20 21:48:53 +02:00
Michael Große 5a8d6e48ea
Rename HTTPClient namespace to HTTP
This should make namespace a bit more flexible in scope and allow us to
move more functionality there later.
2019-03-26 22:05:09 +01:00
Michael Große 60b9af73d5
Move deprecated HTTPClient classes to deprecated.php 2019-03-17 13:36:47 +01:00
Andreas Gohr c3cc6e05f5 PSR2 adjustments for the PassHash class
I opted for ignoring the camel case funtion check not because the public hash_*
methods are widely used but because I find this style actually cleaner
in this case where the method name is auto-built from the hash type
name.
2019-03-06 20:22:43 +01:00
Andreas Gohr ccc4c71ca8 adjusted the Input clases for PSR2
They are now in their own namespace.
2019-02-19 20:39:13 +01:00
Andreas Gohr d443762baf deprecated JSON class
JSON is natively supported since years. This makes
2145bd4c56 obsolete again.
2018-07-27 15:10:49 +02:00
Andreas Gohr b78f68bc57 some small fixes for PSR2 2018-06-15 11:52:27 +02:00
Andreas Gohr 0c3a570273 split changelog classes into their own namespace
The remaining functions in inc/changelog.php should be moved into a
utility class.
2018-06-15 11:45:58 +02:00
Andreas Gohr a6e1db4a9c fallback classes for plugins inheriting from old settings classes
This will still throw a signature mismatch warning on PHP7 but at least
it is no longer fatal.
2018-06-01 11:19:20 +02:00
Andreas Gohr 4cdb684284 started a dedicated file for deprecated stuff 2018-05-07 22:26:05 +02:00
Andreas Gohr dd87735d91 PSR-2 compatibility for the remote API libs 2018-05-07 22:21:39 +02:00