Skip to content

Commit 65c4509

Browse files
committed
Added phpstan baseline
1 parent ea8eb37 commit 65c4509

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@
55
/.gitignore export-ignore
66
/phpcs.xml export-ignore
77
/phpstan.neon export-ignore
8+
/phpstan-baseline.neon export-ignore
89
/phpunit.xml export-ignore

phpstan-baseline.neon

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
parameters:
2+
ignoreErrors:
3+
-
4+
message: "#^Parameter \\#2 \\$callback of method flight\\\\core\\\\Dispatcher\\:\\:set\\(\\) expects Closure\\(\\)\\: mixed, array\\{\\$this\\(flight\\\\Engine\\), literal\\-string&non\\-falsy\\-string\\} given\\.$#"
5+
count: 1
6+
path: flight/Engine.php

phpstan.neon

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
includes:
22
- vendor/phpstan/phpstan/conf/bleedingEdge.neon
3+
- phpstan-baseline.neon
34

45
parameters:
56
level: 6

0 commit comments

Comments
 (0)