summaryrefslogtreecommitdiffstats
path: root/build/psalm-baseline.xml
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2021-07-28 15:28:21 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2021-07-28 15:28:21 +0200
commit191ec27b83e2ec2ea0b92b033dd67c8b27ca20ec (patch)
tree98e926e5fb202a76e4f1ca4c01ace3cdda2ea31d /build/psalm-baseline.xml
parentfb224dd02cdd367cb61ef59a1d2b1c1a0a2ae83c (diff)
downloadnextcloud-server-191ec27b83e2ec2ea0b92b033dd67c8b27ca20ec.tar.gz
nextcloud-server-191ec27b83e2ec2ea0b92b033dd67c8b27ca20ec.zip
Revert accidentally dropped lines from Psalm baselines
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'build/psalm-baseline.xml')
-rw-r--r--build/psalm-baseline.xml45
1 files changed, 42 insertions, 3 deletions
diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml
index 8819c551a8b..b7a6a8fa304 100644
--- a/build/psalm-baseline.xml
+++ b/build/psalm-baseline.xml
@@ -112,6 +112,9 @@
<InvalidScalarArgument occurrences="1">
<code>$chunkSize</code>
</InvalidScalarArgument>
+ <MissingFile occurrences="1">
+ <code>require '../../../../3rdparty/autoload.php'</code>
+ </MissingFile>
</file>
<file src="apps/dav/lib/AppInfo/Application.php">
<UndefinedFunction occurrences="1">
@@ -279,13 +282,15 @@
<code>$l10n-&gt;l('time', $dt, ['width' =&gt; 'short'])</code>
<code>$l10n-&gt;l('weekdayName', $dt, ['width' =&gt; 'abbreviated'])</code>
</FalsableReturnStatement>
- <InvalidReturnStatement occurrences="4">
+ <InvalidReturnStatement occurrences="5">
<code>$l10n-&gt;l('date', $dt, ['width' =&gt; 'medium'])</code>
<code>$l10n-&gt;l('datetime', $dt, ['width' =&gt; 'medium|short'])</code>
<code>$l10n-&gt;l('time', $dt, ['width' =&gt; 'short'])</code>
<code>$l10n-&gt;l('weekdayName', $dt, ['width' =&gt; 'abbreviated'])</code>
+ <code>[$organizerEMail =&gt; $name]</code>
</InvalidReturnStatement>
- <InvalidReturnType occurrences="4">
+ <InvalidReturnType occurrences="5">
+ <code>array|null</code>
<code>string</code>
<code>string</code>
<code>string</code>
@@ -357,6 +362,10 @@
<InvalidNullableReturnType occurrences="1">
<code>string</code>
</InvalidNullableReturnType>
+ <InvalidScalarArgument occurrences="2">
+ <code>[$recipient =&gt; $recipientName]</code>
+ <code>[$sender =&gt; $senderName]</code>
+ </InvalidScalarArgument>
<NullableReturnStatement occurrences="1">
<code>$lang-&gt;getValue()</code>
</NullableReturnStatement>
@@ -555,6 +564,11 @@
<code>\Sabre\Uri\split($principal)</code>
</UndefinedFunction>
</file>
+ <file src="apps/dav/lib/Connector/PublicAuth.php">
+ <InvalidScalarArgument occurrences="1">
+ <code>'DummyBasic realm="' . $this-&gt;realm . '"'</code>
+ </InvalidScalarArgument>
+ </file>
<file src="apps/dav/lib/Connector/Sabre/AnonymousOptionsPlugin.php">
<InvalidNullableReturnType occurrences="1">
<code>bool</code>
@@ -1104,7 +1118,7 @@
<InvalidReturnType occurrences="1">
<code>string</code>
</InvalidReturnType>
- <InvalidScalarArgument occurrences="5">
+ <InvalidScalarArgument occurrences="6">
<code>$id</code>
<code>$id</code>
<code>$id</code>
@@ -1371,6 +1385,10 @@
</ParamNameMismatch>
</file>
<file src="apps/files_external/lib/Lib/Storage/SFTPReadStream.php">
+ <FalsableReturnStatement occurrences="2">
+ <code>false</code>
+ <code>false</code>
+ </FalsableReturnStatement>
<InvalidArgument occurrences="2">
<code>$this-&gt;handle</code>
<code>$this-&gt;handle</code>
@@ -1389,6 +1407,11 @@
</InvalidReturnType>
</file>
<file src="apps/files_external/lib/Lib/Storage/SFTPWriteStream.php">
+ <FalsableReturnStatement occurrences="3">
+ <code>false</code>
+ <code>false</code>
+ <code>false</code>
+ </FalsableReturnStatement>
<InvalidArgument occurrences="2">
<code>$this-&gt;handle</code>
<code>$this-&gt;handle</code>
@@ -1407,6 +1430,9 @@
</InvalidReturnType>
</file>
<file src="apps/files_external/lib/Lib/Storage/SMB.php">
+ <FalsableReturnStatement occurrences="1">
+ <code>false</code>
+ </FalsableReturnStatement>
<InvalidArgument occurrences="1">
<code>$files</code>
</InvalidArgument>
@@ -4129,6 +4155,11 @@
</InvalidReturnType>
</file>
<file src="lib/private/Files/Stream/SeekableHttpStream.php">
+ <FalsableReturnStatement occurrences="3">
+ <code>false</code>
+ <code>false</code>
+ <code>false</code>
+ </FalsableReturnStatement>
<InvalidPropertyAssignmentValue occurrences="2">
<code>$this-&gt;current</code>
<code>$this-&gt;current</code>
@@ -4421,6 +4452,11 @@
<code>mixed</code>
</LessSpecificImplementedReturnType>
</file>
+ <file src="lib/private/Memcache/Factory.php">
+ <TypeDoesNotContainType occurrences="1">
+ <code>$lockingCacheClass &amp;&amp; class_exists($distributedCacheClass)</code>
+ </TypeDoesNotContainType>
+ </file>
<file src="lib/private/Memcache/Memcached.php">
<RedundantCondition occurrences="1">
<code>method_exists(self::$cache, 'deleteMulti')</code>
@@ -5236,6 +5272,9 @@
<code>array</code>
</InvalidReturnType>
</file>
+ <file src="lib/public/AppFramework/Http/Template/PublicTemplateResponse.php">
+ <InvalidScalarArgument occurrences="1"/>
+ </file>
<file src="lib/public/AppFramework/Http/ZipResponse.php">
<InvalidArrayAccess occurrences="5">
<code>$resource['internalName']</code>