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

(13 errors, 14 warnings)

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

lib/editor/atto/plugins/panoptobutton/classes/privacy/provider.php
(#1) Moodle boilerplate not found
(#2) Inline comments must start with a capital letter, digit or 3-dots sequence
(#3) Whitespace found at end of line
(#5) Whitespace found at end of line
(#6) Missing @copyright tag
(#6) Missing @license tag
(#6) Missing docblock for class provider
(#9) Whitespace found at end of line
(#16) There must not be a space before the colon in a return type declaration
lib/editor/atto/plugins/panoptobutton/db/access.php
(#27) Short array syntax must be used to define arrays
(#28) Short array syntax must be used to define arrays
(#31) Short array syntax must be used to define arrays
(#36) There should be a comma after the last array item in a multi-line array.
(#37) There should be a comma after the last array item in a multi-line array.
(#38) There should be a comma after the last array item in a multi-line array.
lib/editor/atto/plugins/panoptobutton/lang/en/atto_panoptobutton.php
(#28) The string key "browse" is not in the correct order, it should be before "settings"
(#30) The string key "dialogtitle" is not in the correct order, it should be before "visible"
(#32) The string key "cancel" is not in the correct order, it should be before "insert"
lib/editor/atto/plugins/panoptobutton/lib.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#34) Short array syntax must be used to define arrays
(#55) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#56) Short array syntax must be used to define arrays
(#57) Short array syntax must be used to define arrays
(#64) Short array syntax must be used to define arrays
lib/editor/atto/plugins/panoptobutton/version.php
(#30) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Short array syntax must be used to define arrays
(#41) There should be a comma after the last array item in a multi-line array.

Javascript coding style problems

(4 errors, 13 warnings)

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

lib/editor/atto/plugins/panoptobutton/yui/src/button/js/button.js
(#50) 'CSS' is already defined as a built-in global variable. (no-redeclare)
(#65) Unexpected space before function parentheses. (space-before-function-paren)
(#104) Unexpected space before function parentheses. (space-before-function-paren)
(#127) Expected space(s) after "if". (keyword-spacing)
(#156) Unexpected space before function parentheses. (space-before-function-paren)
(#193) Unexpected space before function parentheses. (space-before-function-paren)
(#230) Unexpected space before function parentheses. (space-before-function-paren)
(#253) Unexpected space before function parentheses. (space-before-function-paren)
(#275) Multiple spaces found before 'message'. (no-multi-spaces)
(#276) Trailing spaces not allowed. (no-trailing-spaces)
(#279) Missing space before opening brace. (space-before-blocks)
(#289) Trailing spaces not allowed. (no-trailing-spaces)
(#295) Trailing spaces not allowed. (no-trailing-spaces)
(#296) Operator '+' must be spaced. (space-infix-ops)
(#302) Trailing spaces not allowed. (no-trailing-spaces)
(#308) There should be no space after '{'. (object-curly-spacing)
(#308) There should be no space before '}'. (object-curly-spacing)

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

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

Problems running grunt
Task "eslint:yui" failed. Use --force to continue.

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]