Skip to content

MAJOR Rewrite (WIP) #17

MAJOR Rewrite (WIP)

MAJOR Rewrite (WIP) #17

Triggered via push August 9, 2023 13:45
Status Failure
Total duration 29s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

php.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
build: src/CommandHandler.php#L186
Method Wwwision\DCBExample\CommandHandler::courseExists() should return Wwwision\DCBExample\Projections\Projection<bool> but returns Wwwision\DCBExample\Projections\GenericProjection<Wwwision\DCBExample\Projections\ProjectionLogic<bool>>.
build: src/CommandHandler.php#L199
Method Wwwision\DCBExample\CommandHandler::courseCapacity() should return Wwwision\DCBExample\Projections\Projection<Wwwision\DCBExample\Types\CourseCapacity> but returns Wwwision\DCBExample\Projections\GenericProjection<Wwwision\DCBExample\Projections\ProjectionLogic<Wwwision\DCBExample\Types\CourseCapacity>>.
build: src/CommandHandler.php#L213
Method Wwwision\DCBExample\CommandHandler::numberOfCourseSubscriptions() should return Wwwision\DCBExample\Projections\Projection<Wwwision\DCBExample\Types\CourseCapacity> but returns Wwwision\DCBExample\Projections\GenericProjection<Wwwision\DCBExample\Projections\ProjectionLogic<int>>.
build: src/CommandHandler.php#L231
Method Wwwision\DCBExample\CommandHandler::courseTitle() should return Wwwision\DCBExample\Projections\Projection<Wwwision\DCBExample\Types\CourseTitle> but returns Wwwision\DCBExample\Projections\GenericProjection<Wwwision\DCBExample\Projections\ProjectionLogic<Wwwision\DCBExample\Types\CourseTitle>>.
build: src/CommandHandler.php#L234
Method Wwwision\DCBExample\CommandHandler::studentRegistered() return type with generic interface Wwwision\DCBExample\Projections\Projection does not specify its types: S
build: src/CommandHandler.php#L254
Method Wwwision\DCBExample\CommandHandler::studentSubscriptions() should return Wwwision\DCBExample\Projections\Projection<Wwwision\DCBExample\Types\CourseIds> but returns Wwwision\DCBExample\Projections\GenericProjection<Wwwision\DCBExample\Projections\ProjectionLogic<bool>>.
build: src/CommandHandler.php#L260
Method Wwwision\DCBExample\CommandHandler::transactional() has parameter $projections with generic interface Wwwision\DCBExample\Projections\Projection but does not specify its types: S
build: src/Projections/GenericProjection.php#L15
PHPDoc tag @implements has invalid type Wwwision\DCBExample\Projections\S.
build: src/Projections/GenericProjection.php#L41
Method Wwwision\DCBExample\Projections\GenericProjection::initialState() has invalid return type Wwwision\DCBExample\Projections\S.
build: src/Projections/GenericProjection.php#L43
Method Wwwision\DCBExample\Projections\GenericProjection::initialState() should return Wwwision\DCBExample\Projections\S but returns mixed.