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
path: root/build
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2021-03-17 14:01:19 +0300
committerVincent Petry <vincent@nextcloud.com>2021-03-17 14:04:08 +0300
commit67e0b194b62fcefdc1f71e85539edd093a439f8a (patch)
tree348c120b3527ed992cb5bf7c034dc6ae9031fdba /build
parentf80f7a33e8c5e2dcb9678cb1d6b650e797af871a (diff)
Update and fix baseline
Backported some bits of stable21 to make Psalm happy. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'build')
-rw-r--r--build/psalm-baseline.xml12
1 files changed, 9 insertions, 3 deletions
diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml
index 496ab06f4d8..00a92a932dc 100644
--- a/build/psalm-baseline.xml
+++ b/build/psalm-baseline.xml
@@ -1130,7 +1130,7 @@
<FalsableReturnStatement occurrences="1">
<code>$result</code>
</FalsableReturnStatement>
- <ImplementedParamTypeMismatch occurrences="3">
+ <ImplementedParamTypeMismatch occurrences="2">
<code>$position</code>
<code>$position</code>
<code>$position</code>
@@ -2418,10 +2418,11 @@
<InvalidReturnType occurrences="1">
<code>string[]</code>
</InvalidReturnType>
- <InvalidScalarArgument occurrences="3">
+ <InvalidScalarArgument occurrences="4">
+ <code>$e-&gt;getCode()</code>
<code>$key</code>
<code>$key</code>
- <code>$e-&gt;getCode()</code>
+ <code>[$attr =&gt; $result['values']]</code>
</InvalidScalarArgument>
<NullArgument occurrences="1">
<code>$cookie</code>
@@ -6014,6 +6015,11 @@
<code>'DateTimeFormatter'</code>
</UndefinedClass>
</file>
+ <file src="lib/private/Files/Stream/Encryption.php">
+ <UndefinedInterfaceMethod occurrences="1">
+ <code>$cacheEntry</code>
+ </UndefinedInterfaceMethod>
+ </file>
<file src="lib/public/AppFramework/ApiController.php">
<NoInterfaceProperties occurrences="1">
<code>$this-&gt;request-&gt;server</code>