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

(0 errors, 6 warnings)

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

mod/grouptool/tests/registration_test.php
(#683) This comment is 41% valid code; is this commented out code?
(#764) Possible useless method overriding detected
(#778) Possible useless method overriding detected
(#790) Possible useless method overriding detected
(#808) Possible useless method overriding detected
(#826) Possible useless method overriding detected

Javascript coding style problems

(0 errors, 103 warnings)

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

mod/grouptool/amd/src/administration.js
(#46) Unexpected @return tag; function has no return statement. (valid-jsdoc)
(#46) Missing JSDoc for parameter 'e'. (valid-jsdoc)
(#58) Unexpected space between function name and paren. (func-call-spacing)
(#58) There should be no spaces inside this paren. (space-in-parens)
(#58) There should be no spaces inside this paren. (space-in-parens)
(#89) There should be no space after '{'. (object-curly-spacing)
(#93) Statement inside of curly braces should be on next line. (brace-style)
(#93) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#106) Statement inside of curly braces should be on next line. (brace-style)
(#106) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#106) Statement inside of curly braces should be on next line. (brace-style)
(#106) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#106) This line has 3 statements. Maximum allowed is 2. (max-statements-per-line)
(#120) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#120) Statement inside of curly braces should be on next line. (brace-style)
(#120) Statement inside of curly braces should be on next line. (brace-style)
(#120) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#120) This line has 3 statements. Maximum allowed is 2. (max-statements-per-line)
(#136) Unquoted number literal '404' used as key. (quote-props)
(#139) Unquoted number literal '500' used as key. (quote-props)
(#157) Statement inside of curly braces should be on next line. (brace-style)
(#157) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#164) Missing JSDoc for parameter 'e'. (valid-jsdoc)
(#164) Unexpected @return tag; function has no return statement. (valid-jsdoc)
(#176) Unexpected space between function name and paren. (func-call-spacing)
(#176) There should be no spaces inside this paren. (space-in-parens)
(#176) There should be no spaces inside this paren. (space-in-parens)
(#216) There should be no space after '{'. (object-curly-spacing)
(#240) Statement inside of curly braces should be on next line. (brace-style)
(#240) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#240) Statement inside of curly braces should be on next line. (brace-style)
(#240) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#240) This line has 3 statements. Maximum allowed is 2. (max-statements-per-line)
(#260) Statement inside of curly braces should be on next line. (brace-style)
(#260) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#260) Statement inside of curly braces should be on next line. (brace-style)
(#260) This line has 3 statements. Maximum allowed is 2. (max-statements-per-line)
(#260) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#276) Unquoted number literal '404' used as key. (quote-props)
(#279) Unquoted number literal '500' used as key. (quote-props)
(#301) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#301) Statement inside of curly braces should be on next line. (brace-style)
(#304) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#304) Statement inside of curly braces should be on next line. (brace-style)
(#311) Missing JSDoc for parameter 'e'. (valid-jsdoc)
(#311) Unexpected @return tag; function has no return statement. (valid-jsdoc)
(#321) Unexpected space between function name and paren. (func-call-spacing)
(#321) There should be no spaces inside this paren. (space-in-parens)
(#321) There should be no spaces inside this paren. (space-in-parens)
(#341) There should be no space after '{'. (object-curly-spacing)
(#374) Unexpected space before function parentheses. (space-before-function-paren)
(#376) Unexpected space before function parentheses. (space-before-function-paren)
(#414) There should be no space after '{'. (object-curly-spacing)
(#446) Unexpected space before function parentheses. (space-before-function-paren)
(#448) Unexpected space before function parentheses. (space-before-function-paren)
(#466) Unquoted number literal '404' used as key. (quote-props)
(#469) Unquoted number literal '500' used as key. (quote-props)
(#484) Missing JSDoc for parameter 'e'. (valid-jsdoc)
(#484) Unexpected @return tag; function has no return statement. (valid-jsdoc)
(#495) There should be no spaces inside this paren. (space-in-parens)
(#495) There should be no spaces inside this paren. (space-in-parens)
(#516) There should be no space after '{'. (object-curly-spacing)
(#528) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#528) Statement inside of curly braces should be on next line. (brace-style)
(#540) Unquoted number literal '404' used as key. (quote-props)
(#543) Unquoted number literal '500' used as key. (quote-props)
(#556) Missing JSDoc for parameter 'params'. (valid-jsdoc)
(#556) Unexpected @return tag; function has no return statement. (valid-jsdoc)
(#573) There should be no space after '{'. (object-curly-spacing)
(#573) There should be no space before '}'. (object-curly-spacing)
(#585) There should be no space after '{'. (object-curly-spacing)
(#585) There should be no space before '}'. (object-curly-spacing)
mod/grouptool/amd/src/grading.js
(#40) Identifier 'update_groups' is not in camel case. (camelcase)
(#54) Extra space after key 'method'. (key-spacing)
(#55) Extra space after key 'url'. (key-spacing)
mod/grouptool/amd/src/groupcreation.js
(#35) Extra space after key 'FIELDSETCONTAINSADVANCED'. (key-spacing)
(#36) Extra space after key 'DIVFITEMADVANCED'. (key-spacing)
(#37) Extra space after key 'DIVFCONTAINER'. (key-spacing)
(#38) Extra space after key 'MORELESSLINK'. (key-spacing)
(#39) Extra space after key 'MORELESSLINKONLY'. (key-spacing)
(#43) Extra space after key 'SHOW'. (key-spacing)
(#45) Extra space after key 'MORELESSTOGGLER'. (key-spacing)
(#46) Extra space after key 'SHOWLESS'. (key-spacing)
(#51) Identifier 'add_tag' is not in camel case. (camelcase)
(#63) Expected space(s) after "for". (keyword-spacing)
(#100) There should be no spaces inside this paren. (space-in-parens)
mod/grouptool/amd/src/memberspopup.js
(#63) There should be no spaces inside this paren. (space-in-parens)
(#63) There should be no spaces inside this paren. (space-in-parens)
mod/grouptool/amd/src/sortlist.js
(#41) Identifier 'update_checkboxes' is not in camel case. (camelcase)
(#46) There should be no spaces inside this paren. (space-in-parens)
(#57) Expected space or tab after '//' in comment. (spaced-comment)
(#110) There should be no space after '{'. (object-curly-spacing)
(#112) There should be no space after '{'. (object-curly-spacing)
(#162) Identifier 'this_order' is not in camel case. (camelcase)
(#163) Identifier 'other_order' is not in camel case. (camelcase)
(#183) There should be no space after '{'. (object-curly-spacing)
(#221) Identifier 'this_order' is not in camel case. (camelcase)
(#222) Identifier 'other_order' is not in camel case. (camelcase)
(#241) There should be no space after '{'. (object-curly-spacing)
(#306) Identifier 'checkbox_controls_action' is not in camel case. (camelcase)
(#307) Identifier 'checkbox_controls_action' is not in camel case. (camelcase)
(#308) Identifier 'checkbox_controls_action' is not in camel case. (camelcase)
(#311) 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

(14 errors, 0 warnings)

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

mod/grouptool/tests/registration_test.php
(#247) Invalid phpdocs tag @group used
(#247) Invalid phpdocs tag @group used
(#264) Invalid phpdocs tag @group used
(#264) Invalid phpdocs tag @group used
(#340) Invalid phpdocs tag @group used
(#340) Invalid phpdocs tag @group used
(#405) Invalid phpdocs tag @group used
(#405) Invalid phpdocs tag @group used
(#494) Invalid phpdocs tag @group used
(#494) Invalid phpdocs tag @group used
(#582) Invalid phpdocs tag @group used
(#582) Invalid phpdocs tag @group used
(#657) Invalid phpdocs tag @group used
(#657) Invalid phpdocs tag @group used

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]

mod/grouptool/templates/groupmembers.mustache
(#1) Mustache syntax exception: Example context JSON is unparsable, fails with: unexpected character