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

(154 errors, 24 warnings)

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

local/eledia_webservicesuite/db/access.php
(#30) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
local/eledia_webservicesuite/db/services.php
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#133) Line exceeds 132 characters; contains 156 characters
(#134) Line exceeds 132 characters; contains 168 characters
local/eledia_webservicesuite/externallib.php
(#416) Variable "local_user" must not contain underscores.
(#416) Line exceeds 132 characters; contains 134 characters
(#421) Variable "local_user" must not contain underscores.
(#455) Variable "local_user" must not contain underscores.
(#538) Variable "local_course" must not contain underscores.
(#544) Variable "local_course" must not contain underscores.
(#546) Variable "local_user" must not contain underscores.
(#552) Variable "local_user" must not contain underscores.
(#770) Line exceeds 132 characters; contains 135 characters
(#936) Variable "origin_course" must not contain underscores.
(#943) Variable "update_course" must not contain underscores.
(#943) Variable "origin_course" must not contain underscores.
(#945) Variable "update_course" must not contain underscores.
(#949) Variable "update_course" must not contain underscores.
(#955) Variable "update_course" must not contain underscores.
(#956) Variable "update_course" must not contain underscores.
(#962) Variable "update_course" must not contain underscores.
(#962) Variable "update_course" must not contain underscores.
(#967) Variable "update_course" must not contain underscores.
(#969) Variable "update_course" must not contain underscores.
(#972) Variable "update_course" must not contain underscores.
(#972) Variable "update_course" must not contain underscores.
(#978) Variable "update_course" must not contain underscores.
(#980) Variable "update_course" must not contain underscores.
(#983) Variable "update_course" must not contain underscores.
(#983) Variable "update_course" must not contain underscores.
(#986) Variable "update_course" must not contain underscores.
(#986) Variable "update_course" must not contain underscores.
(#988) Variable "update_course" must not contain underscores.
(#989) Variable "update_course" must not contain underscores.
(#990) Variable "update_course" must not contain underscores.
(#995) Variable "update_course" must not contain underscores.
(#1129) Line exceeds 132 characters; contains 134 characters
(#1287) Variable "comp_info_formated" must not contain underscores.
(#1289) Variable "completion_info" must not contain underscores.
(#1290) Variable "completion_info" must not contain underscores.
(#1291) Variable "completion_info" must not contain underscores.
(#1292) Variable "completion_info" must not contain underscores.
(#1294) Variable "completion_info" must not contain underscores.
(#1295) Variable "completion_info" must not contain underscores.
(#1296) Variable "completion_info" must not contain underscores.
(#1297) Variable "completion_info" must not contain underscores.
(#1298) Variable "comp_info_formated" must not contain underscores.
(#1298) Variable "completion_info" must not contain underscores.
(#1302) Variable "course_comp" must not contain underscores.
(#1306) Variable "course_comp" must not contain underscores.
(#1310) Variable "comp_info_formated" must not contain underscores.
(#1312) Inline comments must end in full-stops, exclamation marks, or question marks
(#1314) Variable "grade_item" must not contain underscores.
(#1315) Variable "grade_item" must not contain underscores.
(#1316) Expected 1 space before "=>"; 0 found
(#1316) Variable "grade_item" must not contain underscores.
(#1318) Variable "grade_percent" must not contain underscores.
(#1319) Variable "grade_percent" must not contain underscores.
(#1343) Line exceeds 132 characters; contains 133 characters
(#1404) Variable "comp_info_formated" must not contain underscores.
(#1406) Variable "completion_info" must not contain underscores.
(#1407) Variable "completion_info" must not contain underscores.
(#1408) Variable "completion_info" must not contain underscores.
(#1409) Variable "completion_info" must not contain underscores.
(#1411) Variable "completion_info" must not contain underscores.
(#1412) Variable "completion_info" must not contain underscores.
(#1413) Variable "completion_info" must not contain underscores.
(#1414) Variable "completion_info" must not contain underscores.
(#1415) Variable "comp_info_formated" must not contain underscores.
(#1415) Variable "completion_info" must not contain underscores.
(#1419) Variable "course_comp" must not contain underscores.
(#1423) Variable "course_comp" must not contain underscores.
(#1424) Variable "comp_info_formated" must not contain underscores.
(#1444) Line exceeds 132 characters; contains 133 characters
(#1529) Line indented incorrectly; expected at least 32 spaces, found 28
(#1598) This comment is 75% valid code; is this commented out code?
(#1701) Variable "sql_params" must not contain underscores.
(#1702) Line exceeds maximum limit of 180 characters; contains 202 characters
(#1711) Variable "sql_params" must not contain underscores.
(#1719) Expected 1 space before "/"; 0 found
(#1719) Expected 1 space after "/"; 0 found
(#1719) Expected 1 space before "/"; 0 found
(#1719) Expected 1 space after "/"; 0 found
(#1746) Line exceeds 132 characters; contains 153 characters
(#1758) Line exceeds 132 characters; contains 142 characters
(#1760) Line exceeds 132 characters; contains 145 characters
(#1795) Line exceeds 132 characters; contains 147 characters
(#1821) Line exceeds 132 characters; contains 137 characters
(#1842) Expected 1 space before "=>"; 0 found
(#1842) Expected 1 space after "=>"; 0 found
(#1899) Expected 1 space before "=>"; 0 found
(#1899) Expected 1 space after "=>"; 0 found
(#2024) Line exceeds 132 characters; contains 139 characters
(#2026) Line exceeds 132 characters; contains 140 characters
(#2029) Line exceeds 132 characters; contains 160 characters
(#2035) Line exceeds 132 characters; contains 146 characters
(#2038) Line exceeds 132 characters; contains 140 characters
(#2046) Line exceeds 132 characters; contains 145 characters
(#2090) Line indented incorrectly; expected at least 32 spaces, found 28
(#2176) Line exceeds 132 characters; contains 134 characters
(#2183) This comment is 75% valid code; is this commented out code?
(#2190) Line exceeds 132 characters; contains 135 characters
(#2334) No space found before comment text; expected "// Create new attempt entry." but found "//Create new attempt entry."
(#2348) Expected "if (...) {\n"; found "if(...) {\n"
local/eledia_webservicesuite/lib.php
(#37) Expected MOODLE_INTERNAL check or config.php inclusion
(#39) Variable "notfound_exception" must not contain underscores.
(#40) Variable "multiple_exception" must not contain underscores.
(#41) Variable "notfound_errorcode" must not contain underscores.
(#42) Variable "multiple_errorcode" must not contain underscores.
(#54) Variable "notfound_exception" must not contain underscores.
(#57) Variable "notfound_errorcode" must not contain underscores.
(#68) Variable "multiple_exception" must not contain underscores.
(#71) Variable "multiple_errorcode" must not contain underscores.
local/eledia_webservicesuite/test_services_form.php
(#39) Variable "service_choose" must not contain underscores.
(#65) Variable "service_choose" must not contain underscores.
(#69) Variable "service_choose" must not contain underscores.
(#193) Variable "default_country" must not contain underscores.
(#194) Variable "default_country" must not contain underscores.
(#210) Variable "service_choose" must not contain underscores.
(#211) Variable "service_choose" must not contain underscores.
(#221) Variable "service_choose" must not contain underscores.
(#281) Variable "id_array" must not contain underscores.
(#287) Variable "id_array" must not contain underscores.
(#293) Variable "id_array" must not contain underscores.
(#301) The use of function print_object() is forbidden
(#302) Variable "result_str" must not contain underscores.
(#304) Variable "result_str" must not contain underscores.
(#340) The use of function print_object() is forbidden
(#341) Variable "result_str" must not contain underscores.
(#343) Variable "result_str" must not contain underscores.
(#369) The use of function print_object() is forbidden
(#370) Variable "result_str" must not contain underscores.
(#372) Variable "result_str" must not contain underscores.
(#384) Variable "summary_array" must not contain underscores.
(#385) Variable "summary_array" must not contain underscores.
(#427) The use of function print_object() is forbidden
(#428) Variable "result_str" must not contain underscores.
(#430) Variable "result_str" must not contain underscores.
(#437) Variable "eledia_uidnumber" must not contain underscores.
(#438) Variable "eledia_cidnumber" must not contain underscores.
(#440) Variable "eledia_cidnumber" must not contain underscores.
(#440) Variable "eledia_cidnumber" must not contain underscores.
(#447) Variable "eledia_uidnumber" must not contain underscores.
(#447) Variable "eledia_cidnumber" must not contain underscores.
(#455) The use of function print_object() is forbidden
(#456) Variable "result_str" must not contain underscores.
(#458) Variable "result_str" must not contain underscores.
(#481) The use of function print_object() is forbidden
(#482) Variable "result_str" must not contain underscores.
(#484) Variable "result_str" must not contain underscores.
(#532) The use of function print_object() is forbidden
(#533) Variable "result_str" must not contain underscores.
(#535) Variable "result_str" must not contain underscores.
local/eledia_webservicesuite/test_user_services.php
(#83) Variable "user_obj" must not contain underscores.
(#84) Variable "user_obj" must not contain underscores.
(#85) Variable "user_obj" must not contain underscores.
(#86) Variable "user_obj" must not contain underscores.
(#87) Variable "user_obj" must not contain underscores.
(#88) Variable "user_obj" must not contain underscores.
(#89) Variable "user_obj" must not contain underscores.
(#90) Variable "user_obj" must not contain underscores.
(#91) Variable "user_obj" must not contain underscores.
(#92) Variable "user_obj" must not contain underscores.
(#93) Variable "user_obj" must not contain underscores.
(#94) Variable "user_obj" must not contain underscores.
(#95) Variable "user_obj" must not contain underscores.
(#96) Variable "user_obj" must not contain underscores.
(#98) Variable "user_obj" must not contain underscores.
(#100) Variable "user_obj" must not contain underscores.
(#106) Variable "user_by_mail" must not contain underscores.
(#118) Variable "users_by_idnumber" must not contain underscores.
(#129) Variable "update_user" must not contain underscores.
(#130) Variable "update_user" must not contain underscores.
(#131) Variable "update_user" must not contain underscores.
(#133) Variable "update_users_by_idnumber" must not contain underscores.
(#133) Variable "update_user" must not contain underscores.
(#145) Variable "user_by_idnumber" must not contain underscores.
local/eledia_webservicesuite/version.php
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.

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

(36 errors, 0 warnings)

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

local/eledia_webservicesuite/classes/privacy/provider.php
(#32) Class provider is not documented
(#17) No one-line description found in phpdocs for file
(#19) Package local is not valid
local/eledia_webservicesuite/db/access.php
(#23) Package local is not valid
local/eledia_webservicesuite/db/services.php
(#20) Package local is not valid
local/eledia_webservicesuite/externallib.php
(#33) Class eledia_services is not documented
(#53) Phpdocs for function eledia_services::get_user_by_mail has incomplete parameters list
(#203) Phpdocs for function eledia_services::get_users_by_idnumber has incomplete parameters list
(#1040) Phpdocs for function eledia_services::get_user_by_idnumber has incomplete parameters list
(#1184) Phpdocs for function eledia_services::unenrol_users_by_idnumber has incomplete parameters list
(#1812) Phpdocs for function eledia_services::duplicate_course has incomplete parameters list
(#23) Package local is not valid
local/eledia_webservicesuite/lang/de/local_eledia_webservicesuite.php
(#20) Package local is not valid
local/eledia_webservicesuite/lang/en/local_eledia_webservicesuite.php
(#20) Package local is not valid
local/eledia_webservicesuite/lib.php
(#30) Phpdocs for function get_record_by_idnumber has incomplete parameters list
(#20) Package local is not valid
local/eledia_webservicesuite/settings.php
(#17) No one-line description found in phpdocs for file
(#19) Package local is not valid
local/eledia_webservicesuite/test_services.php
(#17) No one-line description found in phpdocs for file
(#20) Package local is not valid
(#21) Category eledia_webservicesuite is not valid
local/eledia_webservicesuite/test_services_form.php
(#33) Class test_services_form is not documented
(#35) Function test_services_form::definition is not documented
(#205) Function test_services_form::definition_after_data is not documented
(#249) Function test_services_form::prepare_client is not documented
(#277) Function test_services_form::get_courses_by_idnumber_test is not documented
(#308) Function test_services_form::enrol_users_by_idnumber_test is not documented
(#347) Function test_services_form::unenrol_users_by_idnumber_test is not documented
(#376) Function test_services_form::update_courses_by_idnumber_test is not documented
(#434) Function test_services_form::course_completion_test is not documented
(#462) Function test_services_form::get_user_by_idnumber is not documented
(#488) Function test_services_form::update_users_by_idnumber is not documented
(#20) Package local is not valid
local/eledia_webservicesuite/test_user_services.php
(#17) No one-line description found in phpdocs for file
(#19) Package local is not valid
local/eledia_webservicesuite/version.php
(#20) Package local is not valid

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]