forked from DamienHarper/auditor
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan.neon
More file actions
17 lines (15 loc) · 800 Bytes
/
phpstan.neon
File metadata and controls
17 lines (15 loc) · 800 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
parameters:
level: max
inferPrivatePropertyTypeFromConstructor: true
type_coverage:
return_type: 100
param_type: 100
property_type: 100
ignoreErrors:
- identifier: missingType.iterableValue
- identifier: missingType.generics
# false positives
- '~Dead catch - Throwable is never thrown in the try block~'
- '~Parameter \#1 \$className of method Doctrine\\ORM\\EntityManagerInterface\:\:getClassMetadata\(\) expects class-string<object>, string given\.~'
- '~Unable to resolve the template type T in call to method Doctrine\\ORM\\EntityManagerInterface\:\:getClassMetadata\(\)~'
- '~Property DH\\Auditor\\Provider\\Doctrine\\Configuration\:\:\$(storage|auditing)Services is never read, only written\.~'