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
(#182) Inline comments must start with a capital letter, digit or 3-dots sequence
(#182) Inline comments must end in full-stops, exclamation marks, or question marks
(#182) 3 slashes comments are not allowed; use "// Comment." instead
(#184) Inline comments must start with a capital letter, digit or 3-dots sequence
(#184) Inline comments must end in full-stops, exclamation marks, or question marks
(#184) 3 slashes comments are not allowed; use "// Comment." instead
(#186) Inline comments must start with a capital letter, digit or 3-dots sequence
(#186) Inline comments must end in full-stops, exclamation marks, or question marks
(#186) 3 slashes comments are not allowed; use "// Comment." instead
(#389) Inline comments must start with a capital letter, digit or 3-dots sequence
(#389) Inline comments must end in full-stops, exclamation marks, or question marks
(#389) 3 slashes comments are not allowed; use "// Comment." instead
(#391) Inline comments must start with a capital letter, digit or 3-dots sequence
(#391) Inline comments must end in full-stops, exclamation marks, or question marks
(#391) 3 slashes comments are not allowed; use "// Comment." instead
(#576) Inline comments must start with a capital letter, digit or 3-dots sequence
(#576) Inline comments must end in full-stops, exclamation marks, or question marks
(#576) 3 slashes comments are not allowed; use "// Comment." instead
(#578) Inline comments must start with a capital letter, digit or 3-dots sequence
(#578) Inline comments must end in full-stops, exclamation marks, or question marks
(#578) 3 slashes comments are not allowed; use "// Comment." instead
(#580) Inline comments must start with a capital letter, digit or 3-dots sequence
(#580) Inline comments must end in full-stops, exclamation marks, or question marks
(#580) 3 slashes comments are not allowed; use "// Comment." instead
(#582) Inline comments must start with a capital letter, digit or 3-dots sequence
(#582) Inline comments must end in full-stops, exclamation marks, or question marks
(#582) 3 slashes comments are not allowed; use "// Comment." instead
(#765) Inline comments must start with a capital letter, digit or 3-dots sequence
(#765) Inline comments must end in full-stops, exclamation marks, or question marks
(#765) 3 slashes comments are not allowed; use "// Comment." instead
(#767) Inline comments must start with a capital letter, digit or 3-dots sequence
(#767) Inline comments must end in full-stops, exclamation marks, or question marks
(#767) 3 slashes comments are not allowed; use "// Comment." instead
(#769) Inline comments must start with a capital letter, digit or 3-dots sequence
(#769) Inline comments must end in full-stops, exclamation marks, or question marks
(#769) 3 slashes comments are not allowed; use "// Comment." instead
(#800) Inline comments must start with a capital letter, digit or 3-dots sequence
(#800) Inline comments must end in full-stops, exclamation marks, or question marks
(#800) 3 slashes comments are not allowed; use "// Comment." instead
(#802) Inline comments must start with a capital letter, digit or 3-dots sequence
(#802) Inline comments must end in full-stops, exclamation marks, or question marks
(#802) 3 slashes comments are not allowed; use "// Comment." instead
(#836) Inline comments must start with a capital letter, digit or 3-dots sequence
(#836) Inline comments must end in full-stops, exclamation marks, or question marks
(#836) 3 slashes comments are not allowed; use "// Comment." instead
(#838) Inline comments must start with a capital letter, digit or 3-dots sequence
(#838) Inline comments must end in full-stops, exclamation marks, or question marks
(#838) 3 slashes comments are not allowed; use "// Comment." instead
(#870) Inline comments must start with a capital letter, digit or 3-dots sequence
(#870) Inline comments must end in full-stops, exclamation marks, or question marks
(#870) 3 slashes comments are not allowed; use "// Comment." instead
(#872) Inline comments must start with a capital letter, digit or 3-dots sequence
(#872) Inline comments must end in full-stops, exclamation marks, or question marks
(#872) 3 slashes comments are not allowed; use "// Comment." instead
(#940) Inline comments must start with a capital letter, digit or 3-dots sequence
(#940) Inline comments must end in full-stops, exclamation marks, or question marks
(#940) 3 slashes comments are not allowed; use "// Comment." instead
(#942) Inline comments must start with a capital letter, digit or 3-dots sequence
(#942) Inline comments must end in full-stops, exclamation marks, or question marks
(#942) 3 slashes comments are not allowed; use "// Comment." instead
(#1039) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1039) Inline comments must end in full-stops, exclamation marks, or question marks
(#1039) 3 slashes comments are not allowed; use "// Comment." instead
(#1041) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1041) Inline comments must end in full-stops, exclamation marks, or question marks
(#1041) 3 slashes comments are not allowed; use "// Comment." instead
(#1068) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1068) Inline comments must end in full-stops, exclamation marks, or question marks
(#1068) 3 slashes comments are not allowed; use "// Comment." instead
(#1070) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1070) Inline comments must end in full-stops, exclamation marks, or question marks
(#1070) 3 slashes comments are not allowed; use "// Comment." instead
(#1130) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1130) Inline comments must end in full-stops, exclamation marks, or question marks
(#1130) 3 slashes comments are not allowed; use "// Comment." instead
(#1132) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1132) Inline comments must end in full-stops, exclamation marks, or question marks
(#1132) 3 slashes comments are not allowed; use "// Comment." instead
(#1134) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1134) Inline comments must end in full-stops, exclamation marks, or question marks
(#1134) 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

(93 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/privacy/provider.php
(#33) Class provider 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
(#182) Found comment starting with three or more slashes
(#184) Found comment starting with three or more slashes
(#186) Found comment starting with three or more slashes
(#389) Found comment starting with three or more slashes
(#391) Found comment starting with three or more slashes
(#576) Found comment starting with three or more slashes
(#578) Found comment starting with three or more slashes
(#580) Found comment starting with three or more slashes
(#582) Found comment starting with three or more slashes
(#765) Found comment starting with three or more slashes
(#767) Found comment starting with three or more slashes
(#769) Found comment starting with three or more slashes
(#800) Found comment starting with three or more slashes
(#802) Found comment starting with three or more slashes
(#836) Found comment starting with three or more slashes
(#838) Found comment starting with three or more slashes
(#870) Found comment starting with three or more slashes
(#872) Found comment starting with three or more slashes
(#940) Found comment starting with three or more slashes
(#942) Found comment starting with three or more slashes
(#1039) Found comment starting with three or more slashes
(#1041) Found comment starting with three or more slashes
(#1068) Found comment starting with three or more slashes
(#1070) Found comment starting with three or more slashes
(#1130) Found comment starting with three or more slashes
(#1132) Found comment starting with three or more slashes
(#1134) 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]