-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathphpstan.neon
More file actions
28 lines (21 loc) · 816 Bytes
/
phpstan.neon
File metadata and controls
28 lines (21 loc) · 816 Bytes
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
includes:
- phpstan-baseline.neon
parameters:
level: max
checkFunctionNameCase: true
checkInternalClassCaseSensitivity: true
treatPhpDocTypesAsCertain: false
paths:
- src
universalObjectCratesClasses: # to ignore magic property errors
- ipl\Sql\Config
ignoreErrors:
-
messages:
- '#Unsafe usage of new static\(\)#'
- '#. but return statement is missing#'
reportUnmatched: false
- '#Call to an undefined method ipl\\Sql\\Connection::exec\(\)#'
- '#Call to an undefined method ipl\\Sql\\Connection::query\(\)#'
- '#Call to an undefined method ipl\\Sql\\Connection::quote\(\)#'
- '#Method .*\\(In|NotIn)::getValue\(\) should return ipl\\Sql\\Select but returns mixed.$#'