-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan.neon
More file actions
executable file
·39 lines (30 loc) · 835 Bytes
/
phpstan.neon
File metadata and controls
executable file
·39 lines (30 loc) · 835 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
29
30
31
32
33
34
35
36
37
38
39
parameters:
level: 6
paths:
- src
# Ignore patterns for generated or vendor files
excludePaths:
- src/Console/Commands/stubs
- tests/temp
# Additional checks for better code quality
checkGenericClassInNonGenericObjectType: true
checkMissingCallableSignature: true
checkTooWideReturnTypesInProtectedAndPublicMethods: true
checkUninitializedProperties: true
checkDynamicProperties: false
# Type coverage settings
reportUnmatchedIgnoredErrors: false
# Memory limit
memoryLimitFile: 256M
# Bootstrap file if needed
# bootstrapFiles:
# - tests/bootstrap.php
# Stub files for better type inference
stubFiles: []
ignoreErrors:
-
identifier: missingType.iterableValue
# Rules configuration
rules: []
# Service configuration for better analysis
services: []