Prechecker results: warning


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

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

public/ai/provider/datacurso/amd/src/consumption.js
(#25) There should be no space after '{'. (@babel/object-curly-spacing)
(#25) There should be no space before '}'. (@babel/object-curly-spacing)
(#28) There should be no space after '{'. (@babel/object-curly-spacing)
(#28) There should be no space before '}'. (@babel/object-curly-spacing)
(#30) Unexpected space before function parentheses. (space-before-function-paren)
(#107) Unexpected space before function parentheses. (space-before-function-paren)
(#107) Expected to return a value at the end of async arrow function. (consistent-return)
(#130) Unexpected space before function parentheses. (space-before-function-paren)
(#130) Expected to return a value at the end of async arrow function. (consistent-return)
(#153) Unexpected space before function parentheses. (space-before-function-paren)
(#153) There should be no space after '{'. (@babel/object-curly-spacing)
(#153) There should be no space before '}'. (@babel/object-curly-spacing)
(#193) Unexpected space before function parentheses. (space-before-function-paren)
(#213) There should be no space after '{'. (@babel/object-curly-spacing)
(#213) There should be no space before '}'. (@babel/object-curly-spacing)
(#217) Expected space(s) after "try". (keyword-spacing)
(#222) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#232) There should be no space after '{'. (@babel/object-curly-spacing)
(#232) Identifier 'current_page' is not in camel case. (camelcase)
(#232) Identifier 'total_pages' is not in camel case. (camelcase)
(#232) There should be no space before '}'. (@babel/object-curly-spacing)
(#234) Identifier 'current_page' is not in camel case. (camelcase)
(#235) Identifier 'total_pages' is not in camel case. (camelcase)
(#240) Identifier 'current_page' is not in camel case. (camelcase)
(#242) Identifier 'current_page' is not in camel case. (camelcase)
(#243) Identifier 'current_page' is not in camel case. (camelcase)
(#243) Identifier 'total_pages' is not in camel case. (camelcase)
public/ai/provider/datacurso/amd/src/report_charts.js
(#26) There should be no space after '{'. (@babel/object-curly-spacing)
(#26) There should be no space before '}'. (@babel/object-curly-spacing)
(#29) Unexpected space before function parentheses. (space-before-function-paren)
(#43) There should be no space after '{'. (@babel/object-curly-spacing)
(#43) There should be no space before '}'. (@babel/object-curly-spacing)
(#44) There should be no space after '{'. (@babel/object-curly-spacing)
(#44) There should be no space before '}'. (@babel/object-curly-spacing)
(#45) There should be no space after '{'. (@babel/object-curly-spacing)
(#45) There should be no space before '}'. (@babel/object-curly-spacing)
(#51) Each then() should return a value or throw (promise/always-return)
(#62) Comments should not begin with a lowercase character. (capitalized-comments)
(#95) Comments should not begin with a lowercase character. (capitalized-comments)
(#96) Unexpected space before function parentheses. (space-before-function-paren)
(#103) There should be no space after '{'. (@babel/object-curly-spacing)
(#103) There should be no space before '}'. (@babel/object-curly-spacing)
(#122) Comments should not begin with a lowercase character. (capitalized-comments)
(#148) There should be no space after '{'. (@babel/object-curly-spacing)
(#148) There should be no space before '}'. (@babel/object-curly-spacing)
(#152) Unexpected space before function parentheses. (space-before-function-paren)
(#152) Expected to return a value at the end of async arrow function. (consistent-return)
(#157) There should be no space after '{'. (@babel/object-curly-spacing)
(#157) There should be no space before '}'. (@babel/object-curly-spacing)
(#161) Comments should not begin with a lowercase character. (capitalized-comments)
(#199) There should be no space after '{'. (@babel/object-curly-spacing)
(#199) There should be no space before '}'. (@babel/object-curly-spacing)
(#203) Unexpected space before function parentheses. (space-before-function-paren)
(#203) Expected to return a value at the end of async arrow function. (consistent-return)
(#209) There should be no space after '{'. (@babel/object-curly-spacing)
(#209) There should be no space before '}'. (@babel/object-curly-spacing)
(#213) Comments should not begin with a lowercase character. (capitalized-comments)
(#249) There should be no space after '{'. (@babel/object-curly-spacing)
(#249) There should be no space after '{'. (@babel/object-curly-spacing)
(#249) There should be no space before '}'. (@babel/object-curly-spacing)
(#249) There should be no space before '}'. (@babel/object-curly-spacing)
(#250) There should be no space after '{'. (@babel/object-curly-spacing)
(#250) There should be no space after '{'. (@babel/object-curly-spacing)
(#250) There should be no space before '}'. (@babel/object-curly-spacing)
(#250) There should be no space before '}'. (@babel/object-curly-spacing)
(#256) Unexpected space before function parentheses. (space-before-function-paren)
(#256) Expected to return a value at the end of async arrow function. (consistent-return)
(#264) There should be no space after '{'. (@babel/object-curly-spacing)
(#264) There should be no space before '}'. (@babel/object-curly-spacing)
public/ai/provider/datacurso/amd/src/user_token_limits.js
(#36) Unexpected space before function parentheses. (space-before-function-paren)
(#48) Unexpected space before function parentheses. (space-before-function-paren)
(#56) Unexpected space before function parentheses. (space-before-function-paren)
(#76) Unexpected space before function parentheses. (space-before-function-paren)
(#84) Unexpected space before function parentheses. (space-before-function-paren)
(#106) 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

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