aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2020-12-08 09:39:45 +0100
committerGitHub <noreply@github.com>2020-12-08 09:39:45 +0100
commitfda6ffc866cf8c5d3579fe95d1731ab747894002 (patch)
tree7f24f9a2bc0972d8396cca2bdc7db8d25dc1ed3e /build
parent7e784afa6576db2876a86df1e9ec40bc1d1f7596 (diff)
parenta9ee98e0705946e582ae937f287ef4f00205e76e (diff)
downloadnextcloud-server-fda6ffc866cf8c5d3579fe95d1731ab747894002.tar.gz
nextcloud-server-fda6ffc866cf8c5d3579fe95d1731ab747894002.zip
Merge pull request #23780 from nextcloud/enh/ci/php8
PHP8 CI
Diffstat (limited to 'build')
-rw-r--r--build/psalm-baseline.xml14
1 files changed, 12 insertions, 2 deletions
diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml
index 379ea1a1c97..9539709e420 100644
--- a/build/psalm-baseline.xml
+++ b/build/psalm-baseline.xml
@@ -722,7 +722,6 @@
<code>null</code>
<code>null</code>
<code>null</code>
- <code>null</code>
</NullableReturnStatement>
<UndefinedClass occurrences="2">
<code>\OCA\Circles\Api\v1\Circles</code>
@@ -1034,6 +1033,10 @@
<RedundantCondition occurrences="1">
<code>$userSession</code>
</RedundantCondition>
+ <TypeDoesNotContainType occurrences="2">
+ <code>get_class($res) === 'OpenSSLAsymmetricKey'</code>
+ <code>is_object($res)</code>
+ </TypeDoesNotContainType>
</file>
<file src="apps/encryption/lib/Crypto/EncryptAll.php">
<InvalidArgument occurrences="1">
@@ -2816,7 +2819,7 @@
<file src="core/routes.php">
<InvalidScope occurrences="2">
<code>$this</code>
- <code>$this</code>
+ <code>$this-&gt;create('core_ajax_update', '/core/ajax/update.php')</code>
</InvalidScope>
</file>
<file src="core/templates/layout.public.php">
@@ -5463,6 +5466,9 @@
<code>$data[floor($p)]</code>
<code>$data[floor($p)]</code>
</InvalidArrayOffset>
+ <InvalidPropertyAssignmentValue occurrences="1">
+ <code>$resource</code>
+ </InvalidPropertyAssignmentValue>
<InvalidReturnType occurrences="1">
<code>bool</code>
</InvalidReturnType>
@@ -5491,6 +5497,10 @@
<RedundantCondition occurrences="1">
<code>$isWritable</code>
</RedundantCondition>
+ <TypeDoesNotContainType occurrences="2">
+ <code>get_class($resource) === 'GdImage'</code>
+ <code>get_class($this-&gt;resource) === 'GdImage'</code>
+ </TypeDoesNotContainType>
</file>
<file src="lib/private/legacy/OC_JSON.php">
<InvalidScalarArgument occurrences="1">