forked from mautic/mautic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.neon
27 lines (27 loc) · 1.18 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
parameters:
level: 1
excludes_analyse:
- *.html.php
- *.js.php
- *.less.php
- *.inc.php
- app/bundles/CoreBundle/Assets/js/libraries/ckeditor/*
- app/bundles/CoreBundle/Controller/AbstractFormController.php
- app/bundles/CoreBundle/Controller/AbstractStandardFormController.php
- app/bundles/CoreBundle/Tests/_support/*
- app/bundles/CoreBundle/Tests/Functional/IpLookupFactoryCest.php
- app/bundles/CoreBundle/Tests/Unit/Doctrine/ArrayTypeTest.php
- app/bundles/CoreBundle/Views/Helper/action_button_helper.php
- app/bundles/FormBundle/Views/Field/field_helper.php
- app/bundles/CoreBundle/Loader/ParameterLoader.php
- app/bundles/CoreBundle/Helper/PathsHelper.php
- app/bundles/CoreBundle/Configurator/Configurator.php
ignoreErrors:
- '#Cannot unset offset#'
- '#Undefined variable: \$parameters#'
- '#Constant MAUTIC_TABLE_PREFIX not found.#'
- '#Constant MAUTIC_ENV not found.#'
- '#Constant MAUTIC_VERSION not found.#'
- '/Variable \$\w+ might not be defined\./'
- '/Variable \$paths in isset\(\) is never defined\./'
- '#Call to an undefined static method static\(Mautic\\IntegrationsBundle\\Bundle\\AbstractPluginBundle\)::installAllTablesIfMissing\(\).#'