forked from shopware/SwagPayPal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan.neon.dist
23 lines (20 loc) · 974 Bytes
/
phpstan.neon.dist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
parameters:
level: 8
tmpDir: var/cache/phpstan
inferPrivatePropertyTypeFromConstructor: true
checkMissingIterableValueType: false
symfony:
constant_hassers: false
# the placeholder "%ShopwareHashedCacheDir%" will be replaced on execution by bin/phpstan-config-generator.php script
container_xml_path: '%rootDir%/../../../../../../..%ShopwareHashedCacheDir%/srcShopware_Development_KernelDevDebugContainer.xml'
featureToggles:
unusedClassElements: true
ignoreErrors:
- # the mock classes do not implement all methods correctly
message: '#Method .*Mock::.* but return statement is missing\.#'
path: tests
- # This service gets registered within Cms Extensions
message: '#is not registered in the container#'
path: tests/Checkout/ExpressCheckout/ExpressCheckoutSubscriberTest.php
bootstrapFiles:
- bin/static-analyze-autoloader.php