Skip to content

fix some psalm errors #17

fix some psalm errors

fix some psalm errors #17

Triggered via push January 30, 2024 10:11
Status Failure
Total duration 8m 3s
Artifacts

psalm.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 warning
DuplicateClass: lib/Cron/CleanupAssistantTasks.php#L17
lib/Cron/CleanupAssistantTasks.php:17:7: DuplicateClass: Class OCA\TpAssistant\Cron\CleanupImageGenerations has already been defined in /home/runner/actions-runner/_work/assistant/assistant/lib/Cron/CleanupImageGenerations.php (see https://psalm.dev/071)
RedundantCondition: lib/Service/Text2Image/Text2ImageHelperService.php#L140
lib/Service/Text2Image/Text2ImageHelperService.php:140:6: RedundantCondition: string can never contain null (see https://psalm.dev/122)
Psalm check
Process completed with exit code 2.
Psalm check
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/.