-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan.neon
32 lines (28 loc) · 973 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
31
32
includes:
- phpstan-ignore.neon
parameters:
level: 8
treatPhpDocTypesAsCertain: false
checkMissingIterableValueType: false
inferPrivatePropertyTypeFromConstructor: true
reportUnmatchedIgnoredErrors: false
# This can be useful from Shopware 6.4.15.0, but as long as we support lower versions we ignore it
checkGenericClassInNonGenericObjectType: false
tmpDir: /tmp/cache/phpstan
featureToggles:
disableCheckMissingIterableValueType: false
paths:
- src
excludePaths:
- infra
- vendor
- build
- bin
- tests
bootstrapFiles:
- bin/static-analyze-autoloader.php
ignoreErrors:
- '#Class Shopware\Core\System\SystemConfig\Event\SystemConfigMultipleChangedEvent not found#'
- '#Class SystemConfigMultipleChangedEvent not found#'
- '#Class BeforeSystemConfigChangedEvent not found#'
- '#Class SystemConfigChangedEvent not found#'