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

(0 errors, 0 warnings)

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


Javascript coding style problems

(0 errors, 57 warnings)

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

local/coursegen/amd/src/add_activity_ai.js
(#90) There should be no space after '{'. (@babel/object-curly-spacing)
(#90) There should be no space before '}'. (@babel/object-curly-spacing)
(#108) Unexpected space before function parentheses. (space-before-function-paren)
(#121) There should be no space after '{'. (@babel/object-curly-spacing)
(#121) There should be no space before '}'. (@babel/object-curly-spacing)
(#128) Unexpected space before function parentheses. (space-before-function-paren)
(#202) Unexpected space before function parentheses. (space-before-function-paren)
(#308) Blocks are nested too deeply (5). Maximum allowed is 4. (max-depth)
(#365) There should be no space after '{'. (@babel/object-curly-spacing)
(#365) There should be no space before '}'. (@babel/object-curly-spacing)
local/coursegen/amd/src/add_course_ai_button.js
(#36) Unexpected space before function parentheses. (space-before-function-paren)
(#63) Unexpected space before function parentheses. (space-before-function-paren)
(#79) Unexpected space before function parentheses. (space-before-function-paren)
(#86) There should be no space after '{'. (@babel/object-curly-spacing)
(#86) There should be no space before '}'. (@babel/object-curly-spacing)
local/coursegen/amd/src/add_course_ai_modal.js
(#27) There should be no space after '{'. (@babel/object-curly-spacing)
(#27) Identifier 'get_string' is not in camel case. (camelcase)
(#27) There should be no space before '}'. (@babel/object-curly-spacing)
(#82) There should be no space after '{'. (@babel/object-curly-spacing)
(#82) There should be no space before '}'. (@babel/object-curly-spacing)
(#91) Unexpected space before function parentheses. (space-before-function-paren)
(#150) Unexpected space before function parentheses. (space-before-function-paren)
(#315) Unexpected space before function parentheses. (space-before-function-paren)
(#429) Unexpected space before function parentheses. (space-before-function-paren)
local/coursegen/amd/src/course_streaming.js
(#24) There should be no space after '{'. (@babel/object-curly-spacing)
(#24) There should be no space before '}'. (@babel/object-curly-spacing)
(#25) There should be no space after '{'. (@babel/object-curly-spacing)
(#25) Identifier 'get_string' is not in camel case. (camelcase)
(#25) There should be no space before '}'. (@babel/object-curly-spacing)
(#70) There should be no space after '{'. (@babel/object-curly-spacing)
(#70) There should be no space before '}'. (@babel/object-curly-spacing)
(#80) Unexpected space before function parentheses. (space-before-function-paren)
(#200) Empty block statement. (no-empty)
(#250) Unexpected space before function parentheses. (space-before-function-paren)
(#285) Unexpected space before function parentheses. (space-before-function-paren)
(#302) Unexpected space before function parentheses. (space-before-function-paren)
(#315) Unexpected space before function parentheses. (space-before-function-paren)
(#328) Unexpected space before function parentheses. (space-before-function-paren)
(#333) Unexpected space before function parentheses. (space-before-function-paren)
(#345) There should be no space after '{'. (@babel/object-curly-spacing)
(#345) There should be no space before '}'. (@babel/object-curly-spacing)
local/coursegen/amd/src/module_streaming.js
(#24) Identifier 'get_string' is not in camel case. (camelcase)
(#69) There should be no space after '{'. (@babel/object-curly-spacing)
(#69) There should be no space before '}'. (@babel/object-curly-spacing)
(#109) Unexpected space before function parentheses. (space-before-function-paren)
(#148) Unexpected space before function parentheses. (space-before-function-paren)
(#156) Unexpected space before function parentheses. (space-before-function-paren)
(#164) Unexpected space before function parentheses. (space-before-function-paren)
(#172) Unexpected space before function parentheses. (space-before-function-paren)
(#180) Unexpected space before function parentheses. (space-before-function-paren)
(#188) Unexpected space before function parentheses. (space-before-function-paren)
(#196) Unexpected space before function parentheses. (space-before-function-paren)
(#204) Unexpected space before function parentheses. (space-before-function-paren)
(#212) Unexpected space before function parentheses. (space-before-function-paren)
(#232) There should be no space after '{'. (@babel/object-curly-spacing)
(#232) There should be no space before '}'. (@babel/object-curly-spacing)
(#267) Unexpected space before function parentheses. (space-before-function-paren)

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]

Problems running grunt

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]

local/coursegen/templates/activity_chat_footer.mustache
(#1) HTML Validation info, line 32: Possible misuse of “aria-label”. (If you disagree with this warning, file an issue report or send e-mail to www-validator@w3.org.) (/div> <div class="w-100 text-center mt-2" aria-label="Powered by Data Curso LLC"> )
local/coursegen/templates/add_activity_ai_modal.mustache
(#1) HTML Validation info, line 2: Possible misuse of “aria-label”. (If you disagree with this warning, file an issue report or send e-mail to www-validator@w3.org.) (ad><body><div class="local_coursegen_ai_chat pb-4 container" aria-label="((+addactivityai_arialabel%2C+local_coursegen+))"> <)
local/coursegen/templates/add_course_ai_modal.mustache
(#1) HTML Validation info, line 2: Possible misuse of “aria-label”. (If you disagree with this warning, file an issue report or send e-mail to www-validator@w3.org.) (ad><body><div class="local_coursegen_course_chat pb-4 container" aria-label="((+addcourseai_arialabel%2C+local_coursegen+))"> <)
local/coursegen/templates/add_course_ai_modal_footer.mustache
(#1) HTML Validation info, line 2: Possible misuse of “aria-label”. (If you disagree with this warning, file an issue report or send e-mail to www-validator@w3.org.) (ad><body><div class="w-100 text-center mt-2" aria-label="Powered by Data Curso LLC"> <)

Gherkin .feature problems

(0 errors, 0 warnings)

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