Prechecker results: error


PHP lint problems

(0 errors, 0 warnings)

This section shows php lint problems in the code detected by php -l [More info]


PHP coding style problems

(0 errors, 2 warnings)

This section shows the coding style problems detected in the code by phpcs [More info]

local/rocketchat/tests/privacy_test.php
(#42) Test method test_export_user_preferences_no_pref() is missing any coverage information, own or at class level
(#62) Test method test_export_user_preferences() is missing any coverage information, own or at class level

Javascript coding style problems

(0 errors, 0 warnings)

This section shows the coding style problems detected in the code by eslint [More info]


CSS problems

(0 errors, 0 warnings)

This section shows CSS problems detected by stylelint [More info]


PHPDocs style problems

(131 errors, 0 warnings)

This section shows the phpdocs problems detected in the code by local_moodlecheck [More info]

local/rocketchat/classes/client.php
(#32) Class client is not documented
(#61) Function client::get_instance_url is not documented
(#65) Function client::contenttype_headers is not documented
(#69) Function client::authentication_headers is not documented
(#107) Function client::store_credentials is not documented
(#34) Variable client::$authenticated is not documented
(#35) Variable client::$url is not documented
(#37) Variable client::$authtoken is not documented
(#38) Variable client::$userid is not documented
(#39) Variable client::$username is not documented
(#40) Variable client::$password is not documented
(#41) Variable client::$api is not documented
(#73) There is no description in phpdocs for function authenticate
(#73) Phpdocs for function client::authenticate has incomplete parameters list
(#90) Phpdocs for function client::request_login_credentials has incomplete parameters list
local/rocketchat/classes/events/observers/group_member_added.php
(#33) Class group_member_added is not documented
(#35) There is no description in phpdocs for function call
(#49) There is no description in phpdocs for function add_subscription
(#36) Phpdocs for function group_member_added::call has incomplete parameters list
(#50) Phpdocs for function group_member_added::add_subscription has incomplete parameters list
local/rocketchat/classes/events/observers/group_member_removed.php
(#33) Class group_member_removed is not documented
(#35) There is no description in phpdocs for function call
(#49) There is no description in phpdocs for function remove_subscription
(#36) Phpdocs for function group_member_removed::call has incomplete parameters list
(#50) Phpdocs for function group_member_removed::remove_subscription has incomplete parameters list
local/rocketchat/classes/events/observers/user_enrolment_created.php
(#28) Class user_enrolment_created is not documented
(#30) There is no description in phpdocs for function call
(#44) There is no description in phpdocs for function sync_user
(#31) Phpdocs for function user_enrolment_created::call has incomplete parameters list
(#45) Phpdocs for function user_enrolment_created::sync_user has incomplete parameters list
local/rocketchat/classes/events/observers/user_enrolment_updated.php
(#33) Class user_enrolment_updated is not documented
(#35) There is no description in phpdocs for function call
(#48) There is no description in phpdocs for function sync_enrolment_status
(#36) Phpdocs for function user_enrolment_updated::call has incomplete parameters list
(#49) Phpdocs for function user_enrolment_updated::sync_enrolment_status has incomplete parameters list
local/rocketchat/classes/form/account.php
(#74) Phpdocs for function account::validation has incomplete parameters list
local/rocketchat/classes/integration/channels.php
(#35) Class channels is not documented
(#40) Function channels::__construct is not documented
(#37) Variable channels::$client is not documented
(#38) Variable channels::$errors is not documented
(#44) There is no description in phpdocs for function create_channels_for_course
(#66) There is no description in phpdocs for function has_channel_for_group
(#80) There is no description in phpdocs for function has_private_group
(#99) There is no description in phpdocs for function create
(#110) There is no description in phpdocs for function channel_exists
(#125) There is no description in phpdocs for function get_existing_channels
(#140) There is no description in phpdocs for function create_channel
(#185) There is no description in phpdocs for function group_requires_rocketchat_channel
(#203) There is no description in phpdocs for function get_formatted_channel_name
(#45) Phpdocs for function channels::create_channels_for_course has incomplete parameters list
(#67) Phpdocs for function channels::has_channel_for_group has incomplete parameters list
(#81) Phpdocs for function channels::has_private_group has incomplete parameters list
(#100) Phpdocs for function channels::create has incomplete parameters list
(#111) Phpdocs for function channels::channel_exists has incomplete parameters list
(#141) Phpdocs for function channels::create_channel has incomplete parameters list
(#186) Phpdocs for function channels::group_requires_rocketchat_channel has incomplete parameters list
(#204) Phpdocs for function channels::get_formatted_channel_name has incomplete parameters list
local/rocketchat/classes/integration/subscriptions.php
(#35) Class subscriptions is not documented
(#37) Variable subscriptions::$errors is not documented
(#39) Variable subscriptions::$client is not documented
(#40) Variable subscriptions::$channelapi is not documented
(#41) Variable subscriptions::$userapi is not documented
(#54) There is no description in phpdocs for function add_subscriptions_for_course
(#69) There is no description in phpdocs for function add_subscriptions_for_group
(#83) There is no description in phpdocs for function add_subscription_for_user
(#118) There is no description in phpdocs for function remove_subscription_for_user
(#153) There is no description in phpdocs for function has_subscription
(#46) Phpdocs for function subscriptions::__construct has incomplete parameters list
(#55) Phpdocs for function subscriptions::add_subscriptions_for_course has incomplete parameters list
(#70) Phpdocs for function subscriptions::add_subscriptions_for_group has incomplete parameters list
(#84) Phpdocs for function subscriptions::add_subscription_for_user has incomplete parameters list
(#119) Phpdocs for function subscriptions::remove_subscription_for_user has incomplete parameters list
(#154) Phpdocs for function subscriptions::has_subscription has incomplete parameters list
local/rocketchat/classes/integration/users.php
(#36) Class users is not documented
(#41) Function users::__construct is not documented
(#38) Variable users::$client is not documented
(#39) Variable users::$errors is not documented
(#45) There is no description in phpdocs for function create_users_for_course
(#63) There is no description in phpdocs for function create_user
(#94) There is no description in phpdocs for function user_exists
(#115) There is no description in phpdocs for function get_existing_users
(#129) There is no description in phpdocs for function get_user
(#154) There is no description in phpdocs for function update_user_activity
(#46) Phpdocs for function users::create_users_for_course has incomplete parameters list
(#64) Phpdocs for function users::create_user has incomplete parameters list
(#95) Phpdocs for function users::user_exists has incomplete parameters list
(#130) Phpdocs for function users::get_user has incomplete parameters list
(#155) Phpdocs for function users::update_user_activity has incomplete parameters list
local/rocketchat/classes/sync.php
(#28) Class sync is not documented
(#42) Function sync::reset_errors is not documented
(#30) Variable sync::$client is not documented
(#31) Variable sync::$errors is not documented
(#46) There is no description in phpdocs for function sync_pending_courses
(#61) There is no description in phpdocs for function sync_pending_course
(#80) There is no description in phpdocs for function is_event_based_sync_on_course
(#93) There is no description in phpdocs for function create_rocketchat_course
(#109) There is no description in phpdocs for function run_sync
(#144) There is no description in phpdocs for function record_result
(#158) There is no description in phpdocs for function pass_sync
(#172) There is no description in phpdocs for function fail_sync
(#62) Phpdocs for function sync::sync_pending_course has incomplete parameters list
(#81) Phpdocs for function sync::is_event_based_sync_on_course has incomplete parameters list
(#94) Phpdocs for function sync::create_rocketchat_course has incomplete parameters list
(#110) Phpdocs for function sync::run_sync has incomplete parameters list
(#145) Phpdocs for function sync::record_result has incomplete parameters list
(#159) Phpdocs for function sync::pass_sync has incomplete parameters list
(#173) Phpdocs for function sync::fail_sync has incomplete parameters list
local/rocketchat/classes/task/sync_students.php
(#40) Function sync_students::get_name is not documented
(#38) Variable sync_students::$currenttime is not documented
local/rocketchat/classes/utilities.php
(#28) Class utilities is not documented
(#32) Function utilities::__construct is not documented
(#30) Variable utilities::$client is not documented
(#36) There is no description in phpdocs for function set_rocketchat_course_sync
(#57) There is no description in phpdocs for function set_rocketchat_role_sync
(#77) There is no description in phpdocs for function set_rocketchat_event_based_sync
(#98) There is no description in phpdocs for function get_courses
(#124) There is no description in phpdocs for function get_roles
(#147) There is no description in phpdocs for function access_protected
(#160) There is no description in phpdocs for function make_request
(#216) There is no description in phpdocs for function get_user_and_group_by_event_data
(#37) Phpdocs for function utilities::set_rocketchat_course_sync has incomplete parameters list
(#58) Phpdocs for function utilities::set_rocketchat_role_sync has incomplete parameters list
(#78) Phpdocs for function utilities::set_rocketchat_event_based_sync has incomplete parameters list
(#148) Phpdocs for function utilities::access_protected has incomplete parameters list
(#161) Phpdocs for function utilities::make_request has incomplete parameters list
(#217) Phpdocs for function utilities::get_user_and_group_by_event_data has incomplete parameters list
local/rocketchat/externallib.php
(#30) Class local_rocketchat_external is not documented
(#49) Phpdocs for function local_rocketchat_external::set_rocketchat_course_sync has incomplete parameters list
(#103) Phpdocs for function local_rocketchat_external::set_rocketchat_role_sync has incomplete parameters list
(#157) Phpdocs for function local_rocketchat_external::set_rocketchat_event_based_sync has incomplete parameters list
(#209) Phpdocs for function local_rocketchat_external::manually_trigger_sync has incomplete parameters list

Update savepoints problems

(0 errors, 0 warnings)

This section shows problems detected with the handling of upgrade savepoints [More info]


Third party library modification problems

(0 errors, 0 warnings)

This section shows problems detected with the modification of third party libraries [More info]


Missing changes in external functions or backup support for new detected tables or columns

(0 errors, 2 warnings)

This section shows potential problems detected when there are new database structures added in a patch and it is detected that nothing has been changed related with external functions (to be used by WS) or backup and restore. It must be checked that everything is correct and nothing is being missed in those areas. [More info]

local/rocketchat/db/upgrade.php
Database modifications (new tables or columns) detected in the patch without any change to some important areas.
No changes detected to backup and restore, that may affect storage and transportability, please verify!

grunt changes

(0 errors, 0 warnings)

This section shows files built by grunt and not commited [More info]


shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 0 warnings)

This section shows problems detected in mustache templates [More info]


Gherkin .feature problems

(0 errors, 0 warnings)

This section shows problems detected in behat .feature files [More info]