Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2022-02-14 22:57:30 +0300
committerCôme Chilliet (Rebase PR Action) <come-nc@users.noreply.github.com>2022-02-17 16:29:19 +0300
commit71a62b650bae5d829bab80cab05deb2a040195ae (patch)
tree2021a505a2c70fe4d9c48e7112cb143b0e3377ad
parentef67f0118c461270bebd6c4f36caf37c8a1d335f (diff)
Fix typo in DAV namespace registrationbackport/31178/stable22
See https://github.com/nextcloud/3rdparty/blob/b0afba6d6508a1c85332cf8c61e90ad91b289ebc/sabre/dav/lib/DAV/Xml/Service.php#L43 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
-rw-r--r--apps/dav/lib/Connector/Sabre/SharesPlugin.php2
-rw-r--r--build/psalm-baseline.xml6
2 files changed, 1 insertions, 7 deletions
diff --git a/apps/dav/lib/Connector/Sabre/SharesPlugin.php b/apps/dav/lib/Connector/Sabre/SharesPlugin.php
index 503d10aece3..d482aa4b510 100644
--- a/apps/dav/lib/Connector/Sabre/SharesPlugin.php
+++ b/apps/dav/lib/Connector/Sabre/SharesPlugin.php
@@ -98,7 +98,7 @@ class SharesPlugin extends \Sabre\DAV\ServerPlugin {
* @param \Sabre\DAV\Server $server
*/
public function initialize(\Sabre\DAV\Server $server) {
- $server->xml->namespacesMap[self::NS_OWNCLOUD] = 'oc';
+ $server->xml->namespaceMap[self::NS_OWNCLOUD] = 'oc';
$server->xml->elementMap[self::SHARETYPES_PROPERTYNAME] = ShareTypeList::class;
$server->protectedProperties[] = self::SHARETYPES_PROPERTYNAME;
$server->protectedProperties[] = self::SHAREES_PROPERTYNAME;
diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml
index 70401294b1d..0b816e7f1ea 100644
--- a/build/psalm-baseline.xml
+++ b/build/psalm-baseline.xml
@@ -758,12 +758,6 @@
<UndefinedFunction occurrences="1">
<code>\Sabre\Uri\split($sabreNode-&gt;getPath())</code>
</UndefinedFunction>
- <UndefinedPropertyAssignment occurrences="1">
- <code>$server-&gt;xml-&gt;namespacesMap</code>
- </UndefinedPropertyAssignment>
- <UndefinedPropertyFetch occurrences="1">
- <code>$server-&gt;xml-&gt;namespacesMap</code>
- </UndefinedPropertyFetch>
</file>
<file src="apps/dav/lib/Connector/Sabre/TagsPlugin.php">
<NullableReturnStatement occurrences="1">