From 170ecf58ce8aa8b3de6bb86a194463c4a57db613 Mon Sep 17 00:00:00 2001 From: Bernhard Rusch Date: Tue, 3 Jan 2023 11:31:02 +0100 Subject: [PATCH] Fixing PhpStan - cherry-picked from https://github.com/pimcore/pimcore/pull/13957 credits: @blankse --- composer.json | 4 ++-- phpstan-baseline.neon | 5 ----- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/composer.json b/composer.json index f97cd7c3428..0c6ce740986 100644 --- a/composer.json +++ b/composer.json @@ -173,8 +173,8 @@ "codeception/codeception": "^4.1.12", "codeception/module-symfony": "^1.6.0", "codeception/phpunit-wrapper": "^9", - "phpstan/phpstan": "^1.9.3", - "phpstan/phpstan-symfony": "^1.2.14", + "phpstan/phpstan": "^1.9.5", + "phpstan/phpstan-symfony": "^1.2.19", "phpunit/phpunit": "^9.3", "spiritix/php-chrome-html2pdf": "^1.6", "elasticsearch/elasticsearch": "^7.11", diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 8d049a96237..ff3413d09ee 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -195,11 +195,6 @@ parameters: count: 1 path: lib/Tool/Serialize.php - - - message: "#^Parameter \\#1 \\$separator of function explode expects non\\-empty\\-string, string given\\.$#" - count: 1 - path: lib/Tool/Text/Csv.php - - message: "#^Negated boolean expression is always true\\.$#" count: 1