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

(17 errors, 3 warnings)

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

local/checkmarkreport/classes/base.php
(#1008) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#1009) Commas (,) must be followed by white space.
local/checkmarkreport/classes/example.php
(#49) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#61) Expected "if (...) {\n"; found "if(...) {\n"
(#64) 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."
(#65) Line exceeds 132 characters; contains 144 characters
(#66) Expected "if (...) {\n"; found "if(...) {\n"
(#71) Whitespace found at end of line
(#88) Expected "if (...) {\n"; found "if(...) {\n"
(#96) Space found before semicolon; expected "')';" but found "')' ;"
local/checkmarkreport/classes/overview.php
(#75) Variable "for_export" must not contain underscores.
(#623) Variable "for_export" must not contain underscores.
(#629) Expected "if (...) {\n"; found "if (...) {\n"
(#629) Variable "for_export" must not contain underscores.
local/checkmarkreport/classes/useroverview.php
(#81) Variable "for_export" must not contain underscores.
(#256) Variable "for_export" must not contain underscores.
(#259) Expected "} else {\n"; found "}\n else {\n"
(#455) Inline comments must end in full-stops, exclamation marks, or question marks
(#825) Inline comments must end in full-stops, exclamation marks, or question marks
(#1039) Commas (,) must be followed by white space.

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

(14 errors, 0 warnings)

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

local/checkmarkreport/classes/example.php
(#30) Class example is not documented
(#32) Function example::get_state is not documented
(#36) Function example::from_id is not documented
(#73) Function example::print_pointsstring is not documented
(#79) Function example::get_points_if_checked is not documented
(#87) Function example::get_checked_of_max_points is not documented
(#94) Function example::get_points_for_export is not documented
local/checkmarkreport/classes/overview.php
(#70) Phpdocs for function local_checkmarkreport_overview::get_table has incomplete parameters list
local/checkmarkreport/classes/privacy/provider.php
(#48) There is no description in phpdocs for function get_preferences
(#20) Package mod_checkmarkreport is not valid
(#42) Package mod_checkmarkreport is not valid
local/checkmarkreport/classes/reportfilterform.php
(#39) Function local_checkmarkreport_reportfilterform::__construct is not documented
local/checkmarkreport/classes/useroverview.php
(#78) Phpdocs for function local_checkmarkreport_useroverview::get_table has incomplete parameters list
local/checkmarkreport/renderer.php
(#494) There is no description in phpdocs for function add_cell_tooltip

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

(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