Skip to content

add events ui

add events ui #4

Triggered via push January 30, 2024 12:34
Status Failure
Total duration 29s
Artifacts

phpstan.yml

on: push
Matrix: Static Analysis by PHPStan
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Static Analysis by PHPStan (locked, 8.3, ubuntu-latest): src/Controller/DefaultController.php#L15
Property Patchlevel\EventSourcingAdminBundle\Controller\DefaultController::$twig is never read, only written.
Static Analysis by PHPStan (locked, 8.3, ubuntu-latest): src/Controller/EventController.php#L37
Parameter #1 $event of method Patchlevel\EventSourcing\EventBus\ListenerProvider::listenersForEvent() expects object, class-string given.
Static Analysis by PHPStan (locked, 8.3, ubuntu-latest): src/Controller/EventController.php#L37
Parameter #2 $array of function array_map expects array, iterable<Patchlevel\EventSourcing\EventBus\ListenerDescriptor> given.
Static Analysis by PHPStan (locked, 8.3, ubuntu-latest): src/Controller/EventController.php#L48
Method Patchlevel\EventSourcingAdminBundle\Controller\EventController::projectionMethods() return type has no value type specified in iterable type array.
Static Analysis by PHPStan (locked, 8.3, ubuntu-latest): src/Controller/EventController.php#L60
Method Patchlevel\EventSourcingAdminBundle\Controller\EventController::projectionMethods() should return array but returns array|string.
Static Analysis by PHPStan (locked, 8.3, ubuntu-latest): src/Controller/StoreController.php#L56
Parameter #1 $aggregateName of method Patchlevel\EventSourcing\Metadata\AggregateRoot\AggregateRootRegistry::aggregateClass() expects string, float|int<min, -1>|int<1, max>|string|true given.
Static Analysis by PHPStan (locked, 8.3, ubuntu-latest): src/Controller/StoreController.php#L57
Parameter $aggregateId of class Patchlevel\EventSourcing\Store\Criteria constructor expects string|null, float|int<min, -1>|int<1, max>|string|true|null given.
Static Analysis by PHPStan (locked, 8.3, ubuntu-latest): src/Decorator/RequestIdDecorator.php#L18
Method Patchlevel\EventSourcingAdminBundle\Decorator\RequestIdDecorator::__invoke() has parameter $message with generic class Patchlevel\EventSourcing\EventBus\Message but does not specify its types: T
Static Analysis by PHPStan (locked, 8.3, ubuntu-latest): src/Decorator/RequestIdDecorator.php#L18
Method Patchlevel\EventSourcingAdminBundle\Decorator\RequestIdDecorator::__invoke() return type with generic class Patchlevel\EventSourcing\EventBus\Message does not specify its types: T
Static Analysis by PHPStan (locked, 8.3, ubuntu-latest): src/DependencyInjection/PatchlevelEventSourcingAdminExtension.php#L114
Class Symfony\Component\ExpressionLanguage\ExpressionLanguage not found.
Static Analysis by PHPStan (locked, 8.3, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.