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

(27 errors, 25 warnings)

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

local/customgradingform_renderer/classes/output/renderer.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#46) global $PAGE cannot be used in renderers. Use $this->page.
(#51) global $PAGE cannot be used in renderers. Use $this->page.
(#52) There should be a comma after the last array item in a multi-line array.
(#59) There should be a comma after the last array item in a multi-line array.
local/customgradingform_renderer/db/access.php
(#33) Inline comments must end in full-stops, exclamation marks, or question marks
local/customgradingform_renderer/import.php
(#21) Inline doc block comments are not allowed; use "// Comment." instead
(#42) There should be a comma after the last array item in a multi-line array.
(#52) There should be a comma after the last array item in a multi-line array.
(#63) Whitespace found at end of line within string
(#64) Whitespace found at end of line within string
(#65) Whitespace found at end of line within string
(#70) Missing @copyright tag
(#70) Missing @license tag
(#70) Missing docblock for class rubric_csv_form
(#71) Missing docblock for function definition
(#93) There should be a comma after the last array item in a multi-line array.
(#122) Expected "if (...) {\n"; found "if (...) { "
(#129) Expected "if (...) {\n"; found "if (...) { "
(#142) There should be a comma after the last array item in a multi-line array.
(#154) Line exceeds 132 characters; contains 147 characters
(#160) Line exceeds 132 characters; contains 180 characters
(#168) Line exceeds maximum limit of 180 characters; contains 208 characters
(#177) Line exceeds 132 characters; contains 172 characters
(#200) There should be a comma after the last array item in a multi-line array.
local/customgradingform_renderer/import_form.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#27) Missing docblock for class import_form
(#28) Missing docblock for function definition
(#35) There should be a comma after the last array item in a multi-line array.
local/customgradingform_renderer/initimport.php
(#44) There should be a comma after the last array item in a multi-line array.
(#61) There should be a comma after the last array item in a multi-line array.
(#90) There should be a comma after the last array item in a multi-line array.
local/customgradingform_renderer/lang/en/local_customgradingform_renderer.php
(#26) The string key "customgradingform_renderer:import" is not in the correct order, it should be before "pluginname"
(#28) The string key "choosecsvfile" is not in the correct order, it should be before "importfromcsv"
(#30) The string key "csvrequired" is not in the correct order, it should be before "submitcsv"
(#32) The string key "importerror" is not in the correct order, it should be before "importsuccess"
(#34) Unexpected comment found. Auto-fixing will not work after this comment
(#34) Inline comments must end in full-stops, exclamation marks, or question marks
(#37) The string key "enablemaxlevelscore" is not in the correct order, it should be before "maxlevelscore_desc"
(#40) Unexpected comment found. Auto-fixing will not work after this comment
(#40) Inline comments must end in full-stops, exclamation marks, or question marks
(#47) The string key "fileopenerror" is not in the correct order, it should be before "minlevelscore_desc"
(#49) The string key "csvmissingcolumns" is not in the correct order, it should be before "invalidcsvformat"
(#51) The string key "errorrepeatedscores" is not in the correct order, it should be before "errorrubricexists"
(#52) The string key "errorminmissing" is not in the correct order, it should be before "errorrepeatedscores"
(#53) The string key "errormaxexceeded" is not in the correct order, it should be before "errorminmissing"
(#57) The string key "privacy:metadata" is not in the correct order, it should be before "rubricalreadydefined"
local/customgradingform_renderer/settings.php
(#33) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) Inline comments must end in full-stops, exclamation marks, or question marks
(#50) Inline comments must end in full-stops, exclamation marks, or question marks
(#58) Inline comments must end in full-stops, exclamation marks, or question marks

Javascript coding style problems

(0 errors, 0 warnings)

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


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

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


Gherkin .feature problems

(0 errors, 0 warnings)

This section shows problems detected in behat .feature files [More info]