-
Notifications
You must be signed in to change notification settings - Fork 17
/
phpstan.neon
27 lines (26 loc) · 1.02 KB
/
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
includes:
- phpstan-baseline-php-versions.neon.php
- ../../vendor/phpstan/phpstan/conf/bleedingEdge.neon
parameters:
level: 6
reportUnmatchedIgnoredErrors: false
checkGenericClassInNonGenericObjectType: false
parallel:
maximumNumberOfProcesses: 4
processTimeout: 1000.0
scanDirectories:
- ../../app
paths:
- .
excludePaths:
- CustomFieldType/*Type.php # This should be refactored
- *.html.php # this can be removed in Mautic 5
- Extension/CustomItemListeningExtension.php # PHPSTAN is confused because it exists only if API Platform does.
- Serializer/ApiNormalizer.php # PHPSTAN is confused because it exists only if API Platform does.
- Tests/Unit/Serializer/ApiNormalizerTest.php # PHPSTAN is confused because it exists only if API Platform does.
- DataPersister/CustomItemDataPersister.php # PHPSTAN is confused because it exists only if API Platform does.
- Tests/Unit/EventListener/SegmentFiltersChoicesGenerateSubscriberTest.php
dynamicConstantNames:
- MAUTIC_ENV
- MAUTIC_TABLE_PREFIX
- MAUTIC_VERSION