diff options
author | Carl Schwan <carl@carlschwan.eu> | 2022-10-20 16:53:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-20 16:53:43 +0200 |
commit | 0f0f132959254432fd40e709dd558a45585e0803 (patch) | |
tree | b79baee2e5c32158a22657640af0d5bf5c77f502 /build | |
parent | 00c4c3d72332e54b588ccd8009c05cfe724b194a (diff) | |
parent | a5ea677370df4479cc309f4c359599590c24f278 (diff) | |
download | nextcloud-server-0f0f132959254432fd40e709dd558a45585e0803.tar.gz nextcloud-server-0f0f132959254432fd40e709dd558a45585e0803.zip |
Merge pull request #34624 from nextcloud/fix/files_external_psalm
Multiple fix for files external
Diffstat (limited to 'build')
-rw-r--r-- | build/psalm-baseline.xml | 183 |
1 files changed, 1 insertions, 182 deletions
diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml index e672dee4c0e..dad00a533e2 100644 --- a/build/psalm-baseline.xml +++ b/build/psalm-baseline.xml @@ -1044,31 +1044,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> @@ -1080,14 +1055,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> @@ -1099,102 +1066,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"> @@ -1217,63 +1092,15 @@ <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> + <InvalidArgument occurrences="1"/> </file> <file src="apps/files_sharing/lib/AppInfo/Application.php"> <InvalidArgument occurrences="6"> @@ -2824,10 +2651,6 @@ <InvalidScalarArgument occurrences="1"> <code>$source</code> </InvalidScalarArgument> - <ParamNameMismatch occurrences="2"> - <code>$source</code> - <code>$target</code> - </ParamNameMismatch> </file> <file src="lib/private/Files/ObjectStore/S3ConnectionTrait.php"> <InternalClass occurrences="1"> @@ -3089,10 +2912,6 @@ <code>$free</code> <code>'ext'</code> </InvalidScalarArgument> - <ParamNameMismatch occurrences="2"> - <code>$source</code> - <code>$target</code> - </ParamNameMismatch> </file> <file src="lib/private/Files/Storage/Wrapper/Wrapper.php"> <InvalidReturnStatement occurrences="1"> |