aboutsummaryrefslogtreecommitdiffstats
path: root/build/psalm-baseline.xml
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@protonmail.com>2022-10-22 12:49:11 +0200
committerJohn Molakvoæ <skjnldsv@protonmail.com>2022-10-28 12:23:02 +0200
commita8e8a89ade2e5fd1aed16905335fbb765fbdde67 (patch)
treec07a6170a0d038cc33382d8cefa0a459f6f17636 /build/psalm-baseline.xml
parent3323b1ac0d92f8beaf96763fb7ef67d1ed05b6ec (diff)
downloadnextcloud-server-a8e8a89ade2e5fd1aed16905335fbb765fbdde67.tar.gz
nextcloud-server-a8e8a89ade2e5fd1aed16905335fbb765fbdde67.zip
Only check unsupported browsers on user rendering
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'build/psalm-baseline.xml')
-rw-r--r--build/psalm-baseline.xml35
1 files changed, 31 insertions, 4 deletions
diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml
index 18eb5af458a..b1a38b6730a 100644
--- a/build/psalm-baseline.xml
+++ b/build/psalm-baseline.xml
@@ -823,12 +823,23 @@
</InvalidOperand>
</file>
<file src="apps/encryption/lib/Crypto/Crypt.php">
+ <InvalidArgument occurrences="2">
+ <code>$res</code>
+ <code>$res</code>
+ </InvalidArgument>
+ <InvalidReturnStatement occurrences="1">
+ <code>openssl_pkey_new($config)</code>
+ </InvalidReturnStatement>
+ <InvalidReturnType occurrences="1">
+ <code>resource</code>
+ </InvalidReturnType>
<RedundantCondition occurrences="2">
<code>$userSession</code>
<code>$userSession</code>
</RedundantCondition>
<TypeDoesNotContainType occurrences="2">
<code>get_class($res) === 'OpenSSLAsymmetricKey'</code>
+ <code>is_resource($res)</code>
</TypeDoesNotContainType>
</file>
<file src="apps/encryption/lib/Crypto/EncryptAll.php">
@@ -1066,6 +1077,12 @@
<code>addServiceListener</code>
</InvalidArgument>
</file>
+ <file src="apps/files_external/lib/Lib/Storage/FtpConnection.php">
+ <UndefinedConstant occurrences="2">
+ <code>FTP_BINARY</code>
+ <code>FTP_BINARY</code>
+ </UndefinedConstant>
+ </file>
<file src="apps/files_external/lib/Lib/Storage/SFTP.php">
<InternalMethod occurrences="1">
<code>put</code>
@@ -1097,10 +1114,12 @@
</TooManyArguments>
</file>
<file src="apps/files_external/lib/Service/BackendService.php">
+ <InvalidArgument occurrences="1">
+ <code>'OCA\\Files_External::loadAdditionalBackends'</code>
+ </InvalidArgument>
<TooManyArguments occurrences="1">
<code>dispatch</code>
</TooManyArguments>
- <InvalidArgument occurrences="1"/>
</file>
<file src="apps/files_sharing/lib/AppInfo/Application.php">
<InvalidArgument occurrences="6">
@@ -1130,7 +1149,6 @@
</InvalidArgument>
<InvalidScalarArgument occurrences="1">
<code>$maxUploadFilesize</code>
- <code>$maxUploadFilesize</code>
</InvalidScalarArgument>
<NullArgument occurrences="1">
<code>null</code>
@@ -1457,7 +1475,6 @@
<file src="apps/user_ldap/lib/Group_LDAP.php">
<InvalidScalarArgument occurrences="1">
<code>$groupID</code>
- <code>$groupID</code>
</InvalidScalarArgument>
</file>
<file src="apps/user_ldap/lib/Group_Proxy.php">
@@ -1651,7 +1668,8 @@
</UndefinedInterfaceMethod>
</file>
<file src="core/Application.php">
- <InvalidArgument occurrences="9">
+ <InvalidArgument occurrences="10">
+ <code>addServiceListener</code>
<code>addServiceListener</code>
<code>addServiceListener</code>
<code>addServiceListener</code>
@@ -1749,6 +1767,9 @@
<InvalidScalarArgument occurrences="1">
<code>$levelNum</code>
</InvalidScalarArgument>
+ <TypeDoesNotContainType occurrences="1">
+ <code>$identifier === false</code>
+ </TypeDoesNotContainType>
</file>
<file src="core/Command/Maintenance/DataFingerprint.php">
<InvalidScalarArgument occurrences="1">
@@ -3741,6 +3762,12 @@
<code>\Test\Util\User\Dummy</code>
</UndefinedClass>
</file>
+ <file src="lib/private/legacy/OC_Util.php">
+ <InvalidOperand occurrences="2">
+ <code>$version</code>
+ <code>$version</code>
+ </InvalidOperand>
+ </file>
<file src="lib/public/AppFramework/ApiController.php">
<NoInterfaceProperties occurrences="1">
<code>$this-&gt;request-&gt;server</code>