Skip to content

Commit 85351dd

Browse files
committed
Fix build
1 parent 6c4477c commit 85351dd

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

Diff for: build/phpstan.neon

+4
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,10 @@ parameters:
8484
message: "#^Parameter \\#1 (?:\\$argument|\\$objectOrClass) of class ReflectionClass constructor expects class\\-string\\<PHPStan\\\\ExtensionInstaller\\\\GeneratedConfig\\>\\|PHPStan\\\\ExtensionInstaller\\\\GeneratedConfig, string given\\.$#"
8585
count: 1
8686
path: ../src/Command/CommandHelper.php
87+
-
88+
message: "#^Parameter \\#1 (?:\\$argument|\\$objectOrClass) of class ReflectionClass constructor expects class\\-string\\<PHPStan\\\\ExtensionInstaller\\\\GeneratedConfig\\>\\|PHPStan\\\\ExtensionInstaller\\\\GeneratedConfig, string given\\.$#"
89+
count: 1
90+
path: ../src/Diagnose/PHPStanDiagnoseExtension.php
8791
- '#^Parameter \#1 \$offsetType of class PHPStan\\Type\\Accessory\\HasOffsetType constructor expects PHPStan\\Type\\Constant\\ConstantIntegerType\|PHPStan\\Type\\Constant\\ConstantStringType#'
8892
- '#^Short ternary operator is not allowed#'
8993
reportStaticMethodSignatures: true

Diff for: phpstan-baseline.neon

-5
Original file line numberDiff line numberDiff line change
@@ -164,11 +164,6 @@ parameters:
164164
count: 1
165165
path: src/Diagnose/PHPStanDiagnoseExtension.php
166166

167-
-
168-
message: "#^Parameter \\#1 \\$objectOrClass of class ReflectionClass constructor expects class\\-string\\<PHPStan\\\\ExtensionInstaller\\\\GeneratedConfig\\>\\|PHPStan\\\\ExtensionInstaller\\\\GeneratedConfig, string given\\.$#"
169-
count: 1
170-
path: src/Diagnose/PHPStanDiagnoseExtension.php
171-
172167
-
173168
message: "#^Parameter \\#1 \\$path of function dirname expects string, string\\|false given\\.$#"
174169
count: 1

0 commit comments

Comments
 (0)