-
Notifications
You must be signed in to change notification settings - Fork 1
/
phpstan.neon
32 lines (22 loc) · 912 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
30
31
32
includes:
- phpstan-baseline.neon
parameters:
level: max
checkFunctionNameCase: true
checkInternalClassCaseSensitivity: true
treatPhpDocTypesAsCertain: false
paths:
- src
scanDirectories:
- vendor
ignoreErrors:
-
messages:
- '#Unsafe usage of new static\(\)#'
- '#. but return statement is missing#'
reportUnmatched: false
- '#Call to an undefined method DateTimeInterface::#'
- '#Call to an undefined method React\\Promise\\PromiseInterface::#'
- '#Method ipl\\Scheduler\\.* should return \$this.* but returns static#'
- '#Parameter \#1 \$rrule of class Recurr\\Rule constructor expects string\|null, array.*\|string given#'
- '#Parameter \#1 \$callback of function call_user_func_array expects callable\(\): mixed, array{Recurr\\Rule, string} given#'