Skip to content

Support stream store #282

Support stream store

Support stream store #282

Triggered via pull request January 15, 2025 09:46
Status Failure
Total duration 34s
Artifacts

psalm.yml

on: pull_request
Matrix: Static Analysis by Psalm
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
MixedAssignment: src/Controller/InspectionController.php#L76
src/Controller/InspectionController.php:76:9: MixedAssignment: Unable to determine the type that $aggregate is being assigned to (see https://psalm.dev/032)
UnusedVariable: src/Controller/InspectionController.php#L76
src/Controller/InspectionController.php:76:9: UnusedVariable: $aggregate is never referenced or the value is not used (see https://psalm.dev/077)
UndefinedMethod: src/Controller/InspectionController.php#L76
src/Controller/InspectionController.php:76:29: UndefinedMethod: Method Patchlevel\EventSourcingAdminBundle\Controller\InspectionController::getAggregateFromRequest does not exist (see https://psalm.dev/022)
UndefinedVariable: src/Controller/InspectionController.php#L86
src/Controller/InspectionController.php:86:72: UndefinedVariable: Cannot find referenced variable $aggregateName (see https://psalm.dev/024)
MixedArgument: src/Controller/InspectionController.php#L86
src/Controller/InspectionController.php:86:72: MixedArgument: Argument 1 of Patchlevel\EventSourcing\Metadata\AggregateRoot\AggregateRootRegistry::aggregateClass cannot be mixed, expecting string (see https://psalm.dev/030)
UndefinedVariable: src/Controller/InspectionController.php#L87
src/Controller/InspectionController.php:87:55: UndefinedVariable: Cannot find referenced variable $aggregateId (see https://psalm.dev/024)
MixedArgument: src/Controller/InspectionController.php#L87
src/Controller/InspectionController.php:87:55: MixedArgument: Argument 2 of Patchlevel\EventSourcingAdminBundle\Controller\InspectionController::aggregate cannot be mixed, expecting string (see https://psalm.dev/030)
TooManyArguments: src/Controller/InspectionController.php#L133
src/Controller/InspectionController.php:133:28: TooManyArguments: Too many arguments for method Patchlevel\EventSourcingAdminBundle\Controller\InspectionController::createcriteriafromrequest - saw 2 (see https://psalm.dev/026)
InvalidArgument: src/Controller/InspectionController.php#L133
src/Controller/InspectionController.php:133:54: InvalidArgument: Argument 1 of Patchlevel\EventSourcingAdminBundle\Controller\InspectionController::createCriteriaFromRequest expects Symfony\Component\HttpFoundation\Request, but string provided (see https://psalm.dev/004)
InternalMethod: src/Controller/InspectionController.php#L173
src/Controller/InspectionController.php:173:33: InternalMethod: The method Symfony\Component\HttpFoundation\Request::get is internal to Symfony but called from Patchlevel\EventSourcingAdminBundle\Controller\InspectionController::createCriteriaFromRequest (see https://psalm.dev/175)
Static Analysis by Psalm (locked, 8.3, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636