Skip to content

Group the API endpoints that contact OP in an OCS controller #2405

Group the API endpoints that contact OP in an OCS controller

Group the API endpoints that contact OP in an OCS controller #2405

Triggered via pull request February 7, 2025 11:21
Status Failure
Total duration 1h 0m 26s
Artifacts

ci-workflow.yml

on: pull_request
Matrix: builds / API tests
Matrix: builds / unit tests and linting
builds  /  notify-nightly-report
0s
builds / notify-nightly-report
Fit to window
Zoom out
Zoom in

Annotations

18 errors
TooManyArguments: tests/lib/Controller/OpenProjectAPIControllerTest.php#L138
tests/lib/Controller/OpenProjectAPIControllerTest.php:138:17: TooManyArguments: Too many arguments for OCA\OpenProject\Controller\OpenProjectAPIController::__construct - expecting 5 but saw 7 (see https://psalm.dev/026)
InvalidArgument: tests/lib/Controller/OpenProjectAPIControllerTest.php#L143
tests/lib/Controller/OpenProjectAPIControllerTest.php:143:4: InvalidArgument: Argument 5 of OCA\OpenProject\Controller\OpenProjectAPIController::__construct expects null|string, but OCP\IURLGenerator provided (see https://psalm.dev/004)
TooManyArguments: tests/lib/Controller/OpenProjectAPIControllerTest.php#L170
tests/lib/Controller/OpenProjectAPIControllerTest.php:170:17: TooManyArguments: Too many arguments for OCA\OpenProject\Controller\OpenProjectAPIController::__construct - expecting 5 but saw 7 (see https://psalm.dev/026)
InvalidArgument: tests/lib/Controller/OpenProjectAPIControllerTest.php#L175
tests/lib/Controller/OpenProjectAPIControllerTest.php:175:4: InvalidArgument: Argument 5 of OCA\OpenProject\Controller\OpenProjectAPIController::__construct expects null|string, but OCP\IURLGenerator provided (see https://psalm.dev/004)
TooManyArguments: tests/lib/Controller/OpenProjectAPIControllerTest.php#L205
tests/lib/Controller/OpenProjectAPIControllerTest.php:205:17: TooManyArguments: Too many arguments for OCA\OpenProject\Controller\OpenProjectAPIController::__construct - expecting 5 but saw 7 (see https://psalm.dev/026)
InvalidArgument: tests/lib/Controller/OpenProjectAPIControllerTest.php#L210
tests/lib/Controller/OpenProjectAPIControllerTest.php:210:4: InvalidArgument: Argument 5 of OCA\OpenProject\Controller\OpenProjectAPIController::__construct expects null|string, but OCP\IURLGenerator provided (see https://psalm.dev/004)
TooManyArguments: tests/lib/Controller/OpenProjectAPIControllerTest.php#L238
tests/lib/Controller/OpenProjectAPIControllerTest.php:238:17: TooManyArguments: Too many arguments for OCA\OpenProject\Controller\OpenProjectAPIController::__construct - expecting 5 but saw 7 (see https://psalm.dev/026)
InvalidArgument: tests/lib/Controller/OpenProjectAPIControllerTest.php#L243
tests/lib/Controller/OpenProjectAPIControllerTest.php:243:4: InvalidArgument: Argument 5 of OCA\OpenProject\Controller\OpenProjectAPIController::__construct expects null|string, but OCP\IURLGenerator provided (see https://psalm.dev/004)
TooManyArguments: tests/lib/Controller/OpenProjectAPIControllerTest.php#L274
tests/lib/Controller/OpenProjectAPIControllerTest.php:274:17: TooManyArguments: Too many arguments for OCA\OpenProject\Controller\OpenProjectAPIController::__construct - expecting 5 but saw 7 (see https://psalm.dev/026)
InvalidArgument: tests/lib/Controller/OpenProjectAPIControllerTest.php#L279
tests/lib/Controller/OpenProjectAPIControllerTest.php:279:4: InvalidArgument: Argument 5 of OCA\OpenProject\Controller\OpenProjectAPIController::__construct expects null|string, but OCP\IURLGenerator provided (see https://psalm.dev/004)
builds / unit tests and linting (stable31, 8.1, false)
The job was canceled because "stable28_8_1" failed.
builds / unit tests and linting (stable31, 8.2, false)
The job was canceled because "stable28_8_1" failed.
builds / unit tests and linting (stable27, 8)
The job was canceled because "stable28_8_1" failed.
builds / unit tests and linting (stable29, 8.1)
The job was canceled because "stable28_8_1" failed.
builds / unit tests and linting (stable31, 8.3, false)
The job was canceled because "stable28_8_1" failed.
builds / unit tests and linting (stable30, 8.2)
The job was canceled because "stable28_8_1" failed.
builds / unit tests and linting (master, 8.3, false)
The job was canceled because "stable28_8_1" failed.
builds / unit tests and linting (master, 8.3, false)
The operation was canceled.