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, 0 warnings)

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


Javascript coding style problems

(0 errors, 12 warnings)

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

blocks/studentstracker/amd/src/ui.js
(#30) Identifier 'block_li' is not in camel case. (camelcase)
(#31) Identifier 'block_li' is not in camel case. (camelcase)
(#33) Identifier 'block_li' is not in camel case. (camelcase)
(#37) Identifier 'block_li' is not in camel case. (camelcase)
(#72) Identifier 'block_li' is not in camel case. (camelcase)
(#73) Expected space(s) after "for". (keyword-spacing)
(#73) Identifier 'block_li' is not in camel case. (camelcase)
(#74) Identifier 'block_li' is not in camel case. (camelcase)
(#79) Identifier 'block_li' is not in camel case. (camelcase)
(#80) Expected space(s) after "for". (keyword-spacing)
(#80) Identifier 'block_li' is not in camel case. (camelcase)
(#82) Identifier 'block_li' is not in camel case. (camelcase)

CSS problems

(0 errors, 2 warnings)

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

blocks/studentstracker/styles.css
(#2) Unexpected unit (length-zero-no-unit)
(#2) Unexpected unit (length-zero-no-unit)

PHPDocs style problems

(30 errors, 0 warnings)

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

blocks/studentstracker/block_studentstracker.php
(#29) Package is not specified for class block_studentstracker. It is also not specified in file-level phpdocs
(#29) Class block_studentstracker is not documented
(#30) Function block_studentstracker::init is not documented
(#37) Function block_studentstracker::instance_allow_multiple is not documented
(#41) Function block_studentstracker::has_config is not documented
(#45) Function block_studentstracker::instance_allow_config is not documented
(#49) Function block_studentstracker::specialization is not documented
(#59) Function block_studentstracker::get_content is not documented
(#135) Function block_studentstracker::applicable_formats is not documented
blocks/studentstracker/classes/output/main_content.php
(#33) Class main_content is not documented
(#35) Variable main_content::$usercount is not documented
(#36) Variable main_content::$users is not documented
(#37) Variable main_content::$truncate is not documented
(#38) Variable main_content::$textheader is not documented
(#39) Variable main_content::$textfooter is not documented
(#41) Phpdocs for function main_content::__construct has incomplete parameters list
blocks/studentstracker/classes/output/renderer.php
(#31) Class renderer is not documented
(#34) Phpdocs for function renderer::render_main_content has incomplete parameters list
blocks/studentstracker/edit_form.php
(#29) Package is not specified for class block_studentstracker_edit_form. It is also not specified in file-level phpdocs
(#29) Class block_studentstracker_edit_form is not documented
(#30) Function block_studentstracker_edit_form::specific_definition is not documented
blocks/studentstracker/locallib.php
(#123) Phpdocs for function studentstracker::__get has incomplete parameters list
(#136) Phpdocs for function studentstracker::__set has incomplete parameters list
(#151) Phpdocs for function studentstracker::get_enrolled_users has incomplete parameters list
(#229) Phpdocs for function studentstracker::has_role has incomplete parameters list
(#254) Phpdocs for function studentstracker::is_in_groups has incomplete parameters list
(#271) Phpdocs for function studentstracker::get_last_access has incomplete parameters list
(#287) Phpdocs for function studentstracker::messaging has incomplete parameters list
(#303) Phpdocs for function studentstracker::profile has incomplete parameters list
(#316) Phpdocs for function studentstracker::sort_objects has incomplete parameters list

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

(2 errors, 0 warnings)

This section shows files built by grunt and not commited [More info]

blocks/studentstracker/amd/build/ui.min.js
Uncommitted change detected.
blocks/studentstracker/amd/build/ui.min.js.map
Uncommitted change detected.

shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 4 warnings)

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

blocks/studentstracker/templates/main_content.mustache
(#1) Example context missing (@template section not found.)
blocks/studentstracker/templates/student_row.mustache
(#1) Example context missing (@template section not found.)
(#1) Template produced no content
blocks/studentstracker/templates/students_list.mustache
(#1) Example context missing (@template section not found.)
blocks/studentstracker/templates/user_infos.mustache
(#1) Example context missing (@template section not found.)

Gherkin .feature problems

(0 errors, 0 warnings)

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