Skip to content

Commit

Permalink
PHPStan enable bleeding edge (#184)
Browse files Browse the repository at this point in the history
  • Loading branch information
staabm authored Oct 9, 2024
1 parent 7ec3a3f commit e4f75e2
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
20 changes: 20 additions & 0 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,21 @@ parameters:
count: 3
path: lib/Baseline.php

-
message: "#^Call to function is_array\\(\\) with array\\{ignoreErrors\\?\\: list\\<array\\{message\\: string, count\\: int, path\\: string\\}\\>\\} will always evaluate to true\\.$#"
count: 1
path: lib/Baseline.php

-
message: "#^Call to function is_array\\(\\) with list\\<array\\{message\\: string, count\\: int, path\\: string\\}\\> will always evaluate to true\\.$#"
count: 1
path: lib/Baseline.php

-
message: "#^Property staabm\\\\PHPStanBaselineAnalysis\\\\Baseline\\:\\:\\$content \\(array\\{parameters\\?\\: array\\{ignoreErrors\\?\\: list\\<array\\{message\\: string, count\\: int, path\\: string\\}\\>\\}\\}\\) does not accept array\\.$#"
count: 1
path: lib/Baseline.php

-
message: """
#^Call to deprecated function Safe\\\\substr\\(\\)\\:
Expand All @@ -40,6 +55,11 @@ parameters:
count: 2
path: lib/FilterConfig.php

-
message: "#^Parameter \\#1 \\$jsonFiles of method staabm\\\\PHPStanBaselineAnalysis\\\\GraphApplication\\:\\:iterateOverFiles\\(\\) expects list\\<string\\>, array given\\.$#"
count: 1
path: lib/GraphApplication.php

-
message: """
#^Call to deprecated function Safe\\\\sprintf\\(\\)\\:
Expand Down
3 changes: 2 additions & 1 deletion phpstan.neon.dist
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
includes:
- phpstan-baseline.neon
- phar://phpstan.phar/conf/bleedingEdge.neon
- phpstan-baseline.neon

parameters:
level: max
Expand Down

0 comments on commit e4f75e2

Please # to comment.