-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan.neon.dist
More file actions
19 lines (17 loc) · 674 Bytes
/
Copy pathphpstan.neon.dist
File metadata and controls
19 lines (17 loc) · 674 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
includes:
- phpstan-baseline.neon
parameters:
level: 8
paths:
- src
- config
tmpDir: build/phpstan
checkOctaneCompatibility: true
checkModelProperties: true
treatPhpDocTypesAsCertain: false
reportUnmatchedIgnoredErrors: false
# Model classes use dynamic properties via __get/__set
# These are expected to be accessed dynamically and should not be flagged
ignoreErrors:
# Ignore undefined property access in Model classes (dynamic attributes)
- '#Access to an undefined property SapB1\\Toolkit\\Models\\(Sales|Purchase|Inventory|Finance|BusinessPartner|Lines|Production)\\[A-Za-z]+::\$[A-Za-z]+#'