Skip to content

Commit e4f75e2

Browse files
authored
PHPStan enable bleeding edge (#184)
1 parent 7ec3a3f commit e4f75e2

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

phpstan-baseline.neon

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,21 @@ parameters:
2424
count: 3
2525
path: lib/Baseline.php
2626

27+
-
28+
message: "#^Call to function is_array\\(\\) with array\\{ignoreErrors\\?\\: list\\<array\\{message\\: string, count\\: int, path\\: string\\}\\>\\} will always evaluate to true\\.$#"
29+
count: 1
30+
path: lib/Baseline.php
31+
32+
-
33+
message: "#^Call to function is_array\\(\\) with list\\<array\\{message\\: string, count\\: int, path\\: string\\}\\> will always evaluate to true\\.$#"
34+
count: 1
35+
path: lib/Baseline.php
36+
37+
-
38+
message: "#^Property staabm\\\\PHPStanBaselineAnalysis\\\\Baseline\\:\\:\\$content \\(array\\{parameters\\?\\: array\\{ignoreErrors\\?\\: list\\<array\\{message\\: string, count\\: int, path\\: string\\}\\>\\}\\}\\) does not accept array\\.$#"
39+
count: 1
40+
path: lib/Baseline.php
41+
2742
-
2843
message: """
2944
#^Call to deprecated function Safe\\\\substr\\(\\)\\:
@@ -40,6 +55,11 @@ parameters:
4055
count: 2
4156
path: lib/FilterConfig.php
4257

58+
-
59+
message: "#^Parameter \\#1 \\$jsonFiles of method staabm\\\\PHPStanBaselineAnalysis\\\\GraphApplication\\:\\:iterateOverFiles\\(\\) expects list\\<string\\>, array given\\.$#"
60+
count: 1
61+
path: lib/GraphApplication.php
62+
4363
-
4464
message: """
4565
#^Call to deprecated function Safe\\\\sprintf\\(\\)\\:

phpstan.neon.dist

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
includes:
2-
- phpstan-baseline.neon
2+
- phar://phpstan.phar/conf/bleedingEdge.neon
3+
- phpstan-baseline.neon
34

45
parameters:
56
level: max

0 commit comments

Comments
 (0)