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

(2 errors, 4 warnings)

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

lib/editor/atto/plugins/pastespecial/lang/de/atto_pastespecial.php
(#38) Expected 1 space after "="; 0 found
lib/editor/atto/plugins/pastespecial/settings.php
(#86) Inline comments must end in full-stops, exclamation marks, or question marks
(#101) Inline comments must end in full-stops, exclamation marks, or question marks
(#112) Inline comments must end in full-stops, exclamation marks, or question marks
(#124) Inline comments must end in full-stops, exclamation marks, or question marks
lib/editor/atto/plugins/pastespecial/version.php
(#30) No space found before comment text; expected "// Maturity level." but found "//Maturity level."

Javascript coding style problems

(5 errors, 172 warnings)

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

lib/editor/atto/plugins/pastespecial/yui/src/button/js/button.js
(#170) Expected space(s) after "if". (keyword-spacing)
(#175) Expected space(s) after "if". (keyword-spacing)
(#180) Expected space(s) after "if". (keyword-spacing)
(#185) Expected space(s) after "if". (keyword-spacing)
(#190) Expected space(s) after "if". (keyword-spacing)
(#193) Expected space(s) after "if". (keyword-spacing)
(#198) Expected space(s) after "if". (keyword-spacing)
(#210) Expected space(s) after "if". (keyword-spacing)
(#278) Missing JSDoc parameter type for 'e'. (valid-jsdoc)
(#295) Expected space(s) after "if". (keyword-spacing)
(#300) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#307) Missing JSDoc for parameter 'value'. (valid-jsdoc)
(#315) A space is required after ','. (comma-spacing)
(#317) A space is required after ','. (comma-spacing)
(#319) A space is required after ','. (comma-spacing)
(#353) A space is required after ','. (comma-spacing)
(#354) A space is required after ','. (comma-spacing)
(#355) A space is required after ','. (comma-spacing)
(#356) A space is required after ','. (comma-spacing)
(#357) A space is required after ','. (comma-spacing)
(#361) Expected space(s) after "if". (keyword-spacing)
(#363) Expected space(s) after "if". (keyword-spacing)
(#365) Expected space(s) after "if". (keyword-spacing)
(#367) Expected space(s) after "if". (keyword-spacing)
(#377) Missing JSDoc return type. (valid-jsdoc)
(#399) Expected JSDoc for 'text' but found 'String'. (valid-jsdoc)
(#399) Missing JSDoc return type. (valid-jsdoc)
(#399) Missing JSDoc parameter type for 'String'. (valid-jsdoc)
(#410) Missing JSDoc return type. (valid-jsdoc)
(#410) Missing JSDoc parameter type for 'String'. (valid-jsdoc)
(#410) Expected JSDoc for 'text' but found 'String'. (valid-jsdoc)
(#421) Missing JSDoc parameter type for 'String'. (valid-jsdoc)
(#421) Missing JSDoc return type. (valid-jsdoc)
(#421) Expected JSDoc for 'text' but found 'String'. (valid-jsdoc)
(#442) Infix operators must be spaced. (space-infix-ops)
(#442) Infix operators must be spaced. (space-infix-ops)
(#458) Expected space(s) after "if". (keyword-spacing)
(#459) Expected space(s) after "if". (keyword-spacing)
(#467) Expected space(s) after "if". (keyword-spacing)
(#477) Missing JSDoc for parameter 'origin'. (valid-jsdoc)
(#477) Missing JSDoc parameter type for 'String'. (valid-jsdoc)
(#477) Expected JSDoc for 'text' but found 'String'. (valid-jsdoc)
(#477) Missing JSDoc return type. (valid-jsdoc)
(#477) Duplicate JSDoc parameter 'String'. (valid-jsdoc)
(#477) Missing JSDoc parameter type for 'String'. (valid-jsdoc)
(#491) Expected space(s) after "while". (keyword-spacing)
(#491) Unexpected constant condition. (no-constant-condition)
(#492) Expected space(s) after "if". (keyword-spacing)
(#496) Infix operators must be spaced. (space-infix-ops)
(#500) Expected space(s) after "if". (keyword-spacing)
(#502) Expected space(s) after "if". (keyword-spacing)
(#502) Infix operators must be spaced. (space-infix-ops)
(#505) Expected space(s) after "if". (keyword-spacing)
(#505) Infix operators must be spaced. (space-infix-ops)
(#506) Infix operators must be spaced. (space-infix-ops)
(#509) Infix operators must be spaced. (space-infix-ops)
(#510) Expected space(s) after "if". (keyword-spacing)
(#510) Infix operators must be spaced. (space-infix-ops)
(#513) Infix operators must be spaced. (space-infix-ops)
(#514) Expected space(s) after "if". (keyword-spacing)
(#516) Infix operators must be spaced. (space-infix-ops)
(#519) Expected space(s) after "if". (keyword-spacing)
(#524) Infix operators must be spaced. (space-infix-ops)
(#525) Infix operators must be spaced. (space-infix-ops)
(#527) Expected space(s) after "if". (keyword-spacing)
(#527) Missing space before opening brace. (space-before-blocks)
(#530) Infix operators must be spaced. (space-infix-ops)
(#545) Missing JSDoc return type. (valid-jsdoc)
(#545) Expected JSDoc for 'text' but found 'String'. (valid-jsdoc)
(#545) Missing JSDoc parameter type for 'String'. (valid-jsdoc)
(#556) Missing JSDoc parameter type for 'String'. (valid-jsdoc)
(#556) Missing JSDoc return type. (valid-jsdoc)
(#556) Expected JSDoc for 'text' but found 'String'. (valid-jsdoc)
(#567) Missing JSDoc return type. (valid-jsdoc)
(#567) Missing JSDoc parameter type for 'String'. (valid-jsdoc)
(#567) Expected JSDoc for 'text' but found 'String'. (valid-jsdoc)
(#582) Missing JSDoc parameter type for 'String'. (valid-jsdoc)
(#582) Duplicate JSDoc parameter 'String'. (valid-jsdoc)
(#582) Missing JSDoc for parameter 'origin'. (valid-jsdoc)
(#582) Duplicate JSDoc parameter 'String'. (valid-jsdoc)
(#582) Missing JSDoc return type. (valid-jsdoc)
(#582) Expected JSDoc for 'tag' but found 'String'. (valid-jsdoc)
(#582) Missing JSDoc for parameter 'current'. (valid-jsdoc)
(#582) Missing JSDoc for parameter 'text'. (valid-jsdoc)
(#582) Missing JSDoc parameter type for 'String'. (valid-jsdoc)
(#582) Missing JSDoc parameter type for 'String'. (valid-jsdoc)
(#582) Duplicate JSDoc parameter 'String'. (valid-jsdoc)
(#582) Missing JSDoc parameter type for 'String'. (valid-jsdoc)
(#605) A space is required after ','. (comma-spacing)
(#611) Expected space(s) after "if". (keyword-spacing)
(#616) Expected space(s) after "if". (keyword-spacing)
(#623) Unexpected constant condition. (no-constant-condition)
(#637) Expected space(s) after "if". (keyword-spacing)
(#637) Infix operators must be spaced. (space-infix-ops)
(#640) Expected space(s) after "if". (keyword-spacing)
(#643) Expected space(s) after "if". (keyword-spacing)
(#653) Missing JSDoc parameter type for 'String'. (valid-jsdoc)
(#653) Missing JSDoc for parameter 'origin'. (valid-jsdoc)
(#653) Expected JSDoc for 'text' but found 'String'. (valid-jsdoc)
(#653) Missing JSDoc return type. (valid-jsdoc)
(#653) Duplicate JSDoc parameter 'String'. (valid-jsdoc)
(#653) Missing JSDoc parameter type for 'String'. (valid-jsdoc)
(#672) Expected space(s) after "if". (keyword-spacing)
(#680) Expected space(s) after "if". (keyword-spacing)
(#690) Expected space(s) after "if". (keyword-spacing)
(#694) Expected space(s) after "if". (keyword-spacing)
(#696) Expected space(s) after "if". (keyword-spacing)
(#698) Expected space(s) after "if". (keyword-spacing)
(#700) Expected space(s) after "if". (keyword-spacing)
(#702) Expected space(s) after "if". (keyword-spacing)
(#704) Expected space(s) after "if". (keyword-spacing)
(#706) Expected space(s) after "if". (keyword-spacing)
(#708) Expected space(s) after "if". (keyword-spacing)
(#710) Expected space(s) after "if". (keyword-spacing)
(#712) Expected space(s) after "if". (keyword-spacing)
(#714) Expected space(s) after "if". (keyword-spacing)
(#716) Expected space(s) after "if". (keyword-spacing)
(#718) Expected space(s) after "if". (keyword-spacing)
(#732) Expected space(s) after "if". (keyword-spacing)
(#742) Missing JSDoc parameter type for 'String'. (valid-jsdoc)
(#742) Missing JSDoc return type. (valid-jsdoc)
(#742) Expected JSDoc for 'text' but found 'String'. (valid-jsdoc)
(#753) Expected space(s) after "while". (keyword-spacing)
(#753) Unexpected constant condition. (no-constant-condition)
(#756) Expected space(s) after "if". (keyword-spacing)
(#769) Missing JSDoc return type. (valid-jsdoc)
(#769) Expected JSDoc for 'style' but found 'String'. (valid-jsdoc)
(#769) Missing JSDoc for parameter 'origin'. (valid-jsdoc)
(#769) Missing JSDoc parameter type for 'String'. (valid-jsdoc)
(#769) Missing JSDoc parameter type for 'String'. (valid-jsdoc)
(#769) Duplicate JSDoc parameter 'String'. (valid-jsdoc)
(#784) Expected space(s) after "if". (keyword-spacing)
(#786) Expected space(s) after "if". (keyword-spacing)
(#788) Expected space(s) after "if". (keyword-spacing)
(#801) Expected space(s) after "while". (keyword-spacing)
(#801) Unexpected constant condition. (no-constant-condition)
(#804) Expected space(s) after "if". (keyword-spacing)
(#812) Expected space(s) after "if". (keyword-spacing)
(#813) Expected space(s) after "if". (keyword-spacing)
(#820) Expected space(s) after "if". (keyword-spacing)
(#830) Expected JSDoc for 'text' but found 'String'. (valid-jsdoc)
(#830) Missing JSDoc return type. (valid-jsdoc)
(#830) Missing JSDoc parameter type for 'String'. (valid-jsdoc)
(#844) A space is required after ','. (comma-spacing)
(#846) Expected space(s) after "while". (keyword-spacing)
(#846) Unexpected constant condition. (no-constant-condition)
(#848) Infix operators must be spaced. (space-infix-ops)
(#850) Expected space(s) after "if". (keyword-spacing)
(#855) Expected space(s) after "if". (keyword-spacing)
(#858) Expected space(s) after "if". (keyword-spacing)
(#858) Infix operators must be spaced. (space-infix-ops)
(#861) Expected space(s) after "if". (keyword-spacing)
(#861) Infix operators must be spaced. (space-infix-ops)
(#862) Infix operators must be spaced. (space-infix-ops)
(#865) Infix operators must be spaced. (space-infix-ops)
(#866) Expected space(s) after "if". (keyword-spacing)
(#866) Infix operators must be spaced. (space-infix-ops)
(#867) Infix operators must be spaced. (space-infix-ops)
(#868) Expected space or tab after '//' in comment. (spaced-comment)
(#870) Infix operators must be spaced. (space-infix-ops)
(#871) Expected space(s) after "if". (keyword-spacing)
(#871) Infix operators must be spaced. (space-infix-ops)
(#874) Infix operators must be spaced. (space-infix-ops)
(#875) Expected space(s) after "if". (keyword-spacing)
(#875) Infix operators must be spaced. (space-infix-ops)
(#876) Infix operators must be spaced. (space-infix-ops)
(#878) Infix operators must be spaced. (space-infix-ops)
(#879) Expected space(s) after "if". (keyword-spacing)
(#879) Infix operators must be spaced. (space-infix-ops)
(#880) Infix operators must be spaced. (space-infix-ops)
(#882) Infix operators must be spaced. (space-infix-ops)
(#884) Infix operators must be spaced. (space-infix-ops)
(#886) Expected space(s) after "if". (keyword-spacing)
(#886) Infix operators must be spaced. (space-infix-ops)
(#896) Expected space(s) after "if". (keyword-spacing)
(#896) Infix operators must be spaced. (space-infix-ops)
(#897) Infix operators must be spaced. (space-infix-ops)

CSS problems

(0 errors, 0 warnings)

This section shows CSS problems detected by csslint [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/pastespecial/lib.php
(#33) Function atto_pastespecial_strings_for_js is not documented
(#62) Function atto_pastespecial_params_for_js 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

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