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, 0 warnings)

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


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

(94 errors, 3 warnings)

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

blocks/socialcomments/classes/local/basepost.php
(#66) Phpdocs for function basepost::can_create has incomplete parameters list
(#95) Phpdocs for function basepost::can_save has incomplete parameters list
blocks/socialcomments/classes/local/comment.php
(#27) Class comment is not documented
(#230) Function comment::fire_event_created is not documented
(#29) Variable comment::$id is not documented
(#30) Variable comment::$contextid is not documented
(#31) Variable comment::$component is not documented
(#32) Variable comment::$commentarea is not documented
(#33) Variable comment::$itemid is not documented
(#34) Variable comment::$content is not documented
(#35) Variable comment::$format is not documented
(#36) Variable comment::$userid is not documented
(#37) Variable comment::$courseid is not documented
(#38) Variable comment::$groupid is not documented
(#17) No one-line description found in phpdocs for file
(#77) Phpdocs for function comment::get_group_mode has incomplete parameters list
(#95) Phpdocs for function comment::get_accessible_groups has incomplete parameters list
(#120) Phpdocs for function comment::is_restricted_to_groupids has incomplete parameters list
(#80) Not recommended phpdocs tag @global used
blocks/socialcomments/classes/local/comments_helper.php
(#27) Class comments_helper is not documented
(#271) Function comments_helper::get_context is not documented
(#275) Function comments_helper::get_user is not documented
(#358) Function comments_helper::course_deleted is not documented
(#380) Function comments_helper::user_deleted is not documented
(#390) Function comments_helper::get_digest_type_menu is not documented
(#36) Variable comments_helper::$context is not documented
(#37) Variable comments_helper::$course is not documented
(#38) Variable comments_helper::$cm is not documented
(#39) Variable comments_helper::$user is not documented
(#40) Variable comments_helper::$groupmode is not documented
(#41) Variable comments_helper::$groupsql is not documented
(#29) Constant comments_helper::PINNED_PAGE is not documented
(#30) Constant comments_helper::PINNED_COMMENT is not documented
(#31) Constant comments_helper::LASTPAGE is not documented
(#33) Constant comments_helper::DIGEST_SITE is not documented
(#34) Constant comments_helper::DIGEST_COURSE is not documented
(#17) No one-line description found in phpdocs for file
(#101) Phpdocs for function comments_helper::get_groups_restriction_sql has incomplete parameters list
(#117) Phpdocs for function comments_helper::get_comments has incomplete parameters list
blocks/socialcomments/classes/local/digest.php
(#31) Class digest is not documented
(#55) Function digest::__construct is not documented
(#207) Function digest::get_css_styles is not documented
(#214) Function digest::send_message is not documented
(#33) Variable digest::$grouprestriction is not documented
(#34) Variable digest::$timelastsent is not documented
(#35) Variable digest::$digesttype is not documented
(#17) No one-line description found in phpdocs for file
(#296) There is no description in phpdocs for function cron
(#63) Phpdocs for function digest::is_restricted_to_groupids has incomplete parameters list
(#81) Phpdocs for function digest::get_subscribed_new_comments_and_replies has incomplete parameters list
(#40) Not recommended phpdocs tag @staticvar used
blocks/socialcomments/classes/local/reply.php
(#29) Class reply is not documented
(#103) Function reply::fire_event_created is not documented
(#31) Variable reply::$id is not documented
(#32) Variable reply::$commentid is not documented
(#33) Variable reply::$content is not documented
(#34) Variable reply::$format is not documented
(#35) Variable reply::$userid is not documented
blocks/socialcomments/classes/local/report_helper.php
(#27) Class report_helper is not documented
(#125) Function report_helper::get_group_restriction_sql is not documented
(#385) Function report_helper::get_options is not documented
(#435) Function report_helper::check_visiblity_and_add_replies is not documented
(#29) Variable report_helper::$visiblemodinfo is not documented
(#30) Variable report_helper::$sqlgrouprestriction is not documented
(#31) Variable report_helper::$grouprestriction is not documented
(#17) No one-line description found in phpdocs for file
(#139) Phpdocs for function report_helper::get_module_comments_sql has incomplete parameters list
(#210) Phpdocs for function report_helper::get_course_comments has incomplete parameters list
(#559) Phpdocs for function report_helper::get_course_comments_pinned has incomplete parameters list
(#36) Not recommended phpdocs tag @staticvar used
blocks/socialcomments/classes/local/reportfilter_form.php
(#35) Class reportfilter_form is not documented
(#37) Function reportfilter_form::definition is not documented
(#79) Function reportfilter_form::get_request_data is not documented
(#118) Function reportfilter_form::get_url_params is not documented
blocks/socialcomments/classes/task/process_digest_cron.php
(#37) Function process_digest_cron::get_name is not documented
(#41) Function process_digest_cron::execute is not documented
blocks/socialcomments/edit_form.php
(#24) Class block_socialcomments_edit_form is not documented
(#26) Function block_socialcomments_edit_form::specific_definition is not documented
(#17) No one-line description found in phpdocs for file
blocks/socialcomments/renderer.php
(#38) Function block_socialcomments_renderer::render_post_form is not documented
(#79) Function block_socialcomments_renderer::render_slider_checkbox is not documented
(#110) Function block_socialcomments_renderer::render_group_selector is not documented
(#521) Function block_socialcomments_renderer::render_new_activity_comments is not documented
(#594) Function block_socialcomments_renderer::render_comments_overview is not documented
(#651) Function block_socialcomments_renderer::render_pinboard is not documented
(#691) Function block_socialcomments_renderer::render_digest is not documented
(#349) Phpdocs for function block_socialcomments_renderer::render_reply_list has incomplete parameters list
(#636) Phpdocs for function block_socialcomments_renderer::render_new_comments_tab has incomplete parameters list
blocks/socialcomments/tests/comments_test.php
(#31) Class block_socialcomments_comments_testcase is not documented
blocks/socialcomments/tests/digest_test.php
(#31) Class block_socialcomments_digest_testcase is not documented
blocks/socialcomments/tests/generator/lib.php
(#40) Function block_socialcomments_generator::create_comment is not documented
(#96) Function block_socialcomments_generator::create_reply is not documented
(#131) Function block_socialcomments_generator::create_subscription is not documented
blocks/socialcomments/tests/privacy_test.php
(#525) Phpdocs for function block_socialcomments_testcase::save_reply has incomplete parameters list
(#544) Phpdocs for function block_socialcomments_testcase::save_comment has incomplete parameters list
(#559) Phpdocs for function block_socialcomments_testcase::set_pinned has incomplete parameters list
(#577) Phpdocs for function block_socialcomments_testcase::set_subscribed 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]


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]