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

(18 errors, 3 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
(#2) Inline comments must start with a capital letter, digit or 3-dots sequence
(#2) Line 1 of the opening comment must start "// This file is part of".
(#3) Line 2 of the opening comment must start "//".
(#3) Whitespace found at end of line
(#4) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#4) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#4) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#4) Line 6 of the opening comment must start "// (at your option) any later version.".
(#4) Line 7 of the opening comment must start "//".
(#4) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#5) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#5) Whitespace found at end of line
(#6) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#6) Line 12 of the opening comment must start "//".
(#6) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#6) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#9) Whitespace found at end of line
lib/editor/atto/plugins/panoptobutton/lib.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#55) Expected 1 space before comment text but found 2; use block comment if you need indentation
lib/editor/atto/plugins/panoptobutton/version.php
(#30) Inline comments must end in full-stops, exclamation marks, or question marks

Javascript coding style problems

(4 errors, 17 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)
(#98) Missing JSDoc for parameter 'e'. (valid-jsdoc)
(#98) Missing JSDoc for parameter 'clickedicon'. (valid-jsdoc)
(#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)
(#185) Missing JSDoc for parameter 'clickedicon'. (valid-jsdoc)
(#193) Unexpected space before function parentheses. (space-before-function-paren)
(#225) Missing JSDoc for parameter 'e'. (valid-jsdoc)
(#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

(2 errors, 0 warnings)

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

lib/editor/atto/plugins/panoptobutton/classes/privacy/provider.php
(#6) Package is not specified for class provider. It is also not specified in file-level phpdocs
(#6) Class provider 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

(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]