From af90590c8f88cf7ecc146ac0685b1cb3f69de84d Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Thu, 14 Sep 2023 11:47:44 +0200 Subject: [PATCH] Update baseline (1689, 92) --- phpstan/baseline-8.1.neon | 5 ----- phpstan/baseline.neon | 10 +++++----- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/phpstan/baseline-8.1.neon b/phpstan/baseline-8.1.neon index 26137b6ca..9c13d8216 100644 --- a/phpstan/baseline-8.1.neon +++ b/phpstan/baseline-8.1.neon @@ -180,11 +180,6 @@ parameters: count: 1 path: ../src/Composer/Util/Http/CurlDownloader.php - - - message: "#^Parameter \\#1 \\$haystack of function strpos expects string, string\\|null given\\.$#" - count: 1 - path: ../src/Composer/Util/Http/CurlDownloader.php - - message: "#^Parameter \\#1 \\$multi_handle of function curl_multi_add_handle expects CurlMultiHandle, resource\\|null given\\.$#" count: 1 diff --git a/phpstan/baseline.neon b/phpstan/baseline.neon index 73f87c388..afa3486b2 100644 --- a/phpstan/baseline.neon +++ b/phpstan/baseline.neon @@ -5,11 +5,6 @@ parameters: count: 1 path: ../src/Composer/Advisory/Auditor.php - - - message: "#^Variable \\$affectedPackagesCount might not be defined\\.$#" - count: 1 - path: ../src/Composer/Advisory/Auditor.php - - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 10 @@ -4148,6 +4143,11 @@ parameters: count: 2 path: ../src/Composer/Util/Http/CurlDownloader.php + - + message: "#^Casting to string something that's already string\\.$#" + count: 1 + path: ../src/Composer/Util/Http/CurlDownloader.php + - message: "#^Constant CURLOPT_PROXY_CAINFO not found\\.$#" count: 1