diff options
author | Côme Chilliet <91878298+come-nc@users.noreply.github.com> | 2023-01-20 11:43:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-20 11:43:24 +0100 |
commit | 37bb33c5799b834dfef3fb73936bd0e5a4773fb8 (patch) | |
tree | 0c7dd249075d8bb435589481b1e671e0a3fdbc54 /build | |
parent | fce87f8ddb2d523a503051362a66b7453bc2329b (diff) | |
parent | f32d18d4ea371dbf2ec04c254f91abfd0fa3f4b9 (diff) | |
download | nextcloud-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.php | 2 | ||||
-rw-r--r-- | build/psalm-baseline.xml | 4 |
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"/> |