-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan.neon
More file actions
32 lines (26 loc) · 964 Bytes
/
phpstan.neon
File metadata and controls
32 lines (26 loc) · 964 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
parameters:
level: 9
paths:
- src
- bin
# PHP version
phpVersion: 80200
# Ignore errors in vendor
excludePaths:
- vendor
# Additional checks
checkMissingCallableSignature: true
checkUninitializedProperties: true
checkTooWideReturnTypesInProtectedAndPublicMethods: true
# Report always true conditions
reportAlwaysTrueInLastCondition: true
# Ignore errors
ignoreErrors:
# OpenEMR global functions not available for static analysis
# reportUnmatched: false allows CI to pass when function_exists() guards are used
- message: '#Function (xlt|xla|xlj|text|attr|sqlStatement|sqlQuery|sqlFetchArray) not found#'
reportUnmatched: false
# OpenEMR classes not available without full OpenEMR installation
# reportUnmatched: false allows CI to pass when OpenEMR IS installed
- message: '#OpenEMR#'
reportUnmatched: false