From 1e29ec371740f596b5dc08e4c3c3c9352cfdc81c Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 17 Jul 2025 20:40:34 +0000 Subject: [PATCH 1/2] Update dependency phpstan/phpstan to ^2.1.18 | datasource | package | from | to | | ---------- | --------------- | ------ | ------ | | packagist | phpstan/phpstan | 2.1.17 | 2.1.18 | --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 48898cc..a3d7e06 100644 --- a/composer.json +++ b/composer.json @@ -14,7 +14,7 @@ "php": "~8.3.0 || ~8.4.0" }, "require-dev": { - "phpstan/phpstan": "^2.1.17", + "phpstan/phpstan": "^2.1.18", "phpstan/phpstan-phpunit": "^2.0.6", "phpstan/phpstan-strict-rules": "^2.0.4", "phpunit/phpunit": "^12.2.7", From f09ce6c1cdc9c381b7ded4c91dd1cdb35728b45b Mon Sep 17 00:00:00 2001 From: Filippo Tessarotto Date: Sun, 20 Jul 2025 22:45:47 +0200 Subject: [PATCH 2/2] SA fix --- tests/ErrorHandlerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ErrorHandlerTest.php b/tests/ErrorHandlerTest.php index 5cf99c0..fba2b03 100644 --- a/tests/ErrorHandlerTest.php +++ b/tests/ErrorHandlerTest.php @@ -113,7 +113,7 @@ public function testHandleCliException(): void $this->errorHandler->exceptionHandler($this->exception); \fseek($memoryStream, 0); - $output = (string) \stream_get_contents($memoryStream); + $output = \stream_get_contents($memoryStream); self::assertStringContainsString($this->exception->getMessage(), $output); }