forked from forkcms/forkcms
-
Notifications
You must be signed in to change notification settings - Fork 3
/
phpstan.neon
60 lines (59 loc) · 2.12 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
includes:
- vendor/phpstan/phpstan-symfony/extension.neon
parameters:
level: 1
paths:
- src
scanFiles:
- vendor/google/apiclient/src/Google/Task/Retryable.php
- vendor/spoon/library/spoon/form/form.php
bootstrapFiles:
- autoload.php
excludes_analyse:
- src/Backend/Core/Js/ckfinder/core/connector/php/CKSource/CKFinder/
- src/*/Tests/*
- src/Common/WebTestCase.php
- src/Backend/Cache
- src/Frontend/Cache
earlyTerminatingMethodCalls:
Frontend\Core\Engine\Page:
- redirect
- redirectToLogin
Backend\Core\Engine\Base\Action:
- redirect
Backend\Core\Engine\Url:
- redirect
- redirectToErrorPage
Frontend\Core\Engine\Url:
- redirectToLanguage
ignoreErrors:
- '#Constant LANGUAGE not found.#'
- '#Constant FRONTEND_LANGUAGE not found.#'
- '#Constant SITE_URL not found.#'
- '#Constant FRONTEND_FILES_URL not found.#'
- '#Constant FRONTEND_FILES_PATH not found.#'
- '#Constant SITE_MULTILANGUAGE not found.#'
- '#Constant SITE_DEFAULT_LANGUAGE not found.#'
- '#Constant FRONTEND_MODULES_PATH not found.#'
- '#Constant FRONTEND_CORE_PATH not found.#'
- '#Constant SITE_PROTOCOL not found.#'
- '#Constant FRONTEND_CACHE_URL not found.#'
- '#Constant FRONTEND_CACHE_PATH not found.#'
- '#Constant PATH_WWW not found.#'
- '#Constant FRONTEND_PATH not found.#'
- '#Constant NAMED_APPLICATION not found.#'
- '#Constant FORK_VERSION not found.#'
- '#Constant BACKEND_CACHE_URL not found.#'
- '#Constant BACKEND_PATH not found.#'
- '#Constant BACKEND_CORE_PATH not found.#'
- '#Constant ACTION_GROUP_TAG not found.#'
- '#Constant SITE_DOMAIN not found.#'
- '#Constant BACKEND_MODULES_PATH not found.#'
- '#Constant FRONTEND_CORE_URL not found.#'
- '#Constant FRONTEND_THEMES_PATH not found.#'
- '#Constant ACTION_RIGHTS_LEVEL not found.#'
- '#Constant APPLICATION not found.#'
- '#Constant BACKEND_CACHE_PATH not found.#'
- '#Constant SITE_DEFAULT_TITLE not found.#'
symfony:
container_xml_path: var/cache/dev/appForkCMS_App_AppKernelDevDebugContainer.xml