From 69c63672259a146d97f28d97ef01c63e7ba3b248 Mon Sep 17 00:00:00 2001 From: Dmitriy Derepko Date: Fri, 26 Dec 2025 11:46:57 +0400 Subject: [PATCH 1/2] fix: ignore psalm error --- src/Internal/Promise/CancellationQueue.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Internal/Promise/CancellationQueue.php b/src/Internal/Promise/CancellationQueue.php index b7ba16ac8..59c27943a 100644 --- a/src/Internal/Promise/CancellationQueue.php +++ b/src/Internal/Promise/CancellationQueue.php @@ -41,6 +41,7 @@ public function __invoke(): void private function drain(): void { + /** @psalm-suppress PossiblyNullArrayOffset */ for ($i = \key($this->queue); isset($this->queue[$i]); $i++) { $cancellable = $this->queue[$i]; From aeb32ca3b1bfedd9dd15f3297a11b2f886112a6a Mon Sep 17 00:00:00 2001 From: Dmitriy Derepko Date: Fri, 9 Jan 2026 12:13:45 +0400 Subject: [PATCH 2/2] chore: update psalm baseline --- psalm-baseline.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/psalm-baseline.xml b/psalm-baseline.xml index 1c68e7830..4a266db98 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -1,5 +1,5 @@ - +