Prechecker results: error


Overview

(0 errors, 0 warnings)

This section shows the general problems detected when processing the code [More info]


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

(15 errors, 12 warnings)

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

mod/subcourse/backup/moodle2/backup_subcourse_stepslib.php
(#42) There should be a comma after the last array item in a multi-line array.
mod/subcourse/classes/external/view_subcourse.php
(#1) DocBlock missing a @package tag for file view_subcourse.php. Expected @package mod_subcourse
mod/subcourse/classes/output/mobile.php
(#1) DocBlock missing a @package tag for file mobile.php. Expected @package mod_subcourse
mod/subcourse/classes/task/check_completed_refcourses.php
(#97) There should be a comma after the last array item in a multi-line array.
mod/subcourse/db/access.php
(#47) There should be a comma after the last array item in a multi-line array.
(#56) There should be a comma after the last array item in a multi-line array.
(#57) There should be a comma after the last array item in a multi-line array.
(#66) There should be a comma after the last array item in a multi-line array.
mod/subcourse/db/tasks.php
(#36) There should be a comma after the last array item in a multi-line array.
(#45) There should be a comma after the last array item in a multi-line array.
mod/subcourse/index.php
(#41) There should be a comma after the last array item in a multi-line array.
(#66) Short array syntax must be used to define arrays
(#67) Short array syntax must be used to define arrays
(#69) Short array syntax must be used to define arrays
(#70) Short array syntax must be used to define arrays
mod/subcourse/lang/en/subcourse.php
(#74) The string key "settings:coursepageprintprogress" is not in the correct order, it should be before "settings:displayhiddencourses_desc"
(#83) The string key "completioncourse" is not in the correct order, it should be before "taskfetchgrades"
(#87) Unexpected comment found. Auto-fixing will not work after this comment
mod/subcourse/locallib.php
(#233) There should be a comma after the last array item in a multi-line array.
mod/subcourse/tests/external.php
(#1) DocBlock missing a @package tag for file external.php. Expected @package mod_subcourse
mod/subcourse/tests/locallib_test.php
(#39) Unit test locallib_test should be declared as final.
(#46) Test method test_subcourse_grades_update() is missing a return type
(#110) Test method test_subcourse_set_module_viewed() is missing a return type
mod/subcourse/tests/output_mobile_test.php
(#1) DocBlock missing a @package tag for file output_mobile_test.php. Expected @package mod_subcourse
(#34) Unit test output_mobile_test should be declared as final.
(#41) Test method test_main_view() is missing a return type
mod/subcourse/view.php
(#61) There should be a comma after the last array item in a multi-line array.

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

(0 errors, 0 warnings)

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


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]

mod/subcourse/templates/mobile_view_latest.mustache
(#1) HTML validation skipped

Gherkin .feature problems

(0 errors, 0 warnings)

This section shows problems detected in behat .feature files [More info]