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

(0 errors, 11 warnings)

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

blocks/attentiontag/lang/en/block_attentiontag.php
(#26) The string key "attentiontag:addinstance" is not in the correct order, it should be before "pluginname"
(#28) The string key "attentiontag:displaytext" is not in the correct order, it should be before "attentiontag:myaddinstance"
(#30) Unexpected comment found. Auto-fixing will not work after this comment
(#35) Unexpected comment found. Auto-fixing will not work after this comment
(#36) The string key "privacy:metadata:username" is not in the correct order, it should be before "projectid"
(#37) The string key "privacy:metadata:email" is not in the correct order, it should be before "privacy:metadata:username"
(#39) The string key "privacy:metadata:webcam_inference_data" is not in the correct order, it should be before "privacy:metadata:webcam_snapshots"
(#40) The string key "privacy:metadata:course_info" is not in the correct order, it should be before "privacy:metadata:webcam_inference_data"
(#43) The string key "privacy:metadata:externalpurpose" is not in the correct order, it should be before "privacy:metadata:section_info"
(#45) Unexpected comment found. Auto-fixing will not work after this comment
(#46) The string key "checkattentiontag" is not in the correct order, it should be before "privacy:metadata:externalpurpose"

Javascript coding style problems

(6 errors, 11 warnings)

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

blocks/attentiontag/webpack.config.js
(#17) Trailing spaces not allowed. (no-trailing-spaces)
(#24) 'module' is not defined. (no-undef)
(#27) Multiple spaces found before '// Moodle-spec...'. (no-multi-spaces)
(#31) '__dirname' is not defined. (no-undef)
(#32) Multiple spaces found before '// Output file...'. (no-multi-spaces)
(#33) Multiple spaces found before '// AMD compati...'. (no-multi-spaces)
(#37) Multiple spaces found before '// Prevent Web...'. (no-multi-spaces)
(#43) Multiple spaces found before '// Match .js a...'. (no-multi-spaces)
(#44) Multiple spaces found before '// Exclude nod...'. (no-multi-spaces)
(#46) Multiple spaces found before '// Use Babel l...'. (no-multi-spaces)
(#49) Multiple spaces found before '// Transpile E...'. (no-multi-spaces)
(#54) Trailing spaces not allowed. (no-trailing-spaces)
(#67) '__dirname' is not defined. (no-undef)
(#68) '__dirname' is not defined. (no-undef)
(#70) Multiple spaces found before '// Allow impor...'. (no-multi-spaces)
(#72) Multiple spaces found before '// generates t...'. (no-multi-spaces)
(#72) Comments should not begin with a lowercase character. (capitalized-comments)

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

(1 errors, 0 warnings)

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

blocks/attentiontag/amd/build/main.min.js.LICENSE.txt
Uncommitted change detected.

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]