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: