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

(176 errors, 12 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
(#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.
(#603) Expected 1 space after "?"; newline found
(#709) Expected 1 space after "="; newline found
(#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
(#1234) Expected 1 space after "=>"; newline found
(#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
(#1471) Expected 1 space after "=>"; newline found
(#1473) Expected 1 space after "=>"; newline found
(#1475) Expected 1 space after "=>"; newline found
(#1477) Expected 1 space after "=>"; newline found
(#1479) Expected 1 space after "=>"; newline found
(#1482) Expected 1 space after "=>"; newline found
(#1485) Expected 1 space after "=>"; newline found
(#1487) Expected 1 space after "=>"; newline found
(#1490) Expected 1 space after "=>"; newline found
(#1493) Expected 1 space after "=>"; newline found
(#1496) Expected 1 space after "=>"; newline found
(#1499) Expected 1 space after "=>"; newline found
(#1502) Expected 1 space after "=>"; newline found
(#1505) Expected 1 space after "=>"; newline found
(#1508) Expected 1 space after "=>"; newline found
(#1510) Expected 1 space after "=>"; newline found
(#1512) Expected 1 space after "=>"; newline found
(#1514) Expected 1 space after "=>"; newline found
(#1516) Expected 1 space after "=>"; newline found
(#1518) Expected 1 space after "=>"; newline found
(#1520) Expected 1 space after "=>"; newline found
(#1529) Line indented incorrectly; expected at least 32 spaces, found 28
(#1598) This comment is 75% valid code; is this commented out code?
(#1673) Expected 1 space after "=>"; newline found
(#1696) Variable "sql_params" must not contain underscores.
(#1697) Line exceeds 132 characters; contains 144 characters
(#1706) Variable "sql_params" must not contain underscores.
(#1714) Expected 1 space before "/"; 0 found
(#1714) Expected 1 space after "/"; 0 found
(#1714) Expected 1 space before "/"; 0 found
(#1714) Expected 1 space after "/"; 0 found
(#1736) Expected 1 space after "=>"; newline found
(#1738) Expected 1 space after "=>"; newline found
(#1740) Expected 1 space after "=>"; newline found
(#1741) Line exceeds 132 characters; contains 153 characters
(#1742) Expected 1 space after "=>"; newline found
(#1744) Expected 1 space after "=>"; newline found
(#1746) Expected 1 space after "=>"; newline found
(#1748) Expected 1 space after "=>"; newline found
(#1749) Line exceeds 132 characters; contains 142 characters
(#1750) Expected 1 space after "=>"; newline found
(#1751) Line exceeds 132 characters; contains 145 characters
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.
(#131) Variable "update_users_by_idnumber" must not contain underscores.
(#143) 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 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
(#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
(#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]