diff options
author | Carl Schwan <carl@carlschwan.eu> | 2022-10-17 00:59:38 +0200 |
---|---|---|
committer | Carl Schwan <carl@carlschwan.eu> | 2022-10-17 11:53:09 +0200 |
commit | 3790ff86f150ca25262531fd07647839e41c07c6 (patch) | |
tree | 7bec081ddf10016d7a9584ea03f9428b3cc2bbf9 /build/psalm-baseline.xml | |
parent | 5b3509dc05d2ef05c4f1962295181d962c994fad (diff) | |
download | nextcloud-server-3790ff86f150ca25262531fd07647839e41c07c6.tar.gz nextcloud-server-3790ff86f150ca25262531fd07647839e41c07c6.zip |
Update psalm baseline following previous fixes
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'build/psalm-baseline.xml')
-rw-r--r-- | build/psalm-baseline.xml | 180 |
1 files changed, 0 insertions, 180 deletions
diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml index 3b4d30cf9ab..1b0dda5af75 100644 --- a/build/psalm-baseline.xml +++ b/build/psalm-baseline.xml @@ -837,7 +837,6 @@ </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"> @@ -1053,31 +1052,6 @@ <code>$this</code> </InvalidScope> </file> - <file src="apps/files_external/lib/Command/Delete.php"> - <NullArgument occurrences="1"> - <code>null</code> - </NullArgument> - </file> - <file src="apps/files_external/lib/Command/ListCommand.php"> - <InvalidScalarArgument occurrences="1"> - <code>$userId</code> - </InvalidScalarArgument> - </file> - <file src="apps/files_external/lib/Command/Notify.php"> - <InvalidArgument occurrences="1"> - <code>$storage</code> - </InvalidArgument> - <InvalidReturnStatement occurrences="1"/> - <InvalidReturnType occurrences="1"> - <code>int</code> - </InvalidReturnType> - <InvalidScalarArgument occurrences="1"> - <code>\OC_Util::normalizeUnicode($parent)</code> - </InvalidScalarArgument> - <UndefinedInterfaceMethod occurrences="1"> - <code>isConnected</code> - </UndefinedInterfaceMethod> - </file> <file src="apps/files_external/lib/Command/Verify.php"> <InvalidScalarArgument occurrences="2"> <code>$e->getCode()</code> @@ -1089,14 +1063,6 @@ <code>new $objectClass($objectStore)</code> </UndefinedClass> </file> - <file src="apps/files_external/lib/Controller/StoragesController.php"> - <InvalidScalarArgument occurrences="4"> - <code>$e->getCode()</code> - <code>$status</code> - <code>$this->service->getVisibilityType()</code> - <code>$this->service->getVisibilityType()</code> - </InvalidScalarArgument> - </file> <file src="apps/files_external/lib/Controller/UserGlobalStoragesController.php"> <UndefinedMethod occurrences="1"> <code>getUniqueStorages</code> @@ -1108,102 +1074,10 @@ <code>addServiceListener</code> </InvalidArgument> </file> - <file src="apps/files_external/lib/Lib/Backend/Backend.php"> - <InvalidReturnType occurrences="1"> - <code>self</code> - </InvalidReturnType> - </file> - <file src="apps/files_external/lib/Lib/FrontendDefinitionTrait.php"> - <UndefinedClass occurrences="2"> - <code>FrontendDefinitionTrait</code> - <code>FrontendDefinitionTrait</code> - </UndefinedClass> - </file> - <file src="apps/files_external/lib/Lib/IdentifierTrait.php"> - <UndefinedDocblockClass occurrences="2"> - <code>$this->deprecateTo</code> - <code>IdentifierTrait</code> - </UndefinedDocblockClass> - </file> - <file src="apps/files_external/lib/Lib/LegacyDependencyCheckPolyfill.php"> - <TooManyArguments occurrences="1"> - <code>new MissingDependency($module, $this)</code> - </TooManyArguments> - </file> - <file src="apps/files_external/lib/Lib/PriorityTrait.php"> - <UndefinedClass occurrences="2"> - <code>PriorityTrait</code> - <code>PriorityTrait</code> - </UndefinedClass> - </file> - <file src="apps/files_external/lib/Lib/Storage/AmazonS3.php"> - <UndefinedMagicMethod occurrences="1"> - <code>clearBucket</code> - </UndefinedMagicMethod> - </file> <file src="apps/files_external/lib/Lib/Storage/SFTP.php"> <InternalMethod occurrences="1"> <code>put</code> </InternalMethod> - <ParamNameMismatch occurrences="2"> - <code>$source</code> - <code>$target</code> - </ParamNameMismatch> - </file> - <file src="apps/files_external/lib/Lib/Storage/SFTPReadStream.php"> - <InvalidArgument occurrences="2"> - <code>$this->handle</code> - <code>$this->handle</code> - </InvalidArgument> - <InvalidNullableReturnType occurrences="1"> - <code>stream_close</code> - </InvalidNullableReturnType> - <InvalidPropertyAssignmentValue occurrences="1"> - <code>substr($response, 4)</code> - </InvalidPropertyAssignmentValue> - <InvalidReturnStatement occurrences="1"> - <code>$context</code> - </InvalidReturnStatement> - <InvalidReturnType occurrences="1"> - <code>array</code> - </InvalidReturnType> - </file> - <file src="apps/files_external/lib/Lib/Storage/SFTPWriteStream.php"> - <InvalidArgument occurrences="2"> - <code>$this->handle</code> - <code>$this->handle</code> - </InvalidArgument> - <InvalidNullableReturnType occurrences="1"> - <code>stream_close</code> - </InvalidNullableReturnType> - <InvalidPropertyAssignmentValue occurrences="1"> - <code>substr($response, 4)</code> - </InvalidPropertyAssignmentValue> - <InvalidReturnStatement occurrences="1"> - <code>$context</code> - </InvalidReturnStatement> - <InvalidReturnType occurrences="1"> - <code>array</code> - </InvalidReturnType> - </file> - <file src="apps/files_external/lib/Lib/Storage/SMB.php"> - <InvalidScalarArgument occurrences="7"> - <code>$e->getCode()</code> - <code>$e->getCode()</code> - <code>$e->getCode()</code> - <code>$e->getCode()</code> - <code>$e->getCode()</code> - <code>$e->getCode()</code> - <code>$e->getCode()</code> - </InvalidScalarArgument> - <ParamNameMismatch occurrences="2"> - <code>$source</code> - <code>$target</code> - </ParamNameMismatch> - <TooManyArguments occurrences="2"> - <code>rename</code> - <code>rename</code> - </TooManyArguments> </file> <file src="apps/files_external/lib/Lib/Storage/Swift.php"> <InvalidArgument occurrences="1"> @@ -1226,64 +1100,10 @@ <code>setIV</code> <code>setIV</code> </InternalMethod> - <InvalidNullableReturnType occurrences="1"> - <code>string</code> - </InvalidNullableReturnType> - <NullableReturnStatement occurrences="1"> - <code>$message</code> - </NullableReturnStatement> <TooManyArguments occurrences="1"> <code>test</code> </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> - </file> - <file src="apps/files_external/lib/Service/DBConfigService.php"> - <NullableReturnStatement occurrences="1"> - <code>null</code> - </NullableReturnStatement> - </file> - <file src="apps/files_external/lib/Service/GlobalStoragesService.php"> - <InvalidReturnStatement occurrences="1"> - <code>BackendService::VISIBILITY_ADMIN</code> - </InvalidReturnStatement> - <InvalidReturnType occurrences="1"> - <code>string</code> - </InvalidReturnType> - </file> - <file src="apps/files_external/lib/Service/LegacyStoragesService.php"> - <InvalidScalarArgument occurrences="1"> - <code>$configId</code> - </InvalidScalarArgument> - </file> - <file src="apps/files_external/lib/Service/StoragesService.php"> - <InvalidScalarArgument occurrences="2"> - <code>$this->getVisibilityType()</code> - <code>$this->getVisibilityType()</code> - </InvalidScalarArgument> - <UndefinedInterfaceMethod occurrences="1"> - <code>getStorageCache</code> - </UndefinedInterfaceMethod> - </file> - <file src="apps/files_external/lib/Service/UserStoragesService.php"> - <InvalidReturnStatement occurrences="1"> - <code>BackendService::VISIBILITY_PERSONAL</code> - </InvalidReturnStatement> - <InvalidReturnType occurrences="1"> - <code>string</code> - </InvalidReturnType> - </file> - <file src="apps/files_external/templates/settings.php"> - <UndefinedVariable occurrences="1"> - <code>$_</code> - </UndefinedVariable> - </file> <file src="apps/files_sharing/lib/AppInfo/Application.php"> <InvalidArgument occurrences="6"> <code>addServiceListener</code> |