Skip to content

fix(FileListener): Listen to file movements across share boundaries #917

fix(FileListener): Listen to file movements across share boundaries

fix(FileListener): Listen to file movements across share boundaries #917

Triggered via pull request April 17, 2024 14:04
Status Failure
Total duration 1h 16m 10s
Artifacts

psalm.yml

on: pull_request
Matrix: Nextcloud
Fit to window
Zoom out
Zoom in

Annotations

60 errors and 6 warnings
MixedAssignment: lib/AppInfo/Application.php#L46
lib/AppInfo/Application.php:46:3: MixedAssignment: Unable to determine the type that $rootFolder is being assigned to (see https://psalm.dev/032)
MixedMethodCall: lib/AppInfo/Application.php#L47
lib/AppInfo/Application.php:47:16: MixedMethodCall: Cannot determine the type of $rootFolder when calling method listen (see https://psalm.dev/015)
MissingClosureParamType: lib/AppInfo/Application.php#L47
lib/AppInfo/Application.php:47:60: MissingClosureParamType: Parameter $source has no provided type (see https://psalm.dev/153)
MissingClosureParamType: lib/AppInfo/Application.php#L47
lib/AppInfo/Application.php:47:69: MissingClosureParamType: Parameter $target has no provided type (see https://psalm.dev/153)
MixedAssignment: lib/AppInfo/Application.php#L48
lib/AppInfo/Application.php:48:4: MixedAssignment: Unable to determine the type that $fileListener is being assigned to (see https://psalm.dev/032)
MixedMethodCall: lib/AppInfo/Application.php#L49
lib/AppInfo/Application.php:49:19: MixedMethodCall: Cannot determine the type of $fileListener when calling method postRename (see https://psalm.dev/015)
MixedArgument: lib/Hooks/FileListener.php#L320
lib/Hooks/FileListener.php:320:66: MixedArgument: Argument 1 of array_keys cannot be mixed, expecting array<array-key, mixed> (see https://psalm.dev/030)
MixedArgument: lib/Hooks/FileListener.php#L322
lib/Hooks/FileListener.php:322:66: MixedArgument: Argument 1 of array_keys cannot be mixed, expecting array<array-key, mixed> (see https://psalm.dev/030)
PossiblyNullArgument: lib/Hooks/FileListener.php#L331
lib/Hooks/FileListener.php:331:52: PossiblyNullArgument: Argument 1 of OCA\Recognize\Service\StorageService::getFilesInMount cannot be null, possibly null value provided (see https://psalm.dev/078)
MixedArgument: lib/Hooks/FileListener.php#L365
lib/Hooks/FileListener.php:365:66: MixedArgument: Argument 1 of array_keys cannot be mixed, expecting array<array-key, mixed> (see https://psalm.dev/030)
MixedAssignment: lib/AppInfo/Application.php#L46
lib/AppInfo/Application.php:46:3: MixedAssignment: Unable to determine the type that $rootFolder is being assigned to (see https://psalm.dev/032)
MixedMethodCall: lib/AppInfo/Application.php#L47
lib/AppInfo/Application.php:47:16: MixedMethodCall: Cannot determine the type of $rootFolder when calling method listen (see https://psalm.dev/015)
MissingClosureParamType: lib/AppInfo/Application.php#L47
lib/AppInfo/Application.php:47:60: MissingClosureParamType: Parameter $source has no provided type (see https://psalm.dev/153)
MissingClosureParamType: lib/AppInfo/Application.php#L47
lib/AppInfo/Application.php:47:69: MissingClosureParamType: Parameter $target has no provided type (see https://psalm.dev/153)
MixedAssignment: lib/AppInfo/Application.php#L48
lib/AppInfo/Application.php:48:4: MixedAssignment: Unable to determine the type that $fileListener is being assigned to (see https://psalm.dev/032)
MixedMethodCall: lib/AppInfo/Application.php#L49
lib/AppInfo/Application.php:49:19: MixedMethodCall: Cannot determine the type of $fileListener when calling method postRename (see https://psalm.dev/015)
MixedArgument: lib/Hooks/FileListener.php#L320
lib/Hooks/FileListener.php:320:66: MixedArgument: Argument 1 of array_keys cannot be mixed, expecting array<array-key, mixed> (see https://psalm.dev/030)
MixedArgument: lib/Hooks/FileListener.php#L322
lib/Hooks/FileListener.php:322:66: MixedArgument: Argument 1 of array_keys cannot be mixed, expecting array<array-key, mixed> (see https://psalm.dev/030)
PossiblyNullArgument: lib/Hooks/FileListener.php#L331
lib/Hooks/FileListener.php:331:52: PossiblyNullArgument: Argument 1 of OCA\Recognize\Service\StorageService::getFilesInMount cannot be null, possibly null value provided (see https://psalm.dev/078)
MixedArgument: lib/Hooks/FileListener.php#L365
lib/Hooks/FileListener.php:365:66: MixedArgument: Argument 1 of array_keys cannot be mixed, expecting array<array-key, mixed> (see https://psalm.dev/030)
MixedAssignment: lib/AppInfo/Application.php#L46
lib/AppInfo/Application.php:46:3: MixedAssignment: Unable to determine the type that $rootFolder is being assigned to (see https://psalm.dev/032)
MixedMethodCall: lib/AppInfo/Application.php#L47
lib/AppInfo/Application.php:47:16: MixedMethodCall: Cannot determine the type of $rootFolder when calling method listen (see https://psalm.dev/015)
MissingClosureParamType: lib/AppInfo/Application.php#L47
lib/AppInfo/Application.php:47:60: MissingClosureParamType: Parameter $source has no provided type (see https://psalm.dev/153)
MissingClosureParamType: lib/AppInfo/Application.php#L47
lib/AppInfo/Application.php:47:69: MissingClosureParamType: Parameter $target has no provided type (see https://psalm.dev/153)
MixedAssignment: lib/AppInfo/Application.php#L48
lib/AppInfo/Application.php:48:4: MixedAssignment: Unable to determine the type that $fileListener is being assigned to (see https://psalm.dev/032)
MixedMethodCall: lib/AppInfo/Application.php#L49
lib/AppInfo/Application.php:49:19: MixedMethodCall: Cannot determine the type of $fileListener when calling method postRename (see https://psalm.dev/015)
MixedArgument: lib/Hooks/FileListener.php#L320
lib/Hooks/FileListener.php:320:66: MixedArgument: Argument 1 of array_keys cannot be mixed, expecting array<array-key, mixed> (see https://psalm.dev/030)
MixedArgument: lib/Hooks/FileListener.php#L322
lib/Hooks/FileListener.php:322:66: MixedArgument: Argument 1 of array_keys cannot be mixed, expecting array<array-key, mixed> (see https://psalm.dev/030)
PossiblyNullArgument: lib/Hooks/FileListener.php#L331
lib/Hooks/FileListener.php:331:52: PossiblyNullArgument: Argument 1 of OCA\Recognize\Service\StorageService::getFilesInMount cannot be null, possibly null value provided (see https://psalm.dev/078)
MixedArgument: lib/Hooks/FileListener.php#L365
lib/Hooks/FileListener.php:365:66: MixedArgument: Argument 1 of array_keys cannot be mixed, expecting array<array-key, mixed> (see https://psalm.dev/030)
MixedAssignment: lib/AppInfo/Application.php#L46
lib/AppInfo/Application.php:46:3: MixedAssignment: Unable to determine the type that $rootFolder is being assigned to (see https://psalm.dev/032)
MixedMethodCall: lib/AppInfo/Application.php#L47
lib/AppInfo/Application.php:47:16: MixedMethodCall: Cannot determine the type of $rootFolder when calling method listen (see https://psalm.dev/015)
MissingClosureParamType: lib/AppInfo/Application.php#L47
lib/AppInfo/Application.php:47:60: MissingClosureParamType: Parameter $source has no provided type (see https://psalm.dev/153)
MissingClosureParamType: lib/AppInfo/Application.php#L47
lib/AppInfo/Application.php:47:69: MissingClosureParamType: Parameter $target has no provided type (see https://psalm.dev/153)
MixedAssignment: lib/AppInfo/Application.php#L48
lib/AppInfo/Application.php:48:4: MixedAssignment: Unable to determine the type that $fileListener is being assigned to (see https://psalm.dev/032)
MixedMethodCall: lib/AppInfo/Application.php#L49
lib/AppInfo/Application.php:49:19: MixedMethodCall: Cannot determine the type of $fileListener when calling method postRename (see https://psalm.dev/015)
MixedArgument: lib/Hooks/FileListener.php#L320
lib/Hooks/FileListener.php:320:66: MixedArgument: Argument 1 of array_keys cannot be mixed, expecting array<array-key, mixed> (see https://psalm.dev/030)
MixedArgument: lib/Hooks/FileListener.php#L322
lib/Hooks/FileListener.php:322:66: MixedArgument: Argument 1 of array_keys cannot be mixed, expecting array<array-key, mixed> (see https://psalm.dev/030)
PossiblyNullArgument: lib/Hooks/FileListener.php#L331
lib/Hooks/FileListener.php:331:52: PossiblyNullArgument: Argument 1 of OCA\Recognize\Service\StorageService::getFilesInMount cannot be null, possibly null value provided (see https://psalm.dev/078)
MixedArgument: lib/Hooks/FileListener.php#L365
lib/Hooks/FileListener.php:365:66: MixedArgument: Argument 1 of array_keys cannot be mixed, expecting array<array-key, mixed> (see https://psalm.dev/030)
MixedAssignment: lib/AppInfo/Application.php#L46
lib/AppInfo/Application.php:46:3: MixedAssignment: Unable to determine the type that $rootFolder is being assigned to (see https://psalm.dev/032)
MixedMethodCall: lib/AppInfo/Application.php#L47
lib/AppInfo/Application.php:47:16: MixedMethodCall: Cannot determine the type of $rootFolder when calling method listen (see https://psalm.dev/015)
MissingClosureParamType: lib/AppInfo/Application.php#L47
lib/AppInfo/Application.php:47:60: MissingClosureParamType: Parameter $source has no provided type (see https://psalm.dev/153)
MissingClosureParamType: lib/AppInfo/Application.php#L47
lib/AppInfo/Application.php:47:69: MissingClosureParamType: Parameter $target has no provided type (see https://psalm.dev/153)
MixedAssignment: lib/AppInfo/Application.php#L48
lib/AppInfo/Application.php:48:4: MixedAssignment: Unable to determine the type that $fileListener is being assigned to (see https://psalm.dev/032)
MixedMethodCall: lib/AppInfo/Application.php#L49
lib/AppInfo/Application.php:49:19: MixedMethodCall: Cannot determine the type of $fileListener when calling method postRename (see https://psalm.dev/015)
MixedArgument: lib/Hooks/FileListener.php#L320
lib/Hooks/FileListener.php:320:66: MixedArgument: Argument 1 of array_keys cannot be mixed, expecting array<array-key, mixed> (see https://psalm.dev/030)
MixedArgument: lib/Hooks/FileListener.php#L322
lib/Hooks/FileListener.php:322:66: MixedArgument: Argument 1 of array_keys cannot be mixed, expecting array<array-key, mixed> (see https://psalm.dev/030)
PossiblyNullArgument: lib/Hooks/FileListener.php#L331
lib/Hooks/FileListener.php:331:52: PossiblyNullArgument: Argument 1 of OCA\Recognize\Service\StorageService::getFilesInMount cannot be null, possibly null value provided (see https://psalm.dev/078)
MixedArgument: lib/Hooks/FileListener.php#L365
lib/Hooks/FileListener.php:365:66: MixedArgument: Argument 1 of array_keys cannot be mixed, expecting array<array-key, mixed> (see https://psalm.dev/030)
MixedAssignment: lib/AppInfo/Application.php#L46
lib/AppInfo/Application.php:46:3: MixedAssignment: Unable to determine the type that $rootFolder is being assigned to (see https://psalm.dev/032)
MixedMethodCall: lib/AppInfo/Application.php#L47
lib/AppInfo/Application.php:47:16: MixedMethodCall: Cannot determine the type of $rootFolder when calling method listen (see https://psalm.dev/015)
MissingClosureParamType: lib/AppInfo/Application.php#L47
lib/AppInfo/Application.php:47:60: MissingClosureParamType: Parameter $source has no provided type (see https://psalm.dev/153)
MissingClosureParamType: lib/AppInfo/Application.php#L47
lib/AppInfo/Application.php:47:69: MissingClosureParamType: Parameter $target has no provided type (see https://psalm.dev/153)
MixedAssignment: lib/AppInfo/Application.php#L48
lib/AppInfo/Application.php:48:4: MixedAssignment: Unable to determine the type that $fileListener is being assigned to (see https://psalm.dev/032)
MixedMethodCall: lib/AppInfo/Application.php#L49
lib/AppInfo/Application.php:49:19: MixedMethodCall: Cannot determine the type of $fileListener when calling method postRename (see https://psalm.dev/015)
MixedArgument: lib/Hooks/FileListener.php#L320
lib/Hooks/FileListener.php:320:66: MixedArgument: Argument 1 of array_keys cannot be mixed, expecting array<array-key, mixed> (see https://psalm.dev/030)
MixedArgument: lib/Hooks/FileListener.php#L322
lib/Hooks/FileListener.php:322:66: MixedArgument: Argument 1 of array_keys cannot be mixed, expecting array<array-key, mixed> (see https://psalm.dev/030)
PossiblyNullArgument: lib/Hooks/FileListener.php#L331
lib/Hooks/FileListener.php:331:52: PossiblyNullArgument: Argument 1 of OCA\Recognize\Service\StorageService::getFilesInMount cannot be null, possibly null value provided (see https://psalm.dev/078)
MixedArgument: lib/Hooks/FileListener.php#L365
lib/Hooks/FileListener.php:365:66: MixedArgument: Argument 1 of array_keys cannot be mixed, expecting array<array-key, mixed> (see https://psalm.dev/030)
Nextcloud (8.1, dev-master)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab, shivammathur/setup-php@c5fc0d8281aba02c7fda07d3a70cc5371548067d. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Nextcloud (8.1, dev-stable29)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab, shivammathur/setup-php@c5fc0d8281aba02c7fda07d3a70cc5371548067d. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Nextcloud (8.2, dev-master)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab, shivammathur/setup-php@c5fc0d8281aba02c7fda07d3a70cc5371548067d. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Nextcloud (8.2, dev-stable29)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab, shivammathur/setup-php@c5fc0d8281aba02c7fda07d3a70cc5371548067d. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Nextcloud (8.3, dev-master)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab, shivammathur/setup-php@c5fc0d8281aba02c7fda07d3a70cc5371548067d. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Nextcloud (8.3, dev-stable29)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab, shivammathur/setup-php@c5fc0d8281aba02c7fda07d3a70cc5371548067d. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.