Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stable23] Allow additional Sabre plugins in publicwebdav.php #35751

Closed
wants to merge 2 commits into from

Conversation

backportbot-nextcloud[bot]
Copy link

@backportbot-nextcloud backportbot-nextcloud bot commented Dec 13, 2022

  • ⚠️ This backport had conflicts and is incomplete

backport of #35621

Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
@@ -108,6 +108,11 @@

$server->addPlugin($linkCheckPlugin);
$server->addPlugin($filesDropPlugin);
// allow setup of additional plugins
$event = new SabrePublicPluginEvent($server);

Check failure

Code scanning / Psalm

UndefinedClass

Class, interface or enum named SabrePublicPluginEvent does not exist
// allow setup of additional plugins
$event = new SabrePublicPluginEvent($server);
/** @var IEventDispatcher $eventDispatcher */
$eventDispatcher = \OC::$server->get(IEventDispatcher::class);

Check failure

Code scanning / Psalm

UndefinedDocblockClass

Docblock-defined class, interface or enum named IEventDispatcher does not exist
// allow setup of additional plugins
$event = new SabrePublicPluginEvent($server);
/** @var IEventDispatcher $eventDispatcher */
$eventDispatcher = \OC::$server->get(IEventDispatcher::class);

Check failure

Code scanning / Psalm

UndefinedClass

Class, interface or enum named IEventDispatcher does not exist
$event = new SabrePublicPluginEvent($server);
/** @var IEventDispatcher $eventDispatcher */
$eventDispatcher = \OC::$server->get(IEventDispatcher::class);
$eventDispatcher->dispatchTyped($event);

Check failure

Code scanning / Psalm

UndefinedDocblockClass

Docblock-defined class, interface or enum named IEventDispatcher does not exist
@julien-nc julien-nc closed this Dec 15, 2022
@skjnldsv skjnldsv deleted the backport/35621/stable23 branch March 14, 2024 07:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant