Skip to content

Add support for php 8.4 #691

Add support for php 8.4

Add support for php 8.4 #691

Triggered via pull request February 13, 2025 20:29
@R0WiR0Wi
synchronize #298
support-php84
Status Failure
Total duration 59s
Artifacts

psalm.yml

on: pull_request
Matrix: static-psalm-analysis
Fit to window
Zoom out
Zoom in

Annotations

32 errors
PossiblyUnusedMethod: lib/AppInfo/Application.php#L78
lib/AppInfo/Application.php:78:18: PossiblyUnusedMethod: Cannot find any calls to method OCA\WorkflowOcr\AppInfo\Application::__construct (see https://psalm.dev/087)
PossiblyUnusedMethod: lib/BackgroundJobs/ProcessFileJob.php#L43
lib/BackgroundJobs/ProcessFileJob.php:43:18: PossiblyUnusedMethod: Cannot find any calls to method OCA\WorkflowOcr\BackgroundJobs\ProcessFileJob::__construct (see https://psalm.dev/087)
UnusedClass: lib/Controller/GlobalSettingsController.php#L37
lib/Controller/GlobalSettingsController.php:37:7: UnusedClass: Class OCA\WorkflowOcr\Controller\GlobalSettingsController is never used (see https://psalm.dev/075)
UnusedClass: lib/Controller/OcrBackendInfoController.php#L36
lib/Controller/OcrBackendInfoController.php:36:7: UnusedClass: Class OCA\WorkflowOcr\Controller\OcrBackendInfoController is never used (see https://psalm.dev/075)
PossiblyUnusedMethod: lib/Events/TextRecognizedEvent.php#L55
lib/Events/TextRecognizedEvent.php:55:18: PossiblyUnusedMethod: Cannot find any calls to method OCA\WorkflowOcr\Events\TextRecognizedEvent::getRecognizedText (see https://psalm.dev/087)
PossiblyUnusedMethod: lib/Events/TextRecognizedEvent.php#L62
lib/Events/TextRecognizedEvent.php:62:18: PossiblyUnusedMethod: Cannot find any calls to method OCA\WorkflowOcr\Events\TextRecognizedEvent::getFile (see https://psalm.dev/087)
FalsableReturnStatement: lib/Helper/SidecarFileAccessor.php#L63
lib/Helper/SidecarFileAccessor.php:63:10: FalsableReturnStatement: The declared return type 'string' for OCA\WorkflowOcr\Helper\SidecarFileAccessor::getSidecarFileContent does not allow false, but the function returns 'false|string' (see https://psalm.dev/137)
PossiblyUnusedMethod: lib/Listener/RegisterFlowOperationsListener.php#L41
lib/Listener/RegisterFlowOperationsListener.php:41:18: PossiblyUnusedMethod: Cannot find any calls to method OCA\WorkflowOcr\Listener\RegisterFlowOperationsListener::__construct (see https://psalm.dev/087)
UnusedClass: lib/Migration/Version2404Date20220903071748.php#L33
lib/Migration/Version2404Date20220903071748.php:33:7: UnusedClass: Class OCA\WorkflowOcr\Migration\Version2404Date20220903071748 is never used (see https://psalm.dev/075)
UnusedClass: lib/Migration/Version2702Date20230908170345.php#L33
lib/Migration/Version2702Date20230908170345.php:33:7: UnusedClass: Class OCA\WorkflowOcr\Migration\Version2702Date20230908170345 is never used (see https://psalm.dev/075)
Nextcloud dev-master PHP8.2
The job was canceled because "dev-master_8_4" failed.
PossiblyUnusedMethod: lib/AppInfo/Application.php#L78
lib/AppInfo/Application.php:78:18: PossiblyUnusedMethod: Cannot find any calls to method OCA\WorkflowOcr\AppInfo\Application::__construct (see https://psalm.dev/087)
PossiblyUnusedMethod: lib/BackgroundJobs/ProcessFileJob.php#L43
lib/BackgroundJobs/ProcessFileJob.php:43:18: PossiblyUnusedMethod: Cannot find any calls to method OCA\WorkflowOcr\BackgroundJobs\ProcessFileJob::__construct (see https://psalm.dev/087)
UnusedClass: lib/Controller/GlobalSettingsController.php#L37
lib/Controller/GlobalSettingsController.php:37:7: UnusedClass: Class OCA\WorkflowOcr\Controller\GlobalSettingsController is never used (see https://psalm.dev/075)
UnusedClass: lib/Controller/OcrBackendInfoController.php#L36
lib/Controller/OcrBackendInfoController.php:36:7: UnusedClass: Class OCA\WorkflowOcr\Controller\OcrBackendInfoController is never used (see https://psalm.dev/075)
PossiblyUnusedMethod: lib/Events/TextRecognizedEvent.php#L55
lib/Events/TextRecognizedEvent.php:55:18: PossiblyUnusedMethod: Cannot find any calls to method OCA\WorkflowOcr\Events\TextRecognizedEvent::getRecognizedText (see https://psalm.dev/087)
PossiblyUnusedMethod: lib/Events/TextRecognizedEvent.php#L62
lib/Events/TextRecognizedEvent.php:62:18: PossiblyUnusedMethod: Cannot find any calls to method OCA\WorkflowOcr\Events\TextRecognizedEvent::getFile (see https://psalm.dev/087)
FalsableReturnStatement: lib/Helper/SidecarFileAccessor.php#L63
lib/Helper/SidecarFileAccessor.php:63:10: FalsableReturnStatement: The declared return type 'string' for OCA\WorkflowOcr\Helper\SidecarFileAccessor::getSidecarFileContent does not allow false, but the function returns 'false|string' (see https://psalm.dev/137)
PossiblyUnusedMethod: lib/Listener/RegisterFlowOperationsListener.php#L41
lib/Listener/RegisterFlowOperationsListener.php:41:18: PossiblyUnusedMethod: Cannot find any calls to method OCA\WorkflowOcr\Listener\RegisterFlowOperationsListener::__construct (see https://psalm.dev/087)
UnusedClass: lib/Migration/Version2404Date20220903071748.php#L33
lib/Migration/Version2404Date20220903071748.php:33:7: UnusedClass: Class OCA\WorkflowOcr\Migration\Version2404Date20220903071748 is never used (see https://psalm.dev/075)
UnusedClass: lib/Migration/Version2702Date20230908170345.php#L33
lib/Migration/Version2702Date20230908170345.php:33:7: UnusedClass: Class OCA\WorkflowOcr\Migration\Version2702Date20230908170345 is never used (see https://psalm.dev/075)
Nextcloud dev-master PHP8.3
The job was canceled because "dev-master_8_4" failed.
PossiblyUnusedMethod: lib/AppInfo/Application.php#L78
lib/AppInfo/Application.php:78:18: PossiblyUnusedMethod: Cannot find any calls to method OCA\WorkflowOcr\AppInfo\Application::__construct (see https://psalm.dev/087)
PossiblyUnusedMethod: lib/BackgroundJobs/ProcessFileJob.php#L43
lib/BackgroundJobs/ProcessFileJob.php:43:18: PossiblyUnusedMethod: Cannot find any calls to method OCA\WorkflowOcr\BackgroundJobs\ProcessFileJob::__construct (see https://psalm.dev/087)
UnusedClass: lib/Controller/GlobalSettingsController.php#L37
lib/Controller/GlobalSettingsController.php:37:7: UnusedClass: Class OCA\WorkflowOcr\Controller\GlobalSettingsController is never used (see https://psalm.dev/075)
UnusedClass: lib/Controller/OcrBackendInfoController.php#L36
lib/Controller/OcrBackendInfoController.php:36:7: UnusedClass: Class OCA\WorkflowOcr\Controller\OcrBackendInfoController is never used (see https://psalm.dev/075)
PossiblyUnusedMethod: lib/Events/TextRecognizedEvent.php#L55
lib/Events/TextRecognizedEvent.php:55:18: PossiblyUnusedMethod: Cannot find any calls to method OCA\WorkflowOcr\Events\TextRecognizedEvent::getRecognizedText (see https://psalm.dev/087)
PossiblyUnusedMethod: lib/Events/TextRecognizedEvent.php#L62
lib/Events/TextRecognizedEvent.php:62:18: PossiblyUnusedMethod: Cannot find any calls to method OCA\WorkflowOcr\Events\TextRecognizedEvent::getFile (see https://psalm.dev/087)
FalsableReturnStatement: lib/Helper/SidecarFileAccessor.php#L63
lib/Helper/SidecarFileAccessor.php:63:10: FalsableReturnStatement: The declared return type 'string' for OCA\WorkflowOcr\Helper\SidecarFileAccessor::getSidecarFileContent does not allow false, but the function returns 'false|string' (see https://psalm.dev/137)
PossiblyUnusedMethod: lib/Listener/RegisterFlowOperationsListener.php#L41
lib/Listener/RegisterFlowOperationsListener.php:41:18: PossiblyUnusedMethod: Cannot find any calls to method OCA\WorkflowOcr\Listener\RegisterFlowOperationsListener::__construct (see https://psalm.dev/087)
UnusedClass: lib/Migration/Version2404Date20220903071748.php#L33
lib/Migration/Version2404Date20220903071748.php:33:7: UnusedClass: Class OCA\WorkflowOcr\Migration\Version2404Date20220903071748 is never used (see https://psalm.dev/075)
UnusedClass: lib/Migration/Version2702Date20230908170345.php#L33
lib/Migration/Version2702Date20230908170345.php:33:7: UnusedClass: Class OCA\WorkflowOcr\Migration\Version2702Date20230908170345 is never used (see https://psalm.dev/075)