Skip to content

Commit 2aae289

Browse files
committed
Ignore by identifier instead of plain error
1 parent d705d13 commit 2aae289

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/phpstan.neon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ parameters:
117117
message: "#^Parameter \\#1 (?:\\$argument|\\$objectOrClass) of class ReflectionClass constructor expects class\\-string\\<PHPStan\\\\ExtensionInstaller\\\\GeneratedConfig\\>\\|PHPStan\\\\ExtensionInstaller\\\\GeneratedConfig, string given\\.$#"
118118
count: 1
119119
path: ../src/Diagnose/PHPStanDiagnoseExtension.php
120-
- '#^Short ternary operator is not allowed#'
120+
- identifier: ternary.shortNotAllowed
121121
reportStaticMethodSignatures: true
122122
tmpDir: %rootDir%/tmp
123123
stubFiles:

0 commit comments

Comments
 (0)