diff options
author | nextcloud-command <nextcloud-command@users.noreply.github.com> | 2022-03-10 04:11:56 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-10 04:11:56 +0000 |
commit | feb9c20b23a9430cc8472cf1b91c5e189f7449af (patch) | |
tree | 7c9579e53a81337f47cdaa4fb315ea0ed77863bc /build | |
parent | 198b414d948f3cb48fd533390f4439be01664ff1 (diff) | |
download | nextcloud-server-feb9c20b23a9430cc8472cf1b91c5e189f7449af.tar.gz nextcloud-server-feb9c20b23a9430cc8472cf1b91c5e189f7449af.zip |
Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
Diffstat (limited to 'build')
-rw-r--r-- | build/psalm-baseline.xml | 65 |
1 files changed, 4 insertions, 61 deletions
diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml index 2425815546c..44a113f1238 100644 --- a/build/psalm-baseline.xml +++ b/build/psalm-baseline.xml @@ -2824,11 +2824,6 @@ <code>$jobList</code> </MoreSpecificImplementedParamType> </file> - <file src="lib/private/Cache/CappedMemoryCache.php"> - <InvalidReturnType occurrences="1"> - <code>set</code> - </InvalidReturnType> - </file> <file src="lib/private/Cache/File.php"> <LessSpecificImplementedReturnType occurrences="2"> <code>bool|mixed</code> @@ -3196,14 +3191,6 @@ <code>$searchQuery</code> </ParamNameMismatch> </file> - <file src="lib/private/Files/Config/CachedMountInfo.php"> - <InvalidNullableReturnType occurrences="1"> - <code>Node</code> - </InvalidNullableReturnType> - <NullableReturnStatement occurrences="1"> - <code>null</code> - </NullableReturnStatement> - </file> <file src="lib/private/Files/Config/MountProviderCollection.php"> <InvalidOperand occurrences="1"> <code>$user</code> @@ -3248,10 +3235,6 @@ <NullableReturnStatement occurrences="1"> <code>null</code> </NullableReturnStatement> - <RedundantCondition occurrences="2"> - <code>$userObject</code> - <code>$userObject</code> - </RedundantCondition> <TooManyArguments occurrences="1"> <code>addStorageWrapper</code> </TooManyArguments> @@ -3402,23 +3385,11 @@ <ImplementedReturnTypeMismatch occurrences="1"> <code>Node</code> </ImplementedReturnTypeMismatch> - <InvalidNullableReturnType occurrences="7"> - <code>\OC\Files\Mount\MountPoint</code> + <InvalidNullableReturnType occurrences="1"> <code>\OC\User\User</code> - <code>array</code> - <code>int</code> - <code>int</code> - <code>int</code> - <code>string</code> </InvalidNullableReturnType> - <NullableReturnStatement occurrences="7"> - <code>$this->mountManager->find($mountPoint)</code> + <NullableReturnStatement occurrences="1"> <code>$this->user</code> - <code>null</code> - <code>null</code> - <code>null</code> - <code>null</code> - <code>null</code> </NullableReturnStatement> <UndefinedMethod occurrences="1"> <code>remove</code> @@ -3748,36 +3719,15 @@ <code>int</code> </InvalidReturnType> </file> - <file src="lib/private/Files/Utils/Scanner.php"> - <InvalidReturnStatement occurrences="1"> - <code>$mounts</code> - </InvalidReturnStatement> - <InvalidReturnType occurrences="1"> - <code>\OC\Files\Mount\MountPoint[]</code> - </InvalidReturnType> - </file> <file src="lib/private/Files/View.php"> - <InvalidArgument occurrences="3"> - <code>$mount</code> - <code>$mount</code> - </InvalidArgument> - <InvalidNullableReturnType occurrences="2"> - <code>\OCP\Files\Mount\IMountPoint</code> + <InvalidNullableReturnType occurrences="1"> <code>string</code> </InvalidNullableReturnType> - <InvalidReturnStatement occurrences="1"> - <code>$results</code> - </InvalidReturnStatement> - <InvalidReturnType occurrences="1"> - <code>\OC\Files\Mount\MountPoint</code> - </InvalidReturnType> <InvalidScalarArgument occurrences="2"> <code>$fileId</code> <code>$mtime</code> </InvalidScalarArgument> - <NullableReturnStatement occurrences="6"> - <code>$mount</code> - <code>Filesystem::getMountManager()->find($this->getAbsolutePath($path))</code> + <NullableReturnStatement occurrences="4"> <code>null</code> <code>null</code> <code>null</code> @@ -4715,10 +4665,6 @@ </UndefinedClass> </file> <file src="lib/private/legacy/OC_Util.php"> - <InternalMethod occurrences="2"> - <code>\OC\Files\Filesystem::logWarningWhenAddingStorageWrapper($prevLogging)</code> - <code>\OC\Files\Filesystem::logWarningWhenAddingStorageWrapper(false)</code> - </InternalMethod> <InvalidReturnStatement occurrences="1"> <code>OC_Helper::computerFileSize($userQuota)</code> </InvalidReturnStatement> @@ -4733,9 +4679,6 @@ <code>is_bool($setting[1])</code> <code>is_int($expected)</code> </TypeDoesNotContainType> - <UndefinedInterfaceMethod occurrences="1"> - <code>clearCache</code> - </UndefinedInterfaceMethod> </file> <file src="lib/public/AppFramework/ApiController.php"> <NoInterfaceProperties occurrences="1"> |