From 283f002e5a8e293967810ee7ac7edfa3a5ece07d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=BDborn=C3=BD=20Adam?= Date: Thu, 6 Apr 2023 09:47:05 +0200 Subject: [PATCH] Fix PHPStan on PHP 8+ --- phpstan-baseline-8+.neon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpstan-baseline-8+.neon b/phpstan-baseline-8+.neon index 45a2f3a..e528d50 100644 --- a/phpstan-baseline-8+.neon +++ b/phpstan-baseline-8+.neon @@ -131,7 +131,7 @@ parameters: path: src/CsvWriter.php - - message: "#^Parameter \\#3 \\$subject of function str_replace expects array\\|string, bool\\|float\\|int\\|object\\|string given\\.$#" + message: "#^Parameter \\#3 \\$subject of function str_replace expects array\\|string, float\\|int\\|object\\|string\\|true given\\.$#" count: 1 path: src/CsvWriter.php