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

(2 errors, 0 warnings)

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

mod/grouptool/classes/pdf.php
(#29) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
mod/grouptool/editgroup_ajax.php
(#29) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.

Javascript coding style problems

(0 errors, 104 warnings)

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

mod/grouptool/amd/src/administration.js
(#48) Unexpected @return tag; function has no return statement. (valid-jsdoc)
(#48) Missing JSDoc for parameter 'e'. (valid-jsdoc)
(#60) Unexpected space between function name and paren. (no-spaced-func)
(#60) There should be no spaces inside this paren. (space-in-parens)
(#60) There should be no spaces inside this paren. (space-in-parens)
(#91) There should be no space after '{' (object-curly-spacing)
(#95) Statement inside of curly braces should be on next line. (brace-style)
(#95) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#108) Statement inside of curly braces should be on next line. (brace-style)
(#108) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#108) Statement inside of curly braces should be on next line. (brace-style)
(#108) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#108) This line has too many statements. Maximum allowed is 2. (max-statements-per-line)
(#122) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#122) Statement inside of curly braces should be on next line. (brace-style)
(#122) Statement inside of curly braces should be on next line. (brace-style)
(#122) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#122) This line has too many statements. Maximum allowed is 2. (max-statements-per-line)
(#138) Unquoted number literal '404' used as key. (quote-props)
(#141) Unquoted number literal '500' used as key. (quote-props)
(#159) Statement inside of curly braces should be on next line. (brace-style)
(#159) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#166) Missing JSDoc for parameter 'e'. (valid-jsdoc)
(#166) Unexpected @return tag; function has no return statement. (valid-jsdoc)
(#178) Unexpected space between function name and paren. (no-spaced-func)
(#178) There should be no spaces inside this paren. (space-in-parens)
(#178) There should be no spaces inside this paren. (space-in-parens)
(#218) There should be no space after '{' (object-curly-spacing)
(#242) Statement inside of curly braces should be on next line. (brace-style)
(#242) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#242) Statement inside of curly braces should be on next line. (brace-style)
(#242) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#242) This line has too many statements. Maximum allowed is 2. (max-statements-per-line)
(#262) Statement inside of curly braces should be on next line. (brace-style)
(#262) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#262) Statement inside of curly braces should be on next line. (brace-style)
(#262) This line has too many statements. Maximum allowed is 2. (max-statements-per-line)
(#262) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#278) Unquoted number literal '404' used as key. (quote-props)
(#281) Unquoted number literal '500' used as key. (quote-props)
(#303) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#303) Statement inside of curly braces should be on next line. (brace-style)
(#306) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#306) Statement inside of curly braces should be on next line. (brace-style)
(#313) Missing JSDoc for parameter 'e'. (valid-jsdoc)
(#313) Unexpected @return tag; function has no return statement. (valid-jsdoc)
(#323) Unexpected space between function name and paren. (no-spaced-func)
(#323) There should be no spaces inside this paren. (space-in-parens)
(#323) There should be no spaces inside this paren. (space-in-parens)
(#343) There should be no space after '{' (object-curly-spacing)
(#376) Unexpected space before function parentheses. (space-before-function-paren)
(#378) Unexpected space before function parentheses. (space-before-function-paren)
(#416) There should be no space after '{' (object-curly-spacing)
(#448) Unexpected space before function parentheses. (space-before-function-paren)
(#450) Unexpected space before function parentheses. (space-before-function-paren)
(#468) Unquoted number literal '404' used as key. (quote-props)
(#471) Unquoted number literal '500' used as key. (quote-props)
(#486) Missing JSDoc for parameter 'e'. (valid-jsdoc)
(#486) Unexpected @return tag; function has no return statement. (valid-jsdoc)
(#497) There should be no spaces inside this paren. (space-in-parens)
(#497) There should be no spaces inside this paren. (space-in-parens)
(#518) There should be no space after '{' (object-curly-spacing)
(#530) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#530) Statement inside of curly braces should be on next line. (brace-style)
(#542) Unquoted number literal '404' used as key. (quote-props)
(#545) Unquoted number literal '500' used as key. (quote-props)
(#558) Missing JSDoc for parameter 'params'. (valid-jsdoc)
(#558) Unexpected @return tag; function has no return statement. (valid-jsdoc)
(#575) There should be no space after '{' (object-curly-spacing)
(#575) There should be no space before '}' (object-curly-spacing)
(#587) There should be no space after '{' (object-curly-spacing)
(#587) There should be no space before '}' (object-curly-spacing)
mod/grouptool/amd/src/grading.js
(#42) Identifier 'update_groups' is not in camel case. (camelcase)
(#56) Extra space after key 'method'. (key-spacing)
(#57) Extra space after key 'url'. (key-spacing)
mod/grouptool/amd/src/groupcreation.js
(#37) Extra space after key 'FIELDSETCONTAINSADVANCED'. (key-spacing)
(#38) Extra space after key 'DIVFITEMADVANCED'. (key-spacing)
(#39) Extra space after key 'DIVFCONTAINER'. (key-spacing)
(#40) Extra space after key 'MORELESSLINK'. (key-spacing)
(#41) Extra space after key 'MORELESSLINKONLY'. (key-spacing)
(#45) Extra space after key 'SHOW'. (key-spacing)
(#47) Extra space after key 'MORELESSTOGGLER'. (key-spacing)
(#48) Extra space after key 'SHOWLESS'. (key-spacing)
(#53) Identifier 'add_tag' is not in camel case. (camelcase)
(#65) Expected space(s) after "for". (keyword-spacing)
(#102) There should be no spaces inside this paren. (space-in-parens)
mod/grouptool/amd/src/memberspopup.js
(#67) Unexpected space before function parentheses. (space-before-function-paren)
(#88) Unexpected space before function parentheses. (space-before-function-paren)
(#90) Unexpected space before function parentheses. (space-before-function-paren)
mod/grouptool/amd/src/sortlist.js
(#45) Identifier 'update_checkboxes' is not in camel case. (camelcase)
(#50) There should be no spaces inside this paren. (space-in-parens)
(#61) Expected space or tab after '//' in comment. (spaced-comment)
(#114) There should be no space after '{' (object-curly-spacing)
(#116) There should be no space after '{' (object-curly-spacing)
(#166) Identifier 'this_order' is not in camel case. (camelcase)
(#167) Identifier 'other_order' is not in camel case. (camelcase)
(#187) There should be no space after '{' (object-curly-spacing)
(#225) Identifier 'this_order' is not in camel case. (camelcase)
(#226) Identifier 'other_order' is not in camel case. (camelcase)
(#245) There should be no space after '{' (object-curly-spacing)
(#309) Identifier 'checkbox_controls_action' is not in camel case. (camelcase)
(#310) Identifier 'checkbox_controls_action' is not in camel case. (camelcase)
(#311) Identifier 'checkbox_controls_action' is not in camel case. (camelcase)
(#314) Unexpected space before function parentheses. (space-before-function-paren)

CSS problems

(0 errors, 0 warnings)

This section shows CSS problems detected by csslint [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]