From ec4557352169cfe1a978542690ccd9bfbedfba04 Mon Sep 17 00:00:00 2001 From: max Date: Wed, 7 Oct 2026 12:42:21 +0300 Subject: [PATCH] Remove the @phpstan-ignore that no longer matches Recent PHPStan 2.2.x infers the nested property assignment correctly, so the ignore is unmatched and phpstan fails on every cell of the CI matrix (8.4/8.5 x lowest/highest). --- src/MessageBus/Handling/Handlers.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/MessageBus/Handling/Handlers.php b/src/MessageBus/Handling/Handlers.php index b55ba5f..9aacd48 100644 --- a/src/MessageBus/Handling/Handlers.php +++ b/src/MessageBus/Handling/Handlers.php @@ -54,7 +54,6 @@ public function with(string $messageClass, callable $handler, string $qualifier } $copy = clone $this; - /** @phpstan-ignore assign.propertyType */ $copy->handlers[$messageClass][$qualifier] = $handler; return $copy;