-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
phpstan.neon
29 lines (29 loc) · 1.36 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
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: \$container#'
- '#Undefined variable: \$parameters#'
- '#Access to an undefined property Mautic\\AssetBundle\\Controller\\UploadController::\$errorHandler.#' # issue of the oneup/uploader-bundle package
- '#Call to an undefined static method Mautic\\IntegrationsBundle\\Bundle\\AbstractPluginBundle::installAllTablesIfMissing\(\).#'
- '#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\./'