build(deps-dev): Bump psalm/phar from 4.18.1 to 5.16.0 #1366
Annotations
10 errors
ParamNameMismatch:
lib/ACL/ACLStorageWrapper.php#L84
lib/ACL/ACLStorageWrapper.php:84:25: ParamNameMismatch: Argument 1 of OCA\GroupFolders\ACL\ACLStorageWrapper::rename has wrong name $source, expecting $path1 as defined by OC\Files\Storage\Storage::rename (see https://psalm.dev/230)
|
ParamNameMismatch:
lib/ACL/ACLStorageWrapper.php#L84
lib/ACL/ACLStorageWrapper.php:84:34: ParamNameMismatch: Argument 2 of OCA\GroupFolders\ACL\ACLStorageWrapper::rename has wrong name $target, expecting $path2 as defined by OC\Files\Storage\Storage::rename (see https://psalm.dev/230)
|
ParamNameMismatch:
lib/ACL/ACLStorageWrapper.php#L121
lib/ACL/ACLStorageWrapper.php:121:23: ParamNameMismatch: Argument 1 of OCA\GroupFolders\ACL\ACLStorageWrapper::copy has wrong name $source, expecting $path1 as defined by OC\Files\Storage\Storage::copy (see https://psalm.dev/230)
|
ParamNameMismatch:
lib/ACL/ACLStorageWrapper.php#L121
lib/ACL/ACLStorageWrapper.php:121:32: ParamNameMismatch: Argument 2 of OCA\GroupFolders\ACL\ACLStorageWrapper::copy has wrong name $target, expecting $path2 as defined by OC\Files\Storage\Storage::copy (see https://psalm.dev/230)
|
UndefinedMethod:
lib/ACL/ACLStorageWrapper.php#L176
lib/ACL/ACLStorageWrapper.php:176:65: UndefinedMethod: Method OC\Files\Storage\Wrapper\Wrapper::writeStream does not exist (see https://psalm.dev/022)
|
UndefinedMethod:
lib/ACL/ACLStorageWrapper.php#L195
lib/ACL/ACLStorageWrapper.php:195:19: UndefinedMethod: Method OC\Files\Storage\Wrapper\Wrapper::getMetaData does not exist (see https://psalm.dev/022)
|
InvalidOperand:
lib/Command/ListCommand.php#L136
lib/Command/ListCommand.php:136:11: InvalidOperand: Cannot perform a numeric operation with a non-numeric type array-key (see https://psalm.dev/058)
|
InvalidArgument:
lib/Controller/FolderController.php#L108
lib/Controller/FolderController.php:108:49: InvalidArgument: Argument 1 of OCA\GroupFolders\Controller\FolderController::formatFolder expects array{acl: bool, groups: array<string, array{displayName: string, permissions: int, type: string}>, id: mixed, mount_point: mixed, quota: int, size: int}, but array{acl: bool, groups: array<string, array{displayName: string, permissions: int, type: string}>, id: int, manage: array<array-key, array{displayname?: string, id?: string, type?: 'circle'|'group'|'user'}>, mount_point: mixed, quota: int, size: int} with additional array shape fields (manage) was provided (see https://psalm.dev/004)
|
InvalidReturnType:
lib/Folder/FolderManager.php#L362
lib/Folder/FolderManager.php:362:13: InvalidReturnType: The declared return type 'array{displayname?: string, id?: string, type?: 'circle'|'group'|'user'}' for OCA\GroupFolders\Folder\FolderManager::generateApplicableMapEntry is incorrect, got 'array{displayName: mixed|string, permissions: int, type: 'circle'|'group'}' which is different due to additional array shape fields (displayName, permissions) (see https://psalm.dev/011)
|
InvalidReturnStatement:
lib/Folder/FolderManager.php#L372
lib/Folder/FolderManager.php:372:11: InvalidReturnStatement: The inferred type 'array{displayName: mixed, permissions: int, type: 'group'}' does not match the declared return type 'array{displayname?: string, id?: string, type?: 'circle'|'group'|'user'}' for OCA\GroupFolders\Folder\FolderManager::generateApplicableMapEntry due to additional array shape fields (displayName, permissions) (see https://psalm.dev/128)
|