]> git.mxchange.org Git - friendica.git/commit
Add tests for InstanceManager and remove Decorator hook logic (avoid complex Dice...
authorPhilipp <admin@philipp.info>
Sun, 16 Jul 2023 22:10:15 +0000 (00:10 +0200)
committerPhilipp <admin@philipp.info>
Sun, 16 Jul 2023 22:10:15 +0000 (00:10 +0200)
commit93af6f0564b28cd8cd30ec28dcced1d2e6e72881
tree7b03704fafef3b539ddce8a110aacff19ca67784
parent527622df4ace40cb52fb48f03fe16881f9e9962e
Add tests for InstanceManager and remove Decorator hook logic (avoid complex Dice logic)
15 files changed:
doc/AddonsStrategyDecorator.md [deleted file]
doc/StrategyHooks.md [new file with mode: 0644]
src/Core/Hooks/Capabilities/BehavioralHookType.php [new file with mode: 0644]
src/Core/Hooks/Capabilities/HookType.php [deleted file]
src/Core/Hooks/Capabilities/ICanCreateInstances.php
src/Core/Hooks/Capabilities/ICanRegisterInstances.php
src/Core/Hooks/Model/DiceInstanceManager.php
src/Core/Hooks/Util/HookFileManager.php
src/Core/Logger/Factory/Logger.php
static/hooks.config.php
tests/Util/Hooks/InstanceMocks/FakeInstance.php
tests/Util/Hooks/InstanceMocks/FakeInstanceDecorator.php
tests/src/Core/Addon/Model/AddonLoaderTest.php
tests/src/Core/Hooks/Model/InstanceManagerTest.php
tests/src/Core/Hooks/Util/HookFileManagerTest.php