Skip to content

Update dependency php to ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0 #179

Update dependency php to ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0

Update dependency php to ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0 #179

Triggered via pull request November 24, 2024 03:14
Status Failure
Total duration 1m 3s
Artifacts

phpstan.yml

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

Annotations

10 errors
Static Analysis by PHPStan (locked, 8.3, ubuntu-latest): src/Controller/EventController.php#L49
Method Patchlevel\EventSourcingAdminBundle\Controller\EventController::listenerMethods() return type has no value type specified in iterable type array.
Static Analysis by PHPStan (locked, 8.3, ubuntu-latest): src/Controller/EventController.php#L57
Parameter #1 $eventClass of method Patchlevel\EventSourcing\EventBus\ListenerProvider::listenersForEvent() expects class-string, string given.
Static Analysis by PHPStan (locked, 8.3, ubuntu-latest): src/Controller/EventController.php#L57
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#L61
Method Patchlevel\EventSourcingAdminBundle\Controller\EventController::subscribersMethods() return type has no value type specified in iterable type array.
Static Analysis by PHPStan (locked, 8.3, ubuntu-latest): src/Controller/EventController.php#L88
Method Patchlevel\EventSourcingAdminBundle\Controller\EventController::source() is unused.
Static Analysis by PHPStan (locked, 8.3, ubuntu-latest): src/Controller/EventController.php#L101
Access to an undefined property Patchlevel\EventSourcingAdminBundle\Controller\EventController::$traceProjector.
Static Analysis by PHPStan (locked, 8.3, ubuntu-latest): src/Controller/EventController.php#L107
Parameter #1 $eventClass of method Patchlevel\EventSourcing\Metadata\Event\EventRegistry::eventName() expects class-string, string given.
Static Analysis by PHPStan (locked, 8.3, ubuntu-latest): src/Controller/EventController.php#L120
Access to an undefined property Patchlevel\EventSourcingAdminBundle\Controller\EventController::$traceProjector.
Static Analysis by PHPStan (locked, 8.3, ubuntu-latest): src/Controller/EventController.php#L141
Access to an undefined property Patchlevel\EventSourcingAdminBundle\Controller\EventController::$traceProjector.
Static Analysis by PHPStan (locked, 8.3, ubuntu-latest): src/Controller/EventController.php#L151
Method Patchlevel\EventSourcingAdminBundle\Controller\EventController::findSources() should return array<int, Patchlevel\EventSourcingAdminBundle\Projection\Node> but returns array<int<0, max>, Patchlevel\EventSourcingAdminBundle\Projection\Node|null>.