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

(1 errors, 18 warnings)

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

lib/editor/atto/plugins/chemistry/yui/src/button/js/button.js
(#193) Unexpected space before function parentheses. (space-before-function-paren)
(#289) Expected to return a value at the end of this function. (consistent-return)
(#297) Expected to return a value at the end of this function. (consistent-return)
(#300) Expected space(s) after "while". (keyword-spacing)
(#385) Multiple spaces found before 'text'. (no-multi-spaces)
(#401) Missing JSDoc @returns for function. (valid-jsdoc)
(#415) Unexpected space before function parentheses. (space-before-function-paren)
(#416) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#418) Unexpected space before function parentheses. (space-before-function-paren)
(#460) Infix operators must be spaced. (space-infix-ops)
(#488) Expected JSDoc for 'preview' but found 'e'. (valid-jsdoc)
(#581) Expected JSDoc for 'parent' but found 'button'. (valid-jsdoc)
(#602) Unexpected @return tag; function has no return statement. (valid-jsdoc)
(#629) Unnecessary escape character: \] (no-useless-escape)
(#629) A space is required after ','. (comma-spacing)
(#630) Unnecessary escape character: \[ (no-useless-escape)
(#630) A space is required after ','. (comma-spacing)
(#640) Line 640 exceeds the maximum line length of 132. (max-len)
(#640) Missing space before opening brace. (space-before-blocks)

CSS problems

(1 errors, 0 warnings)

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

lib/editor/atto/plugins/chemistry/styles.css
(#26) Expected RBRACE at line 26, col 19.

PHPDocs style problems

(6 errors, 0 warnings)

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

lib/editor/atto/plugins/chemistry/ajax.php
(#17) No one-line description found in phpdocs for file
(#21) Invalid inline phpdocs tag @package found
lib/editor/atto/plugins/chemistry/lang/en/atto_chemistry.php
(#20) Invalid inline phpdocs tag @package found
lib/editor/atto/plugins/chemistry/lib.php
(#31) Phpdocs for function atto_chemistry_strings_for_js has incomplete parameters list
(#20) Invalid inline phpdocs tag @package found
lib/editor/atto/plugins/chemistry/settings.php
(#20) Invalid inline phpdocs tag @package found

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]

Problems running grunt shifter

shifter problems

(1 errors, 0 warnings)

This section shows problems detected by shifter [More info]

lib/editor/atto/plugins/chemistry/yui/src/button/js/button.js
contains 3 lint errors

Mustache template problems

(0 errors, 0 warnings)

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