-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathphpstan.neon.dist
More file actions
13 lines (13 loc) · 817 Bytes
/
Copy pathphpstan.neon.dist
File metadata and controls
13 lines (13 loc) · 817 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
parameters:
level: 9
checkMissingCallableSignature: true
rememberPossiblyImpureFunctionValues: false #risky to remember these, better for performance to avoid repeated calls anyway
treatPhpDocTypesAsCertain: false
paths:
- src
typeAliases:
#variadics don't work for this - mixed probably shouldn't work either, but for now it does
#what we actually need is something that accepts an infinite number of parameters, but in the absence of that,
#we'll just fill it with 10 - it's very unlikely to encounter a callable with 10 parameters anyway.
anyCallable: 'callable(never, never, never, never, never, never, never, never, never, never) : mixed'
anyClosure: '\Closure(never, never, never, never, never, never, never, never, never, never) : mixed'