From 27231e556b201b87d50316e3d15f4e21f1056b98 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 24 Mar 2025 19:12:36 +0000 Subject: [PATCH 1/2] Update all non-major dependencies | datasource | package | from | to | | ---------- | ----------------------- | ------ | ------- | | packagist | phpstan/phpstan | 2.1.8 | 2.1.11 | | packagist | phpstan/phpstan-phpunit | 2.0.4 | 2.0.5 | | packagist | phpunit/phpunit | 12.0.9 | 12.0.10 | --- composer.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index a7375c1..cc56a7a 100644 --- a/composer.json +++ b/composer.json @@ -14,10 +14,10 @@ "php": "~8.3.0 || ~8.4.0" }, "require-dev": { - "phpstan/phpstan": "^2.1.8", - "phpstan/phpstan-phpunit": "^2.0.4", + "phpstan/phpstan": "^2.1.11", + "phpstan/phpstan-phpunit": "^2.0.5", "phpstan/phpstan-strict-rules": "^2.0.4", - "phpunit/phpunit": "^12.0.9", + "phpunit/phpunit": "^12.0.10", "slam/php-cs-fixer-extensions": "^3.12", "symfony/console": "^7.2.1" }, From cef63a48fbc736332b12fad7d008c21c617aa8da Mon Sep 17 00:00:00 2001 From: Filippo Tessarotto Date: Tue, 25 Mar 2025 07:14:20 +0100 Subject: [PATCH 2/2] PHPStan fix --- phpstan-baseline.neon | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 403c999..3103387 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -42,15 +42,3 @@ parameters: count: 1 path: tests/ErrorHandlerTest.php - - - message: '#^Parameter \#1 \$needle of static method PHPUnit\\Framework\\Assert\:\:assertStringContainsString\(\) expects string, mixed given\.$#' - identifier: argument.type - count: 2 - path: tests/ErrorHandlerTest.php - - - - message: '#^Parameter \#1 \$needle of static method PHPUnit\\Framework\\Assert\:\:assertStringNotContainsString\(\) expects string, mixed given\.$#' - identifier: argument.type - count: 2 - path: tests/ErrorHandlerTest.php -