From 511bbd575d251637ebe460efb88ad4d6d900eedd Mon Sep 17 00:00:00 2001 From: Markus Staab Date: Mon, 22 Dec 2025 15:29:47 +0100 Subject: [PATCH] Ignore by identifier instead of plain error --- build/phpstan.neon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/phpstan.neon b/build/phpstan.neon index 73ba020848..5a5a3b3d80 100644 --- a/build/phpstan.neon +++ b/build/phpstan.neon @@ -117,7 +117,7 @@ parameters: message: "#^Parameter \\#1 (?:\\$argument|\\$objectOrClass) of class ReflectionClass constructor expects class\\-string\\\\|PHPStan\\\\ExtensionInstaller\\\\GeneratedConfig, string given\\.$#" count: 1 path: ../src/Diagnose/PHPStanDiagnoseExtension.php - - '#^Short ternary operator is not allowed#' + - identifier: ternary.shortNotAllowed reportStaticMethodSignatures: true tmpDir: %rootDir%/tmp stubFiles: