-
Notifications
You must be signed in to change notification settings - Fork 8
/
phpstan.neon
30 lines (25 loc) · 905 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
parameters:
paths:
- src
- tests
# The level 9 is the highest level
level: 5
ignoreErrors:
- '#Access to protected property#'
- '#should return#'
- '#Call to an undefined static method#'
- '#Call to an undefined method#'
- '#Call to static method#'
- '#Parameter \#1 \$callback of method Illuminate\\Database\\Eloquent\\Pending#'
- '#Property Illuminate\\Database\\Query\\Builder\:\:\$groupLimit \(array\)#'
excludePaths:
checkFunctionNameCase: true
checkInternalClassCaseSensitivity: true
checkAlwaysTrueInstanceof: true
reportMaybesInMethodSignatures: true
reportStaticMethodSignatures: true
checkUninitializedProperties: true
checkDynamicProperties: true
reportAlwaysTrueInLastCondition: true
reportWrongPhpDocTypeInVarTag: true
checkMissingCallableSignature: true