forked from mautic/mautic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.neon
40 lines (38 loc) · 1.06 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
28
29
30
31
32
33
34
35
36
37
38
39
40
includes:
- phpstan-baseline.neon
- vendor/phpstan/phpstan/conf/bleedingEdge.neon
parameters:
tmpDir: ./var/cache/phpstan
level: 6
reportUnmatchedIgnoredErrors: false
parallel:
maximumNumberOfProcesses: 4
processTimeout: 1000.0
paths:
- app/bundles
- app/migrations
- plugins
excludePaths:
- *.html.php
- *.js.php
- *.less.php
- *.inc.php
- app/bundles/CoreBundle/Controller/AbstractFormController.php
- app/bundles/CoreBundle/Controller/AbstractStandardFormController.php
dynamicConstantNames:
- MAUTIC_ENV
- MAUTIC_TABLE_PREFIX
- MAUTIC_VERSION
bootstrapFiles:
- phpstan-bootstrap.php
ignoreErrors:
- '/Variable \$\w+ might not be defined\./'
scanFiles:
# This is here because a few functions in the global namespace are defined in this file
- vendor/twig/twig/src/Extension/EscaperExtension.php
doctrine:
objectManagerLoader: tests/object-manager.php
allowNullablePropertyForRequiredField: true
symfony:
containerXmlPath: var/cache/test/AppKernelTestDebugContainer.xml
consoleApplicationLoader: app/console-application.php