summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorCôme Chilliet <91878298+come-nc@users.noreply.github.com>2023-01-20 11:43:24 +0100
committerGitHub <noreply@github.com>2023-01-20 11:43:24 +0100
commit37bb33c5799b834dfef3fb73936bd0e5a4773fb8 (patch)
tree0c7dd249075d8bb435589481b1e671e0a3fdbc54 /build
parentfce87f8ddb2d523a503051362a66b7453bc2329b (diff)
parentf32d18d4ea371dbf2ec04c254f91abfd0fa3f4b9 (diff)
downloadnextcloud-server-37bb33c5799b834dfef3fb73936bd0e5a4773fb8.tar.gz
nextcloud-server-37bb33c5799b834dfef3fb73936bd0e5a4773fb8.zip
Merge pull request #34997 from nextcloud/fix/drop-php-7.4
Drop PHP 7.4 on master
Diffstat (limited to 'build')
-rw-r--r--build/integration/features/bootstrap/Sharing.php2
-rw-r--r--build/psalm-baseline.xml4
2 files changed, 3 insertions, 3 deletions
diff --git a/build/integration/features/bootstrap/Sharing.php b/build/integration/features/bootstrap/Sharing.php
index aa9244d3c2a..2a6a509d65f 100644
--- a/build/integration/features/bootstrap/Sharing.php
+++ b/build/integration/features/bootstrap/Sharing.php
@@ -621,7 +621,7 @@ trait Sharing {
return;
}
- if (!array_key_exists($field, $returnedShare)) {
+ if (!property_exists($returnedShare, $field)) {
Assert::fail("$field was not found in response");
}
diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml
index cca5d29909c..5c8b4d7e67b 100644
--- a/build/psalm-baseline.xml
+++ b/build/psalm-baseline.xml
@@ -2007,7 +2007,7 @@
</RedundantCondition>
</file>
<file src="lib/private/Authentication/Token/PublicKeyToken.php">
- <UndefinedMethod occurrences="16">
+ <UndefinedMagicMethod occurrences="16">
<code>parent::getExpires()</code>
<code>parent::getLastCheck()</code>
<code>parent::getLoginName()</code>
@@ -2024,7 +2024,7 @@
<code>parent::setScope(json_encode($scope))</code>
<code>parent::setToken($token)</code>
<code>parent::setType(IToken::WIPE_TOKEN)</code>
- </UndefinedMethod>
+ </UndefinedMagicMethod>
</file>
<file src="lib/private/Authentication/TwoFactorAuth/Db/ProviderUserAssignmentDao.php">
<InvalidReturnStatement occurrences="1"/>