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

(38 errors, 13 warnings)

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

blocks/eledia_course_archiving/archiving_courses.php
(#46) Inline comments must start with a capital letter, digit or 3-dots sequence
(#46) Inline comments must end in full-stops, exclamation marks, or question marks
(#46) This comment is 84% valid code; is this commented out code?
(#46) Line indented incorrectly; expected at least 4 spaces, found 0
(#46) Expected 1 space before comment text but found 4; use block comment if you need indentation
blocks/eledia_course_archiving/archiving_courses_form.php
(#28) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#32) Inline comments must start with a capital letter, digit or 3-dots sequence
(#32) Inline comments must end in full-stops, exclamation marks, or question marks
(#32) This comment is 78% valid code; is this commented out code?
(#32) No space found before comment text; expected "// require_once($CFG->dirroot.'/blocks/eledia_course_archiving/locallib.php');" but found "//require_once($CFG->dirroot.'/blocks/eledia_course_archiving/locallib.php');"
(#48) Variable "archive_list" must not contain underscores.
(#50) Variable "archive_list" must not contain underscores.
(#52) Variable "archive_list" must not contain underscores.
(#55) Variable "delete_list" must not contain underscores.
(#57) Variable "delete_list" must not contain underscores.
(#58) Variable "delete_list" must not contain underscores.
blocks/eledia_course_archiving/block_eledia_course_archiving.php
(#27) Expected MOODLE_INTERNAL check or config.php inclusion
blocks/eledia_course_archiving/classes/course_archiving_helper.php
(#34) Whitespace found at end of line
(#38) Variable "archived_list" must not contain underscores.
(#44) Variable "archived_list" must not contain underscores.
(#54) Variable "user_enrolment" must not contain underscores.
(#54) Line exceeds 132 characters; contains 135 characters
(#55) Variable "user_enrolment" must not contain underscores.
(#65) Variable "deleted_list" must not contain underscores.
(#70) Variable "deleted_list" must not contain underscores.
(#73) Variable "deleted_list" must not contain underscores.
(#79) Variable "archived_list" must not contain underscores.
(#80) Variable "deleted_list" must not contain underscores.
(#93) Variable "top_categories" must not contain underscores.
(#95) Variable "top_categories" must not contain underscores.
(#111) Variable "old_params" must not contain underscores.
(#113) Variable "old_courses" must not contain underscores.
(#113) Variable "old_params" must not contain underscores.
(#116) Variable "old_params" must not contain underscores.
(#118) The use of backticks in strings is not recommended
(#124) Variable "old_courses" must not contain underscores.
(#124) Variable "old_params" must not contain underscores.
(#129) Variable "old_courses" must not contain underscores.
(#139) The use of backticks in strings is not recommended
(#169) Variable "sub_childs" must not contain underscores.
(#170) Variable "sub_childs" must not contain underscores.
(#183) Variable "sub_childs" must not contain underscores.
(#184) Variable "sub_childs" must not contain underscores.
blocks/eledia_course_archiving/classes/task/eledia_course_archiving_task.php
(#48) Inline comments must start with a capital letter, digit or 3-dots sequence
(#48) Inline comments must end in full-stops, exclamation marks, or question marks
(#48) This comment is 70% valid code; is this commented out code?
(#48) Line indented incorrectly; expected at least 12 spaces, found 0
(#48) Expected 1 space before comment text but found 12; use block comment if you need indentation
blocks/eledia_course_archiving/settings.php
(#34) Variable "options_timestamp" must not contain underscores.
(#38) Variable "options_timestamp" must not contain underscores.
blocks/eledia_course_archiving/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

(26 errors, 0 warnings)

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

blocks/eledia_course_archiving/archiving_courses.php
(#20) Package block is not valid
blocks/eledia_course_archiving/archiving_courses_form.php
(#34) Class archiving_courses_form is not documented
(#36) Function archiving_courses_form::definition is not documented
(#20) Package block is not valid
blocks/eledia_course_archiving/block_eledia_course_archiving.php
(#27) Class block_eledia_course_archiving is not documented
(#29) Function block_eledia_course_archiving::init is not documented
(#33) Function block_eledia_course_archiving::applicable_formats is not documented
(#37) Function block_eledia_course_archiving::get_content is not documented
(#63) Function block_eledia_course_archiving::has_config is not documented
(#20) Package block is not valid
blocks/eledia_course_archiving/classes/course_archiving_helper.php
(#29) Class course_archiving_helper is not documented
(#31) Function course_archiving_helper::process_archivment is not documented
(#84) Function course_archiving_helper::check_courses is not documented
(#133) Function course_archiving_helper::get_courses_by_last_access is not documented
(#148) Function course_archiving_helper::get_courses_by_startdate is not documented
(#158) Function course_archiving_helper::get_all_subcategories is not documented
(#176) Function course_archiving_helper::get_child_categories is not documented
(#17) No one-line description found in phpdocs for file
(#20) Package block is not valid
(#21) Category eledia_course_archiving is not valid
blocks/eledia_course_archiving/classes/task/eledia_course_archiving_task.php
(#30) Class eledia_course_archiving_task is not documented
blocks/eledia_course_archiving/db/access.php
(#20) Package block is not valid
blocks/eledia_course_archiving/lang/de/block_eledia_course_archiving.php
(#20) Package block is not valid
blocks/eledia_course_archiving/lang/en/block_eledia_course_archiving.php
(#20) Package block is not valid
blocks/eledia_course_archiving/settings.php
(#20) Package block is not valid
blocks/eledia_course_archiving/version.php
(#20) Package block 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]