-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.neon
29 lines (26 loc) · 952 Bytes
/
phpstan.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
parameters:
level: max
checkGenericClassInNonGenericObjectType: false
paths:
- src
- tests
typeAliases:
HeadersArray: 'array<string,string>'
RouteArray: 'array{id:string,path:string,action:mixed,parameters?:array<string,mixed>}'
ignoreErrors:
-
message: '#^Variable \$\w+ might not be defined.$#'
path: tests/src/AbstractActionTest/*
count: 1
-
message: '#^Call to an undefined method DanBettles\\Marigold\\OutputHelper\\Html5OutputHelper::create(Input)?\(\)#'
path: tests/src/OutputHelper/Html5OutputHelperTest.php
count: 2
-
message: '#^Variable \$\w+ might not be defined.$#'
path: tests/src/PhpTest/*
count: 2
-
message: '#^Variable \$\w+ might not be defined.$#'
path: tests/src/TemplateEngine/EngineTest/*
count: 5