Skip to content

Update dependency phpstan/phpstan to v2 #206

Update dependency phpstan/phpstan to v2

Update dependency phpstan/phpstan to v2 #206

Triggered via push December 30, 2024 14:44
Status Failure
Total duration 1m 7s
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/EventController.php#L48
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#L56
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#L56
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#L60
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#L86
Method Patchlevel\EventSourcingAdminBundle\Controller\EventController::source() is unused.
Static Analysis by PHPStan (locked, 8.3, ubuntu-latest): src/Controller/EventController.php#L99
Access to an undefined property Patchlevel\EventSourcingAdminBundle\Controller\EventController::$traceProjector.
Static Analysis by PHPStan (locked, 8.3, ubuntu-latest): src/Controller/EventController.php#L105
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#L107
Argument of an invalid type mixed supplied for foreach, only iterables are supported.
Static Analysis by PHPStan (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