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

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


Javascript coding style problems

(10 errors, 50 warnings)

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

blocks/mfavatar/module.js
(#12) Identifier 'block_mfavatar' is not in camel case. (camelcase)
(#14) Missing JSDoc parameter type for 'val'. (valid-jsdoc)
(#18) Unexpected space before function parentheses. (space-before-function-paren)
(#20) Unexpected console statement. (no-console)
(#21) Empty block statement. (no-empty)
(#26) Missing JSDoc parameter type for 'expresspath'. (valid-jsdoc)
(#26) Missing JSDoc parameter type for 'flashvars'. (valid-jsdoc)
(#26) Missing JSDoc parameter type for 'applicationpath'. (valid-jsdoc)
(#26) Missing JSDoc parameter type for 'Y'. (valid-jsdoc)
(#26) Missing JSDoc parameter type for 'supportwebrtc'. (valid-jsdoc)
(#35) Unexpected space before function parentheses. (space-before-function-paren)
(#40) Unexpected alert. (no-alert)
(#57) 'swfobject' is not defined. (no-undef)
(#62) Extra space after key 'menu'. (key-spacing)
(#63) Extra space after key 'scale'. (key-spacing)
(#64) Extra space after key 'allowFullscreen'. (key-spacing)
(#66) Extra space after key 'wmode'. (key-spacing)
(#67) Extra space after key 'bgcolor'. (key-spacing)
(#70) Unexpected space before function parentheses. (space-before-function-paren)
(#70) 'e' is defined but never used. (no-unused-vars)
(#77) Missing JSDoc parameter type for 'flashvars'. (valid-jsdoc)
(#81) Identifier 'webrtc_load' is not in camel case. (camelcase)
(#81) Unexpected space before function parentheses. (space-before-function-paren)
(#87) Unexpected space before function parentheses. (space-before-function-paren)
(#91) Comments should not begin with a lowercase character (capitalized-comments)
(#94) Comments should not begin with a lowercase character (capitalized-comments)
(#96) Comments should not begin with a lowercase character (capitalized-comments)
(#100) 'canvas' is not defined. (no-undef)
(#100) 'canvas' is not defined. (no-undef)
(#103) 'YUI' is not defined. (no-undef)
(#103) A function with a name starting with an uppercase letter should only be used as a constructor. (new-cap)
(#103) Unexpected space before function parentheses. (space-before-function-paren)
(#107) Extra space after key 'data'. (key-spacing)
(#109) Extra space after key 'file'. (key-spacing)
(#112) 'request' is assigned a value but never used. (no-unused-vars)
(#122) Extra space after key 'audio'. (key-spacing)
(#125) Extra space after key 'minWidth'. (key-spacing)
(#126) Extra space after key 'minHeight'. (key-spacing)
(#127) Extra space after key 'minFrameRate'. (key-spacing)
(#129) Extra space after key 'maxWidth'. (key-spacing)
(#130) Extra space after key 'maxHeight'. (key-spacing)
(#131) Extra space after key 'maxFrameRate'. (key-spacing)
(#134) Extra space after key 'optional'. (key-spacing)
(#138) Missing JSDoc parameter type for 'stream'. (valid-jsdoc)
(#144) Comments should not begin with a lowercase character (capitalized-comments)
(#148) Expected space(s) after "catch". (keyword-spacing)
(#156) Missing JSDoc parameter type for 'transactionid'. (valid-jsdoc)
(#156) Missing JSDoc parameter type for 'arguments'. (valid-jsdoc)
(#156) Missing JSDoc parameter type for 'response'. (valid-jsdoc)
(#156) Comments should not begin with a lowercase character (capitalized-comments)
(#163) 'arguments' is defined but never used. (no-unused-vars)
(#173) Unexpected console statement. (no-console)
(#177) Missing JSDoc comment. (require-jsdoc)
(#178) Unexpected console statement. (no-console)
(#190) Identifier 'webrtc_is_supported' is not in camel case. (camelcase)
(#190) Unexpected space before function parentheses. (space-before-function-paren)
(#198) Unexpected space before function parentheses. (space-before-function-paren)
(#204) Unexpected space before function parentheses. (space-before-function-paren)
(#212) Missing JSDoc parameter type for 'err'. (valid-jsdoc)
(#216) 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

(3 errors, 0 warnings)

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

blocks/mfavatar/classes/avatargenerator.php
(#180) Phpdocs for function avatargenerator::get_avatar has incomplete parameters list
blocks/mfavatar/classes/observer.php
(#31) Class observer is not documented
blocks/mfavatar/classes/task/update_avatars.php
(#44) There is no description in phpdocs for function get_name

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]