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, 7 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.
(#82) Expected 1 space after "=>"; newline found
local/eledia_webservicesuite/externallib.php
(#412) Variable "local_user" must not contain underscores.
(#412) Line exceeds 132 characters; contains 134 characters
(#417) Variable "local_user" must not contain underscores.
(#451) Variable "local_user" must not contain underscores.
(#534) Variable "local_course" must not contain underscores.
(#540) Variable "local_course" must not contain underscores.
(#542) Variable "local_user" must not contain underscores.
(#548) Variable "local_user" must not contain underscores.
(#599) Expected 1 space after "?"; newline found
(#705) Expected 1 space after "="; newline found
(#766) Line exceeds 132 characters; contains 135 characters
(#932) Variable "origin_course" must not contain underscores.
(#939) Variable "update_course" must not contain underscores.
(#939) Variable "origin_course" must not contain underscores.
(#941) Variable "update_course" must not contain underscores.
(#945) Variable "update_course" must not contain underscores.
(#951) Variable "update_course" must not contain underscores.
(#952) Variable "update_course" must not contain underscores.
(#958) Variable "update_course" must not contain underscores.
(#958) Variable "update_course" must not contain underscores.
(#963) Variable "update_course" must not contain underscores.
(#965) Variable "update_course" must not contain underscores.
(#968) Variable "update_course" must not contain underscores.
(#968) Variable "update_course" must not contain underscores.
(#974) Variable "update_course" must not contain underscores.
(#976) Variable "update_course" must not contain underscores.
(#979) Variable "update_course" must not contain underscores.
(#979) Variable "update_course" must not contain underscores.
(#982) Variable "update_course" must not contain underscores.
(#982) Variable "update_course" must not contain underscores.
(#984) Variable "update_course" must not contain underscores.
(#985) Variable "update_course" must not contain underscores.
(#986) Variable "update_course" must not contain underscores.
(#991) Variable "update_course" must not contain underscores.
(#1126) Line exceeds 132 characters; contains 134 characters
(#1231) Expected 1 space after "=>"; newline found
(#1284) Variable "comp_info_formated" must not contain underscores.
(#1286) Variable "completion_info" must not contain underscores.
(#1287) Variable "completion_info" must not contain underscores.
(#1288) Variable "completion_info" must not contain underscores.
(#1289) Variable "completion_info" must not contain underscores.
(#1291) Variable "completion_info" must not contain underscores.
(#1292) Variable "completion_info" must not contain underscores.
(#1293) Variable "completion_info" must not contain underscores.
(#1294) Variable "completion_info" must not contain underscores.
(#1295) Variable "comp_info_formated" must not contain underscores.
(#1295) Variable "completion_info" must not contain underscores.
(#1299) Variable "course_comp" must not contain underscores.
(#1302) Variable "course_comp" must not contain underscores.
(#1303) Variable "comp_info_formated" must not contain underscores.
(#1323) Line exceeds 132 characters; contains 133 characters
(#1385) Variable "comp_info_formated" must not contain underscores.
(#1387) Variable "completion_info" must not contain underscores.
(#1388) Variable "completion_info" must not contain underscores.
(#1389) Variable "completion_info" must not contain underscores.
(#1390) Variable "completion_info" must not contain underscores.
(#1392) Variable "completion_info" must not contain underscores.
(#1393) Variable "completion_info" must not contain underscores.
(#1394) Variable "completion_info" must not contain underscores.
(#1395) Variable "completion_info" must not contain underscores.
(#1396) Variable "comp_info_formated" must not contain underscores.
(#1396) Variable "completion_info" must not contain underscores.
(#1400) Variable "course_comp" must not contain underscores.
(#1404) Variable "course_comp" must not contain underscores.
(#1405) Variable "comp_info_formated" must not contain underscores.
(#1425) Line exceeds 132 characters; contains 133 characters
(#1453) Expected 1 space after "=>"; newline found
(#1455) Expected 1 space after "=>"; newline found
(#1457) Expected 1 space after "=>"; newline found
(#1459) Expected 1 space after "=>"; newline found
(#1461) Expected 1 space after "=>"; newline found
(#1463) Expected 1 space after "=>"; newline found
(#1465) Expected 1 space after "=>"; newline found
(#1468) Expected 1 space after "=>"; newline found
(#1471) Expected 1 space after "=>"; newline found
(#1474) Expected 1 space after "=>"; newline found
(#1477) Expected 1 space after "=>"; newline found
(#1480) Expected 1 space after "=>"; newline found
(#1483) Expected 1 space after "=>"; newline found
(#1486) Expected 1 space after "=>"; newline found
(#1488) Expected 1 space after "=>"; newline found
(#1490) Expected 1 space after "=>"; newline found
(#1492) Expected 1 space after "=>"; newline found
(#1494) Expected 1 space after "=>"; newline found
(#1496) Expected 1 space after "=>"; newline found
(#1498) Expected 1 space after "=>"; newline found
(#1507) Line indented incorrectly; expected at least 32 spaces, found 28
(#1576) This comment is 75% valid code; is this commented out code?
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
(#82) Variable "user_obj" must not contain underscores.
(#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.
(#97) Variable "user_obj" must not contain underscores.
(#99) Variable "user_obj" must not contain underscores.
(#105) Variable "user_by_mail" must not contain underscores.
(#117) Variable "users_by_idnumber" must not contain underscores.
(#130) Variable "update_users_by_idnumber" must not contain underscores.
(#142) 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 jshint [More info]


CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(32 errors, 0 warnings)

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

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
(#201) Phpdocs for function eledia_services::get_users_by_idnumber has incomplete parameters list
(#1036) Phpdocs for function eledia_services::get_user_by_idnumber has incomplete parameters list
(#1181) Phpdocs for function eledia_services::unenrol_users_by_idnumber 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]


Mustache template problems

(0 errors, 0 warnings)

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