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

(4 errors, 0 warnings)

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

blocks/studentstracker/block_studentstracker.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#58) global $PAGE cannot be used in block classes. Use $this->page.
(#64) global $PAGE cannot be used in block classes. Use $this->page.
blocks/studentstracker/edit_form.php
(#23) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.

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

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

blocks/studentstracker/styles.css
(#35) Expected "#E0E0E0" to be "#e0e0e0" (color-hex-case)
(#2) Unexpected unit (length-zero-no-unit)
(#2) Unexpected unit (length-zero-no-unit)

PHPDocs style problems

(18 errors, 0 warnings)

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

blocks/studentstracker/block_studentstracker.php
(#27) Class block_studentstracker is not documented
(#28) Function block_studentstracker::init is not documented
(#35) Function block_studentstracker::instance_allow_multiple is not documented
(#39) Function block_studentstracker::has_config is not documented
(#43) Function block_studentstracker::instance_allow_config is not documented
(#47) Function block_studentstracker::specialization is not documented
(#57) Function block_studentstracker::get_content is not documented
(#186) Function block_studentstracker::applicable_formats is not documented
blocks/studentstracker/edit_form.php
(#24) Class block_studentstracker_edit_form is not documented
(#25) Function block_studentstracker_edit_form::specific_definition is not documented
blocks/studentstracker/locallib.php
(#28) Class studentstracker is not documented
(#29) Function studentstracker::get_roles is not documented
(#34) Function studentstracker::has_role is not documented
(#51) Function studentstracker::is_in_groups is not documented
(#61) Function studentstracker::get_last_access is not documented
(#67) Function studentstracker::messaging is not documented
(#77) Function studentstracker::profile is not documented
(#83) Function studentstracker::output_info is not documented

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]


Gherkin .feature problems

(0 errors, 0 warnings)

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