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

(40 errors, 82 warnings)

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

local/ws_enrolcohort/externallib.php
(#77) Inline comments must start with a capital letter, digit or 3-dots sequence
(#77) Inline comments must end in full-stops, exclamation marks, or question marks
(#77) 3 slashes comments are not allowed; use "// Comment." instead
(#214) Inline comments must start with a capital letter, digit or 3-dots sequence
(#214) Inline comments must end in full-stops, exclamation marks, or question marks
(#214) 3 slashes comments are not allowed; use "// Comment." instead
(#216) Inline comments must start with a capital letter, digit or 3-dots sequence
(#216) Inline comments must end in full-stops, exclamation marks, or question marks
(#216) 3 slashes comments are not allowed; use "// Comment." instead
(#317) Inline comments must end in full-stops, exclamation marks, or question marks
(#494) Inline comments must start with a capital letter, digit or 3-dots sequence
(#494) Inline comments must end in full-stops, exclamation marks, or question marks
(#494) 3 slashes comments are not allowed; use "// Comment." instead
(#496) Inline comments must start with a capital letter, digit or 3-dots sequence
(#496) Inline comments must end in full-stops, exclamation marks, or question marks
(#496) 3 slashes comments are not allowed; use "// Comment." instead
(#668) Inline comments must end in full-stops, exclamation marks, or question marks
(#725) Inline comments must start with a capital letter, digit or 3-dots sequence
(#725) Inline comments must end in full-stops, exclamation marks, or question marks
(#725) 3 slashes comments are not allowed; use "// Comment." instead
(#727) Inline comments must start with a capital letter, digit or 3-dots sequence
(#727) Inline comments must end in full-stops, exclamation marks, or question marks
(#727) 3 slashes comments are not allowed; use "// Comment." instead
(#819) Inline comments must start with a capital letter, digit or 3-dots sequence
(#819) Inline comments must end in full-stops, exclamation marks, or question marks
(#819) 3 slashes comments are not allowed; use "// Comment." instead
(#821) Inline comments must start with a capital letter, digit or 3-dots sequence
(#821) Inline comments must end in full-stops, exclamation marks, or question marks
(#821) 3 slashes comments are not allowed; use "// Comment." instead
(#958) Inline comments must start with a capital letter, digit or 3-dots sequence
(#958) Inline comments must end in full-stops, exclamation marks, or question marks
(#958) 3 slashes comments are not allowed; use "// Comment." instead
local/ws_enrolcohort/tests/externallib_test.php
(#37) Inline comments must start with a capital letter, digit or 3-dots sequence
(#37) Inline comments must end in full-stops, exclamation marks, or question marks
(#37) 3 slashes comments are not allowed; use "// Comment." instead
(#113) Inline comments must start with a capital letter, digit or 3-dots sequence
(#113) Inline comments must end in full-stops, exclamation marks, or question marks
(#113) 3 slashes comments are not allowed; use "// Comment." instead
(#115) Inline comments must start with a capital letter, digit or 3-dots sequence
(#115) Inline comments must end in full-stops, exclamation marks, or question marks
(#115) 3 slashes comments are not allowed; use "// Comment." instead
(#179) Inline comments must start with a capital letter, digit or 3-dots sequence
(#179) Inline comments must end in full-stops, exclamation marks, or question marks
(#179) 3 slashes comments are not allowed; use "// Comment." instead
(#181) Inline comments must start with a capital letter, digit or 3-dots sequence
(#181) Inline comments must end in full-stops, exclamation marks, or question marks
(#181) 3 slashes comments are not allowed; use "// Comment." instead
(#183) Inline comments must start with a capital letter, digit or 3-dots sequence
(#183) Inline comments must end in full-stops, exclamation marks, or question marks
(#183) 3 slashes comments are not allowed; use "// Comment." instead
(#386) Inline comments must start with a capital letter, digit or 3-dots sequence
(#386) Inline comments must end in full-stops, exclamation marks, or question marks
(#386) 3 slashes comments are not allowed; use "// Comment." instead
(#388) Inline comments must start with a capital letter, digit or 3-dots sequence
(#388) Inline comments must end in full-stops, exclamation marks, or question marks
(#388) 3 slashes comments are not allowed; use "// Comment." instead
(#573) Inline comments must start with a capital letter, digit or 3-dots sequence
(#573) Inline comments must end in full-stops, exclamation marks, or question marks
(#573) 3 slashes comments are not allowed; use "// Comment." instead
(#575) Inline comments must start with a capital letter, digit or 3-dots sequence
(#575) Inline comments must end in full-stops, exclamation marks, or question marks
(#575) 3 slashes comments are not allowed; use "// Comment." instead
(#577) Inline comments must start with a capital letter, digit or 3-dots sequence
(#577) Inline comments must end in full-stops, exclamation marks, or question marks
(#577) 3 slashes comments are not allowed; use "// Comment." instead
(#579) Inline comments must start with a capital letter, digit or 3-dots sequence
(#579) Inline comments must end in full-stops, exclamation marks, or question marks
(#579) 3 slashes comments are not allowed; use "// Comment." instead
(#762) Inline comments must start with a capital letter, digit or 3-dots sequence
(#762) Inline comments must end in full-stops, exclamation marks, or question marks
(#762) 3 slashes comments are not allowed; use "// Comment." instead
(#764) Inline comments must start with a capital letter, digit or 3-dots sequence
(#764) Inline comments must end in full-stops, exclamation marks, or question marks
(#764) 3 slashes comments are not allowed; use "// Comment." instead
(#766) Inline comments must start with a capital letter, digit or 3-dots sequence
(#766) Inline comments must end in full-stops, exclamation marks, or question marks
(#766) 3 slashes comments are not allowed; use "// Comment." instead
(#797) Inline comments must start with a capital letter, digit or 3-dots sequence
(#797) Inline comments must end in full-stops, exclamation marks, or question marks
(#797) 3 slashes comments are not allowed; use "// Comment." instead
(#799) Inline comments must start with a capital letter, digit or 3-dots sequence
(#799) Inline comments must end in full-stops, exclamation marks, or question marks
(#799) 3 slashes comments are not allowed; use "// Comment." instead
(#833) Inline comments must start with a capital letter, digit or 3-dots sequence
(#833) Inline comments must end in full-stops, exclamation marks, or question marks
(#833) 3 slashes comments are not allowed; use "// Comment." instead
(#835) Inline comments must start with a capital letter, digit or 3-dots sequence
(#835) Inline comments must end in full-stops, exclamation marks, or question marks
(#835) 3 slashes comments are not allowed; use "// Comment." instead
(#867) Inline comments must start with a capital letter, digit or 3-dots sequence
(#867) Inline comments must end in full-stops, exclamation marks, or question marks
(#867) 3 slashes comments are not allowed; use "// Comment." instead
(#869) Inline comments must start with a capital letter, digit or 3-dots sequence
(#869) Inline comments must end in full-stops, exclamation marks, or question marks
(#869) 3 slashes comments are not allowed; use "// Comment." instead
(#937) Inline comments must start with a capital letter, digit or 3-dots sequence
(#937) Inline comments must end in full-stops, exclamation marks, or question marks
(#937) 3 slashes comments are not allowed; use "// Comment." instead
(#939) Inline comments must start with a capital letter, digit or 3-dots sequence
(#939) Inline comments must end in full-stops, exclamation marks, or question marks
(#939) 3 slashes comments are not allowed; use "// Comment." instead
(#1036) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1036) Inline comments must end in full-stops, exclamation marks, or question marks
(#1036) 3 slashes comments are not allowed; use "// Comment." instead
(#1038) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1038) Inline comments must end in full-stops, exclamation marks, or question marks
(#1038) 3 slashes comments are not allowed; use "// Comment." instead
(#1065) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1065) Inline comments must end in full-stops, exclamation marks, or question marks
(#1065) 3 slashes comments are not allowed; use "// Comment." instead
(#1067) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1067) Inline comments must end in full-stops, exclamation marks, or question marks
(#1067) 3 slashes comments are not allowed; use "// Comment." instead
(#1127) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1127) Inline comments must end in full-stops, exclamation marks, or question marks
(#1127) 3 slashes comments are not allowed; use "// Comment." instead
(#1129) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1129) Inline comments must end in full-stops, exclamation marks, or question marks
(#1129) 3 slashes comments are not allowed; use "// Comment." instead
(#1131) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1131) Inline comments must end in full-stops, exclamation marks, or question marks
(#1131) 3 slashes comments are not allowed; use "// Comment." instead

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

(92 errors, 0 warnings)

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

local/ws_enrolcohort/classes/exceptions/cohort_enrol_instance_already_synced_with_role_exception.php
(#33) Class cohort_enrol_instance_already_synced_with_role_exception is not documented
(#34) Function cohort_enrol_instance_already_synced_with_role_exception::__construct is not documented
local/ws_enrolcohort/classes/exceptions/cohort_enrol_instance_not_found_exception.php
(#31) Class cohort_enrol_instance_not_found_exception is not documented
(#32) Function cohort_enrol_instance_not_found_exception::__construct is not documented
local/ws_enrolcohort/classes/exceptions/cohort_enrol_method_not_available_exception.php
(#33) Class cohort_enrol_method_not_available_exception is not documented
(#34) Function cohort_enrol_method_not_available_exception::__construct is not documented
local/ws_enrolcohort/classes/exceptions/cohort_not_available_at_context_exception.php
(#31) Class cohort_not_available_at_context_exception is not documented
(#32) Function cohort_not_available_at_context_exception::__construct is not documented
local/ws_enrolcohort/classes/exceptions/cohort_not_found_exception.php
(#31) Class cohort_not_found_exception is not documented
(#32) Function cohort_not_found_exception::__construct is not documented
local/ws_enrolcohort/classes/exceptions/course_is_site_exception.php
(#33) Class course_is_site_exception is not documented
(#34) Function course_is_site_exception::__construct is not documented
local/ws_enrolcohort/classes/exceptions/course_not_found_exception.php
(#31) Class course_not_found_exception is not documented
(#32) Function course_not_found_exception::__construct is not documented
local/ws_enrolcohort/classes/exceptions/group_not_found_exception.php
(#31) Class group_not_found_exception is not documented
(#32) Function group_not_found_exception::__construct is not documented
local/ws_enrolcohort/classes/exceptions/invalid_course_exception.php
(#33) Class invalid_course_exception is not documented
(#34) Function invalid_course_exception::__construct is not documented
local/ws_enrolcohort/classes/exceptions/invalid_status_exception.php
(#33) Class invalid_status_exception is not documented
(#34) Function invalid_status_exception::__construct is not documented
local/ws_enrolcohort/classes/exceptions/not_available_at_context_exception.php
(#33) Class not_available_at_context_exception is not documented
(#34) Function not_available_at_context_exception::__construct is not documented
local/ws_enrolcohort/classes/exceptions/object_not_found_exception.php
(#33) Class object_not_found_exception is not documented
(#34) Function object_not_found_exception::__construct is not documented
local/ws_enrolcohort/classes/exceptions/role_not_assignable_at_context_exception.php
(#31) Class role_not_assignable_at_context_exception is not documented
(#32) Function role_not_assignable_at_context_exception::__construct is not documented
local/ws_enrolcohort/classes/exceptions/role_not_found_exception.php
(#31) Class role_not_found_exception is not documented
(#32) Function role_not_found_exception::__construct is not documented
local/ws_enrolcohort/classes/responses/cohort.php
(#31) Class cohort is not documented
local/ws_enrolcohort/classes/responses/course.php
(#31) Class course is not documented
local/ws_enrolcohort/classes/responses/enrol.php
(#31) Class enrol is not documented
(#82) Function enrol::__construct is not documented
(#98) Phpdocs for function enrol::set_course has incomplete parameters list
(#107) Phpdocs for function enrol::set_cohort has incomplete parameters list
(#116) Phpdocs for function enrol::set_role has incomplete parameters list
(#125) Phpdocs for function enrol::set_group has incomplete parameters list
local/ws_enrolcohort/classes/responses/error.php
(#33) Class error is not documented
local/ws_enrolcohort/classes/responses/group.php
(#33) Class group is not documented
local/ws_enrolcohort/classes/responses/response.php
(#31) Class response is not documented
local/ws_enrolcohort/classes/responses/role.php
(#31) Class role is not documented
local/ws_enrolcohort/classes/tools.php
(#31) Class tools is not documented
(#37) There is no description in phpdocs for function get_string
local/ws_enrolcohort/db/services.php
(#20) Package ws_enrolcohort is not valid
local/ws_enrolcohort/externallib.php
(#47) Class local_ws_enrolcohort_external is not documented
(#53) Constant local_ws_enrolcohort_external::QUERYSTRING_COURSE is not documented
(#59) Constant local_ws_enrolcohort_external::COHORT_GROUP_CREATE_NEW is not documented
(#70) Constant local_ws_enrolcohort_external::FIELD_COHORT is not documented
(#77) Found comment starting with three or more slashes
(#214) Found comment starting with three or more slashes
(#216) Found comment starting with three or more slashes
(#494) Found comment starting with three or more slashes
(#496) Found comment starting with three or more slashes
(#725) Found comment starting with three or more slashes
(#727) Found comment starting with three or more slashes
(#819) Found comment starting with three or more slashes
(#821) Found comment starting with three or more slashes
(#958) Found comment starting with three or more slashes
(#283) Phpdocs for function local_ws_enrolcohort_external::add_instance has incomplete parameters list
(#538) Phpdocs for function local_ws_enrolcohort_external::update_instance has incomplete parameters list
(#754) Phpdocs for function local_ws_enrolcohort_external::delete_instance has incomplete parameters list
(#848) Phpdocs for function local_ws_enrolcohort_external::get_instances has incomplete parameters list
local/ws_enrolcohort/tests/externallib_test.php
(#36) Class local_ws_enrolcohort_externallib_testcase is not documented
(#37) Found comment starting with three or more slashes
(#113) Found comment starting with three or more slashes
(#115) Found comment starting with three or more slashes
(#179) Found comment starting with three or more slashes
(#181) Found comment starting with three or more slashes
(#183) Found comment starting with three or more slashes
(#386) Found comment starting with three or more slashes
(#388) Found comment starting with three or more slashes
(#573) Found comment starting with three or more slashes
(#575) Found comment starting with three or more slashes
(#577) Found comment starting with three or more slashes
(#579) Found comment starting with three or more slashes
(#762) Found comment starting with three or more slashes
(#764) Found comment starting with three or more slashes
(#766) Found comment starting with three or more slashes
(#797) Found comment starting with three or more slashes
(#799) Found comment starting with three or more slashes
(#833) Found comment starting with three or more slashes
(#835) Found comment starting with three or more slashes
(#867) Found comment starting with three or more slashes
(#869) Found comment starting with three or more slashes
(#937) Found comment starting with three or more slashes
(#939) Found comment starting with three or more slashes
(#1036) Found comment starting with three or more slashes
(#1038) Found comment starting with three or more slashes
(#1065) Found comment starting with three or more slashes
(#1067) Found comment starting with three or more slashes
(#1127) Found comment starting with three or more slashes
(#1129) Found comment starting with three or more slashes
(#1131) Found comment starting with three or more slashes

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]