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

(0 errors, 2 warnings)

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

local/course_template/classes/task/cleanup_task.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion
local/course_template/tests/template_courses_test.php
(#83) Line exceeds 132 characters; contains 161 characters

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

(23 errors, 0 warnings)

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

local/course_template/classes/backup.php
(#30) Class local_course_template_backup is not documented
(#31) Function local_course_template_backup::create_backup is not documented
(#76) Function local_course_template_backup::restore_backup is not documented
(#89) There is no description in phpdocs for function apply_defaults
(#89) Phpdocs for function local_course_template_backup::apply_defaults has incomplete parameters list
local/course_template/classes/helper.php
(#26) Class local_course_template_helper is not documented
(#27) Function local_course_template_helper::template_course is not documented
(#52) Function local_course_template_helper::find_term_template is not documented
(#89) Function local_course_template_helper::prune_news_forums is not documented
local/course_template/classes/observers.php
(#27) Class observers is not documented
(#28) Function observers::course_created is not documented
(#17) No one-line description found in phpdocs for file
local/course_template/classes/task/cleanup_task.php
(#25) Class cleanup_task is not documented
(#26) Function cleanup_task::get_name is not documented
(#30) Function cleanup_task::execute is not documented
(#17) No one-line description found in phpdocs for file
local/course_template/db/caches.php
(#17) No one-line description found in phpdocs for file
local/course_template/db/events.php
(#17) No one-line description found in phpdocs for file
local/course_template/db/tasks.php
(#17) No one-line description found in phpdocs for file
local/course_template/lang/en/local_course_template.php
(#17) No one-line description found in phpdocs for file
local/course_template/tests/template_courses_test.php
(#25) Class local_course_template_template_courses_testcase is not documented
(#17) No one-line description found in phpdocs for file
local/course_template/version.php
(#17) File-level phpdocs block is not found

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]