Skip to content

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

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

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

Triggered via pull request April 17, 2024 16:49
Status Failure
Total duration 35m 57s
Artifacts

psalm.yml

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

Annotations

30 errors and 6 warnings
PropertyNotSetInConstructor: lib/Hooks/FileListener.php#L53
lib/Hooks/FileListener.php:53:16: PropertyNotSetInConstructor: Property OCA\Recognize\Hooks\FileListener::$sourceUserIds is not defined in constructor of OCA\Recognize\Hooks\FileListener or in any private or final methods called in the constructor (see https://psalm.dev/074)
MixedArgument: lib/Hooks/FileListener.php#L141
lib/Hooks/FileListener.php:141:74: MixedArgument: Argument 1 of array_keys cannot be mixed, expecting array<array-key, mixed> (see https://psalm.dev/030)
MixedArgument: lib/Hooks/FileListener.php#L337
lib/Hooks/FileListener.php:337: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#L349
lib/Hooks/FileListener.php:349:52: PossiblyNullArgument: Argument 1 of OCA\Recognize\Service\StorageService::getFilesInMount cannot be null, possibly null value provided (see https://psalm.dev/078)
Nextcloud (8.2, dev-stable29)
Process completed with exit code 2.
PropertyNotSetInConstructor: lib/Hooks/FileListener.php#L53
lib/Hooks/FileListener.php:53:16: PropertyNotSetInConstructor: Property OCA\Recognize\Hooks\FileListener::$sourceUserIds is not defined in constructor of OCA\Recognize\Hooks\FileListener or in any private or final methods called in the constructor (see https://psalm.dev/074)
MixedArgument: lib/Hooks/FileListener.php#L141
lib/Hooks/FileListener.php:141:74: MixedArgument: Argument 1 of array_keys cannot be mixed, expecting array<array-key, mixed> (see https://psalm.dev/030)
MixedArgument: lib/Hooks/FileListener.php#L337
lib/Hooks/FileListener.php:337: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#L349
lib/Hooks/FileListener.php:349:52: PossiblyNullArgument: Argument 1 of OCA\Recognize\Service\StorageService::getFilesInMount cannot be null, possibly null value provided (see https://psalm.dev/078)
Nextcloud (8.1, dev-stable29)
Process completed with exit code 2.
PropertyNotSetInConstructor: lib/Hooks/FileListener.php#L53
lib/Hooks/FileListener.php:53:16: PropertyNotSetInConstructor: Property OCA\Recognize\Hooks\FileListener::$sourceUserIds is not defined in constructor of OCA\Recognize\Hooks\FileListener or in any private or final methods called in the constructor (see https://psalm.dev/074)
MixedArgument: lib/Hooks/FileListener.php#L141
lib/Hooks/FileListener.php:141:74: MixedArgument: Argument 1 of array_keys cannot be mixed, expecting array<array-key, mixed> (see https://psalm.dev/030)
MixedArgument: lib/Hooks/FileListener.php#L337
lib/Hooks/FileListener.php:337: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#L349
lib/Hooks/FileListener.php:349:52: PossiblyNullArgument: Argument 1 of OCA\Recognize\Service\StorageService::getFilesInMount cannot be null, possibly null value provided (see https://psalm.dev/078)
Nextcloud (8.1, dev-master)
Process completed with exit code 2.
PropertyNotSetInConstructor: lib/Hooks/FileListener.php#L53
lib/Hooks/FileListener.php:53:16: PropertyNotSetInConstructor: Property OCA\Recognize\Hooks\FileListener::$sourceUserIds is not defined in constructor of OCA\Recognize\Hooks\FileListener or in any private or final methods called in the constructor (see https://psalm.dev/074)
MixedArgument: lib/Hooks/FileListener.php#L141
lib/Hooks/FileListener.php:141:74: MixedArgument: Argument 1 of array_keys cannot be mixed, expecting array<array-key, mixed> (see https://psalm.dev/030)
MixedArgument: lib/Hooks/FileListener.php#L337
lib/Hooks/FileListener.php:337: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#L349
lib/Hooks/FileListener.php:349:52: PossiblyNullArgument: Argument 1 of OCA\Recognize\Service\StorageService::getFilesInMount cannot be null, possibly null value provided (see https://psalm.dev/078)
Nextcloud (8.2, dev-master)
Process completed with exit code 2.
PropertyNotSetInConstructor: lib/Hooks/FileListener.php#L53
lib/Hooks/FileListener.php:53:16: PropertyNotSetInConstructor: Property OCA\Recognize\Hooks\FileListener::$sourceUserIds is not defined in constructor of OCA\Recognize\Hooks\FileListener or in any private or final methods called in the constructor (see https://psalm.dev/074)
MixedArgument: lib/Hooks/FileListener.php#L141
lib/Hooks/FileListener.php:141:74: MixedArgument: Argument 1 of array_keys cannot be mixed, expecting array<array-key, mixed> (see https://psalm.dev/030)
MixedArgument: lib/Hooks/FileListener.php#L337
lib/Hooks/FileListener.php:337: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#L349
lib/Hooks/FileListener.php:349:52: PossiblyNullArgument: Argument 1 of OCA\Recognize\Service\StorageService::getFilesInMount cannot be null, possibly null value provided (see https://psalm.dev/078)
Nextcloud (8.3, dev-stable29)
Process completed with exit code 2.
PropertyNotSetInConstructor: lib/Hooks/FileListener.php#L53
lib/Hooks/FileListener.php:53:16: PropertyNotSetInConstructor: Property OCA\Recognize\Hooks\FileListener::$sourceUserIds is not defined in constructor of OCA\Recognize\Hooks\FileListener or in any private or final methods called in the constructor (see https://psalm.dev/074)
MixedArgument: lib/Hooks/FileListener.php#L141
lib/Hooks/FileListener.php:141:74: MixedArgument: Argument 1 of array_keys cannot be mixed, expecting array<array-key, mixed> (see https://psalm.dev/030)
MixedArgument: lib/Hooks/FileListener.php#L337
lib/Hooks/FileListener.php:337: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#L349
lib/Hooks/FileListener.php:349:52: PossiblyNullArgument: Argument 1 of OCA\Recognize\Service\StorageService::getFilesInMount cannot be null, possibly null value provided (see https://psalm.dev/078)
Nextcloud (8.3, dev-master)
Process completed with exit code 2.
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.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.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.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.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/.
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/.