Chamilo is a learning management system focused on ease of use and accessibility
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
chamilo-lms/phpstan.neon

76 lines
2.4 KiB

parameters:
level: 5
paths:
- src
- tests/CoreBundle
- tests/CourseBundle
# - 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/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/javascript/*
- public/main/inc/lib/kses-0.2.2/*
- public/main/inc/lib/nusoap/*
- public/main/inc/lib/pear/*
- public/main/inc/lib/ppt2png/*
- public/main/inc/lib/search/*
- 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/extra/*
- public/main/cron/*
- public/main/webservices/*
- src/CoreBundle/Hook/*
- 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