Skip to content

Add closure mocks

Add closure mocks #880

Triggered via pull request March 20, 2024 11:23
Status Failure
Total duration 5m 21s
Artifacts 1

ci.yaml

on: pull_request
Dependency Validation
17s
Dependency Validation
Coding Guidelines
50s
Coding Guidelines
Matrix: Unit Tests
Type Checker
36s
Type Checker
Matrix: End-to-End Tests
Matrix: Test PHAR
Fit to window
Zoom out
Zoom in

Annotations

3 errors
InvalidReturnType: src/Framework/MockObject/Runtime/Stub/ClosureMock.php#L25
src/Framework/MockObject/Runtime/Stub/ClosureMock.php:25:33: InvalidReturnType: Not all code paths of PHPUnit\Framework\MockObject\Stub\ClosureMock::__invoke end in a return statement, return type mixed expected (see https://psalm.dev/011)
UndefinedMethod: src/Framework/MockObject/Runtime/Stub/ClosureMock.php#L42
src/Framework/MockObject/Runtime/Stub/ClosureMock.php:42:23: UndefinedMethod: Method PHPUnit\Framework\MockObject\Stub\ClosureMock::method does not exist (see https://psalm.dev/022)
Type Checker
Process completed with exit code 2.

Artifacts

Produced during runtime
Name Size
phpunit-snapshot-phar Expired
679 KB