forked from chamilo/chamilo-lms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.neon
82 lines (77 loc) · 2.62 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
parameters:
level: 5
paths:
- src
# - public/main
# - public/main/inc/lib/agenda.lib.php
# - public/main/inc/lib/AnnouncementEmail.php
# - public/main/inc/lib/AnnouncementManager.php
# - public/main/inc/lib/api.lib.php
# - public/main/inc/lib/array.lib.php
bootstrapFiles:
- public/legacy.php
- public/main/inc/lib/events.lib.php
symfony:
container_xml_path: %rootDir%/../../../var/cache/dev/Chamilo_KernelDevDebugContainer.xml
doctrine:
objectManagerLoader: %rootDir%/../../../tests/phpstan/doctrine-orm-bootstrap.php
excludes_analyse:
- public/main/admin/db.php
- public/main/admin/index.php
- public/main/admin/settings.php
- public/main/admin/periodic_export.php
- public/main/admin/user_move_stats.php
- public/main/admin/settings.lib.php
- public/main/admin/user_update_import.php
- public/main/admin/teachers_time_by_session_report.php
- public/main/admin/specific_fields.php
- public/main/admin/sub_language*
- public/main/admin/special_exports.php
- public/main/inc/lib/elfinder/*
- public/main/inc/lib/javascript/*
- public/main/inc/lib/kses-0.2.2/*
- public/main/inc/lib/mimetex/*
- public/main/inc/lib/nusoap/*
- public/main/inc/lib/opengraph/*
- public/main/inc/lib/pear/*
- public/main/inc/lib/ppt2png/*
- public/main/inc/lib/search/*
- public/main/inc/lib/svg-edit/*
- public/main/inc/lib/zombie/*
- public/main/admin/ldap*
- public/main/lp/openoffice_presentation.class.php
- public/main/lp/openoffice_document.class.php
- public/main/lp/openoffice_text.class.php
- public/main/lp/openoffice_text_document.class.php
- public/main/lp/scorm*
- public/main/exercise/export/*
- public/main/upload/*
- public/main/extra/*
- public/main/portfolio/*
- public/main/notification_event/*
- public/main/permissions/*
- public/main/extra/*
- public/main/cron/*
- public/main/webservices/*
- public/main/wiki/*
- src/CoreBundle/Hook/*
- src/CoreBundle/Menu/*
- src/CoreBundle/Migrations/*
- src/CoreBundle/Twig/SettingsHelper.php
- src/CoreBundle/Settings/SettingsResolver.php
- src/CoreBundle/Controller/ResourceApiController.php
- src/CoreBundle/Controller/EditorController.php
- src/CoreBundle/Component/Editor/*
- src/CourseBundle/Component/CourseCopy/*
- src/CoreBundle/Traits/*
- src/CoreBundle/Twig/Extension/ChamiloExtension.php
- src/CoreBundle/Settings/*
- src/LtiBundle/*
- tests/*
ignoreErrors:
- '#If condition is always true.#'
checkGenericClassInNonGenericObjectType: false
checkMissingIterableValueType: false
includes:
- vendor/phpstan/phpstan-doctrine/extension.neon
- vendor/phpstan/phpstan-symfony/extension.neon