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

(11 errors, 6 warnings)

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

local/checkmarkreport/classes/base.php
(#1433) Opening brace should be on the same line as the declaration
local/checkmarkreport/classes/example.php
(#70) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#85) No space found before comment text; expected "// Call the function again if a userid is present without userid when no example was found." but found "//Call the function again if a userid is present without userid when no example was found."
(#141) Inline comments must start with a capital letter, digit or 3-dots sequence
(#141) This comment is 80% valid code; is this commented out code?
(#141) No space found before comment text; expected "// return '(0)';!" but found "//return '(0)';!"
(#156) Line indented incorrectly; expected 8 spaces, found 12
(#157) Inline comments must start with a capital letter, digit or 3-dots sequence
(#157) This comment is 47% valid code; is this commented out code?
(#157) No space found before comment text; expected "// return '(' . $this->grade . ')';!" but found "//return '(' . $this->grade . ')';!"
(#159) Line indented incorrectly; expected 8 spaces, found 12
(#160) Inline comments must start with a capital letter, digit or 3-dots sequence
(#160) This comment is 80% valid code; is this commented out code?
(#160) No space found before comment text; expected "// return '(0)';!" but found "//return '(0)';!"
(#162) Line indented incorrectly; expected 8 spaces, found 12
(#164) Line indented incorrectly; expected 8 spaces, found 12
(#166) Line indented incorrectly; expected 8 spaces, found 12

Javascript coding style problems

(0 errors, 24 warnings)

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

local/checkmarkreport/amd/src/tooltip.js
(#37) 'triggerEl' used outside of binding context. (block-scoped-var)
(#39) 'triggerEl' used outside of binding context. (block-scoped-var)
(#39) 'triggerEl' is already defined. (no-redeclare)
(#41) 'triggerEl' used outside of binding context. (block-scoped-var)
(#41) 'triggerEl' used outside of binding context. (block-scoped-var)
(#42) 'tooltipEl' used outside of binding context. (block-scoped-var)
(#44) 'tooltipEl' used outside of binding context. (block-scoped-var)
(#45) 'tooltipEl' is already defined. (no-redeclare)
(#50) 'triggerEl' used outside of binding context. (block-scoped-var)
(#50) 'triggerEl' used outside of binding context. (block-scoped-var)
(#52) 'triggerEl' used outside of binding context. (block-scoped-var)
(#52) 'triggerEl' used outside of binding context. (block-scoped-var)
(#57) 'tooltipEl' used outside of binding context. (block-scoped-var)
(#60) 'triggerEl' used outside of binding context. (block-scoped-var)
(#60) 'triggerEl' used outside of binding context. (block-scoped-var)
(#60) 'tooltipEl' used outside of binding context. (block-scoped-var)
(#62) Expected space or tab after '/*' in comment. (spaced-comment)
(#68) 'tooltipEl' used outside of binding context. (block-scoped-var)
(#69) 'tooltipEl' used outside of binding context. (block-scoped-var)
(#86) 'tooltipId' used outside of binding context. (block-scoped-var)
(#88) 'tooltipId' is already defined. (no-redeclare)
(#88) 'tooltipId' used outside of binding context. (block-scoped-var)
(#90) 'tooltipId' used outside of binding context. (block-scoped-var)
(#90) 'tooltipId' used outside of binding context. (block-scoped-var)

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

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

local/checkmarkreport/amd/build/tooltip.min.js
Uncommitted change detected.

shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(1 errors, 0 warnings)

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

local/checkmarkreport/templates/examplepoints.mustache
(#1) Mustache syntax exception: Example context JSON is unparsable, fails with: Syntax error