Skip to content

fix(FileListener): PostInsert Exception #964

fix(FileListener): PostInsert Exception

fix(FileListener): PostInsert Exception #964

Triggered via push July 5, 2024 06:36
Status Failure
Total duration 3m 18s
Artifacts

psalm.yml

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

Annotations

24 errors and 6 warnings
PossiblyNullReference: lib/Hooks/FileListener.php#L361
lib/Hooks/FileListener.php:361:57: PossiblyNullReference: Cannot call method getUID on possibly null value (see https://psalm.dev/083)
PossiblyNullReference: lib/Hooks/FileListener.php#L361
lib/Hooks/FileListener.php:361:112: PossiblyNullReference: Cannot call method getUID on possibly null value (see https://psalm.dev/083)
ArgumentTypeCoercion: lib/Hooks/FileListener.php#L363
lib/Hooks/FileListener.php:363:46: ArgumentTypeCoercion: Argument 2 of OCA\Recognize\Hooks\FileListener::copyFaceDetectionsForNode expects list<string>, but parent type array<int<0, max>, string> provided (see https://psalm.dev/193)
Nextcloud (8.3, dev-master)
Process completed with exit code 2.
PossiblyNullReference: lib/Hooks/FileListener.php#L361
lib/Hooks/FileListener.php:361:57: PossiblyNullReference: Cannot call method getUID on possibly null value (see https://psalm.dev/083)
PossiblyNullReference: lib/Hooks/FileListener.php#L361
lib/Hooks/FileListener.php:361:112: PossiblyNullReference: Cannot call method getUID on possibly null value (see https://psalm.dev/083)
ArgumentTypeCoercion: lib/Hooks/FileListener.php#L363
lib/Hooks/FileListener.php:363:46: ArgumentTypeCoercion: Argument 2 of OCA\Recognize\Hooks\FileListener::copyFaceDetectionsForNode expects list<string>, but parent type array<int<0, max>, string> provided (see https://psalm.dev/193)
Nextcloud (8.1, dev-stable29)
Process completed with exit code 2.
PossiblyNullReference: lib/Hooks/FileListener.php#L361
lib/Hooks/FileListener.php:361:57: PossiblyNullReference: Cannot call method getUID on possibly null value (see https://psalm.dev/083)
PossiblyNullReference: lib/Hooks/FileListener.php#L361
lib/Hooks/FileListener.php:361:112: PossiblyNullReference: Cannot call method getUID on possibly null value (see https://psalm.dev/083)
ArgumentTypeCoercion: lib/Hooks/FileListener.php#L363
lib/Hooks/FileListener.php:363:46: ArgumentTypeCoercion: Argument 2 of OCA\Recognize\Hooks\FileListener::copyFaceDetectionsForNode expects list<string>, but parent type array<int<0, max>, string> provided (see https://psalm.dev/193)
Nextcloud (8.1, dev-master)
Process completed with exit code 2.
PossiblyNullReference: lib/Hooks/FileListener.php#L361
lib/Hooks/FileListener.php:361:57: PossiblyNullReference: Cannot call method getUID on possibly null value (see https://psalm.dev/083)
PossiblyNullReference: lib/Hooks/FileListener.php#L361
lib/Hooks/FileListener.php:361:112: PossiblyNullReference: Cannot call method getUID on possibly null value (see https://psalm.dev/083)
ArgumentTypeCoercion: lib/Hooks/FileListener.php#L363
lib/Hooks/FileListener.php:363:46: ArgumentTypeCoercion: Argument 2 of OCA\Recognize\Hooks\FileListener::copyFaceDetectionsForNode expects list<string>, but parent type array<int<0, max>, string> provided (see https://psalm.dev/193)
Nextcloud (8.2, dev-stable29)
Process completed with exit code 2.
PossiblyNullReference: lib/Hooks/FileListener.php#L361
lib/Hooks/FileListener.php:361:57: PossiblyNullReference: Cannot call method getUID on possibly null value (see https://psalm.dev/083)
PossiblyNullReference: lib/Hooks/FileListener.php#L361
lib/Hooks/FileListener.php:361:112: PossiblyNullReference: Cannot call method getUID on possibly null value (see https://psalm.dev/083)
ArgumentTypeCoercion: lib/Hooks/FileListener.php#L363
lib/Hooks/FileListener.php:363:46: ArgumentTypeCoercion: Argument 2 of OCA\Recognize\Hooks\FileListener::copyFaceDetectionsForNode expects list<string>, but parent type array<int<0, max>, string> provided (see https://psalm.dev/193)
Nextcloud (8.2, dev-master)
Process completed with exit code 2.
PossiblyNullReference: lib/Hooks/FileListener.php#L361
lib/Hooks/FileListener.php:361:57: PossiblyNullReference: Cannot call method getUID on possibly null value (see https://psalm.dev/083)
PossiblyNullReference: lib/Hooks/FileListener.php#L361
lib/Hooks/FileListener.php:361:112: PossiblyNullReference: Cannot call method getUID on possibly null value (see https://psalm.dev/083)
ArgumentTypeCoercion: lib/Hooks/FileListener.php#L363
lib/Hooks/FileListener.php:363:46: ArgumentTypeCoercion: Argument 2 of OCA\Recognize\Hooks\FileListener::copyFaceDetectionsForNode expects list<string>, but parent type array<int<0, max>, string> provided (see https://psalm.dev/193)
Nextcloud (8.3, dev-stable29)
Process completed with exit code 2.
Nextcloud (8.3, dev-master)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Nextcloud (8.1, dev-stable29)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Nextcloud (8.1, dev-master)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Nextcloud (8.2, dev-stable29)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Nextcloud (8.2, dev-master)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Nextcloud (8.3, dev-stable29)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/