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

(3 errors, 0 warnings)

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

blocks/navbuttons/lang/en/block_navbuttons.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
blocks/navbuttons/lang/es/block_navbuttons.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
blocks/navbuttons/lang/fr/block_navbuttons.php
(#16) Boilerplate comment must be followed by a single blank line or end of file

Javascript coding style problems

(10 errors, 29 warnings)

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

blocks/navbuttons/completion.js
(#4) Identifier 'block_navbuttons' is not in camel case. (camelcase)
(#6) Unexpected space before function parentheses. (space-before-function-paren)
(#8) Identifier 'handle_success' is not in camel case. (camelcase)
(#8) Unexpected space before function parentheses. (space-before-function-paren)
(#11) Unexpected alert. (no-alert)
(#48) Identifier 'handle_failure' is not in camel case. (camelcase)
(#48) Unexpected space before function parentheses. (space-before-function-paren)
(#49) Unexpected alert. (no-alert)
(#54) Unexpected space before function parentheses. (space-before-function-paren)
(#100) Identifier 'handle_success' is not in camel case. (camelcase)
(#101) Identifier 'handle_failure' is not in camel case. (camelcase)
(#113) Unexpected space before function parentheses. (space-before-function-paren)
(#119) Unexpected space before function parentheses. (space-before-function-paren)
blocks/navbuttons/edit.js
(#1) 'navbuttons' is not defined. (no-undef)
(#5) Unexpected space before function parentheses. (space-before-function-paren)
(#8) 'YAHOO' is not defined. (no-undef)
(#11) This line has a length of 157. Maximum allowed is 132. (max-len)
(#13) Comments should not begin with a lowercase character. (capitalized-comments)
(#13) Expected space or tab after '//' in comment. (spaced-comment)
(#14) 'YAHOO' is not defined. (no-undef)
(#32) 'YAHOO' is not defined. (no-undef)
(#35) Comments should not begin with a lowercase character. (capitalized-comments)
(#35) Expected space or tab after '//' in comment. (spaced-comment)
(#36) Unexpected space before function parentheses. (space-before-function-paren)
(#37) 'YAHOO' is not defined. (no-undef)
(#38) 'YAHOO' is not defined. (no-undef)
(#43) Missing semicolon. (semi)
blocks/navbuttons/edit24.js
(#1) Expected space or tab after '/*' in comment. (spaced-comment)
(#1) 'document' is already defined as a built-in global variable. (no-redeclare)
(#5) Unexpected space before function parentheses. (space-before-function-paren)
(#7) This line has a length of 134. Maximum allowed is 132. (max-len)
(#7) Unexpected space before function parentheses. (space-before-function-paren)
(#8) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#11) This line has a length of 161. Maximum allowed is 132. (max-len)
(#13) Comments should not begin with a lowercase character. (capitalized-comments)
(#13) Expected space or tab after '//' in comment. (spaced-comment)
(#35) Comments should not begin with a lowercase character. (capitalized-comments)
(#35) Expected space or tab after '//' in comment. (spaced-comment)
(#36) Unexpected space before function parentheses. (space-before-function-paren)

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]


Gherkin .feature problems

(0 errors, 0 warnings)

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