-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathphpstan.neon
More file actions
35 lines (34 loc) · 1.39 KB
/
phpstan.neon
File metadata and controls
35 lines (34 loc) · 1.39 KB
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
33
34
35
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:
- .
bootstrapFiles:
- phpstan-class-aliases.php
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
- Polyfill/EventListener/MatchFilterForLeadTrait.php
- Tests/Functional/EventListener/DynamicContentSubscriberTest.php
dynamicConstantNames:
- MAUTIC_ENV
- MAUTIC_TABLE_PREFIX
- MAUTIC_VERSION
ignoreErrors:
-
message: '#^Call to an undefined method MauticPlugin\\CustomObjectsBundle\\Helper\\ContactFilterMatcher::transformFilterDataForLeadAlias\(\).$#'
path: Helper/ContactFilterMatcher.php