Skip to content

Make return type of AbstractControllerTestCase compatible with phpunit #120

Make return type of AbstractControllerTestCase compatible with phpunit

Make return type of AbstractControllerTestCase compatible with phpunit #120

Triggered via pull request March 30, 2025 14:18
Status Failure
Total duration 26s
Artifacts

test.yml

on: pull_request
PHP coverage
13s
PHP coverage
Quality checks
15s
Quality checks
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

7 errors
Quality checks
Process completed with exit code 1.
Quality checks: tests/Integration/Symfony/Controller/GenerateUrlControllerTest.php#L29
Call to method willReturnOnConsecutiveCalls() on an unknown class PHPUnit\Framework\MockObject\InvocationStubber.
Quality checks: tests/Integration/Symfony/Controller/GenerateUrlControllerTest.php#L23
Call to method willReturn() on an unknown class PHPUnit\Framework\MockObject\InvocationStubber.
Quality checks: src/Symfony/AbstractControllerTestCase.php#L129
Call to method willReturn() on an unknown class PHPUnit\Framework\MockObject\InvocationStubber.
Quality checks: src/Symfony/AbstractControllerTestCase.php#L128
Method DR\PHPUnitExtensions\Symfony\AbstractControllerTestCase::expectRedirectToRoute() has invalid return type PHPUnit\Framework\MockObject\InvocationStubber.
Quality checks: src/Symfony/AbstractControllerTestCase.php#L113
Method DR\PHPUnitExtensions\Symfony\AbstractControllerTestCase::expectGenerateUrlWithConsecutive() has invalid return type PHPUnit\Framework\MockObject\InvocationStubber.
Quality checks: src/Symfony/AbstractControllerTestCase.php#L103
Method DR\PHPUnitExtensions\Symfony\AbstractControllerTestCase::expectGenerateUrl() has invalid return type PHPUnit\Framework\MockObject\InvocationStubber.