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

(56 errors, 9 warnings)

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

mod/teletask/backup/moodle2/backup_teletask_activity_task.class.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#52) Whitespace found at end of line
(#54) Whitespace found at end of line
mod/teletask/backup/moodle2/backup_teletask_settingslib.php
(#1) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#18) Whitespace found at end of line
(#20) Whitespace found at end of line
mod/teletask/backup/moodle2/backup_teletask_stepslib.php
(#18) Whitespace found at end of line
(#20) Whitespace found at end of line
(#30) Expected MOODLE_INTERNAL check or config.php inclusion
mod/teletask/backup/moodle2/restore_teletask_activity_task.class.php
(#18) Whitespace found at end of line
(#20) Whitespace found at end of line
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
mod/teletask/backup/moodle2/restore_teletask_stepslib.php
(#18) Whitespace found at end of line
(#20) Whitespace found at end of line
(#30) Expected MOODLE_INTERNAL check or config.php inclusion
(#51) Line exceeds 132 characters; contains 136 characters
(#59) Whitespace found at end of line
mod/teletask/index.php
(#19) Whitespace found at end of line
(#25) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.
mod/teletask/lib.php
(#18) Whitespace found at end of line
(#20) Whitespace found at end of line
(#147) Whitespace found at end of line
mod/teletask/mod_form.php
(#18) Whitespace found at end of line
(#20) Whitespace found at end of line
(#66) Line exceeds 132 characters; contains 134 characters
(#107) Line exceeds 132 characters; contains 137 characters
(#108) Line exceeds 132 characters; contains 151 characters
mod/teletask/serve_video_proxy.php
(#18) Whitespace found at end of line
(#20) Whitespace found at end of line
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
mod/teletask/unzip.php
(#19) Whitespace found at end of line
mod/teletask/upload.php
(#25) Whitespace found at end of line
(#29) Whitespace found at end of line
(#55) This comment is 41% valid code; is this commented out code?
mod/teletask/vendor/VideoStream.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#12) Expected MOODLE_INTERNAL check or config.php inclusion
(#21) Visibility must be declared on method "__construct"
(#46) Expected 1 space before "+"; 0 found
(#46) Expected 1 space after "+"; 0 found
(#57) Variable "c_start" must not contain underscores.
(#58) Variable "c_end" must not contain underscores.
(#67) Variable "c_start" must not contain underscores.
(#70) Variable "c_start" must not contain underscores.
(#71) Variable "c_end" must not contain underscores.
(#71) Variable "c_end" must not contain underscores.
(#73) Variable "c_end" must not contain underscores.
(#73) Variable "c_end" must not contain underscores.
(#73) Variable "c_end" must not contain underscores.
(#74) Variable "c_start" must not contain underscores.
(#74) Variable "c_end" must not contain underscores.
(#74) Variable "c_start" must not contain underscores.
(#74) Variable "c_end" must not contain underscores.
(#80) Variable "c_start" must not contain underscores.
(#81) Variable "c_end" must not contain underscores.
(#113) Variable "bytesToRead" must be all lower-case
(#114) Expected 1 space before "+"; 0 found
(#114) Expected 1 space after "+"; 0 found
(#114) Variable "bytesToRead" must be all lower-case
(#115) Variable "bytesToRead" must be all lower-case
(#117) Variable "bytesToRead" must be all lower-case
(#120) Variable "bytesToRead" must be all lower-case
mod/teletask/version.php
(#18) Whitespace found at end of line
(#20) Whitespace found at end of line
mod/teletask/view.php
(#18) Whitespace found at end of line
(#20) Whitespace found at end of line

Javascript coding style problems

(235 errors, 254 warnings)

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

mod/teletask/html5/script/chapters.js
(#5) 'Chapters' is defined but never used (no-unused-vars)
(#8) Missing JSDoc comment. (require-jsdoc)
(#18) Return statement should not contain assignment. (no-return-assign)
(#20) Missing JSDoc comment. (require-jsdoc)
(#40) Don't make functions within a loop (no-loop-func)
(#42) '$' is not defined. (no-undef)
(#54) Expected to return a value at the end of this function. (consistent-return)
(#55) '_ref1' is defined but never used (no-unused-vars)
(#70) Return statement should not contain assignment. (no-return-assign)
(#76) 'event' is defined but never used (no-unused-vars)
mod/teletask/html5/script/controls.js
(#14) 'Controls' is defined but never used (no-unused-vars)
(#15) Return statement should not contain assignment. (no-return-assign)
(#20) Missing JSDoc comment. (require-jsdoc)
(#68) '$' is not defined. (no-undef)
(#142) Expected to return a value at the end of this function. (consistent-return)
(#175) 'vid' is defined but never used (no-unused-vars)
(#178) Return statement should not contain assignment. (no-return-assign)
(#182) 'event' is defined but never used (no-unused-vars)
(#190) 'event' is defined but never used (no-unused-vars)
(#208) '$' is not defined. (no-undef)
(#222) '$' is not defined. (no-undef)
(#222) Expected to return a value at the end of this function. (consistent-return)
(#247) Trailing spaces not allowed. (no-trailing-spaces)
(#314) Unreachable code. (no-unreachable)
(#314) Unreachable code. (no-unreachable)
(#315) Unreachable code. (no-unreachable)
mod/teletask/html5/script/jquery-deparam.js
(#1) 'jQuery' is not defined. (no-undef)
(#1) Unexpected space before function parentheses. (space-before-function-paren)
mod/teletask/html5/script/overlays.js
(#5) 'Overlays' is defined but never used (no-unused-vars)
(#8) Missing JSDoc comment. (require-jsdoc)
(#10) Identifier 'time_start' is not in camel case. (camelcase)
(#11) Identifier 'time_end' is not in camel case. (camelcase)
(#29) Return statement should not contain assignment. (no-return-assign)
(#31) Missing JSDoc comment. (require-jsdoc)
(#59) '$$' is not defined. (no-undef)
mod/teletask/html5/script/quiz.js
(#8) 'Quiz' is defined but never used (no-unused-vars)
(#9) Return statement should not contain assignment. (no-return-assign)
(#10) Missing JSDoc comment. (require-jsdoc)
(#10) Identifier 'question_id' is not in camel case. (camelcase)
(#10) Identifier 'course_id' is not in camel case. (camelcase)
(#10) Identifier 'right_answers' is not in camel case. (camelcase)
(#13) Identifier 'question_id' is not in camel case. (camelcase)
(#13) Identifier 'question_id' is not in camel case. (camelcase)
(#14) Identifier 'course_id' is not in camel case. (camelcase)
(#14) Identifier 'course_id' is not in camel case. (camelcase)
(#18) Identifier 'right_answers' is not in camel case. (camelcase)
(#18) Identifier 'right_answers' is not in camel case. (camelcase)
(#22) Identifier 'shown_yet' is not in camel case. (camelcase)
(#23) Identifier 'is_active' is not in camel case. (camelcase)
(#25) '$' is not defined. (no-undef)
(#26) '$' is not defined. (no-undef)
(#27) '$' is not defined. (no-undef)
(#28) '$' is not defined. (no-undef)
(#29) '$' is not defined. (no-undef)
(#30) '$' is not defined. (no-undef)
(#31) Identifier '$right_wrong' is not in camel case. (camelcase)
(#31) '$' is not defined. (no-undef)
(#32) '$' is not defined. (no-undef)
(#33) Expected to return a value at the end of this function. (consistent-return)
(#34) Line 34 exceeds the maximum line length of 132. (max-len)
(#35) Identifier 'shown_yet' is not in camel case. (camelcase)
(#36) Identifier 'is_active' is not in camel case. (camelcase)
(#45) Expected to return a value at the end of this function. (consistent-return)
(#52) Expected to return a value at the end of this function. (consistent-return)
(#55) Return statement should not contain assignment. (no-return-assign)
(#55) Identifier 'is_active' is not in camel case. (camelcase)
(#64) Expected space or tab after '//' in comment. (spaced-comment)
(#68) Expected space(s) after "if". (keyword-spacing)
(#68) Missing space before opening brace. (space-before-blocks)
(#71) 'count' is not defined. (no-undef)
(#76) Line 76 exceeds the maximum line length of 132. (max-len)
(#76) Infix operators must be spaced. (space-infix-ops)
(#76) 'count' is not defined. (no-undef)
(#76) Infix operators must be spaced. (space-infix-ops)
(#76) Infix operators must be spaced. (space-infix-ops)
(#76) 'count' is not defined. (no-undef)
(#76) Infix operators must be spaced. (space-infix-ops)
(#77) 'count' is not defined. (no-undef)
(#84) Line 84 exceeds the maximum line length of 132. (max-len)
(#84) Infix operators must be spaced. (space-infix-ops)
(#84) 'count' is not defined. (no-undef)
(#84) Infix operators must be spaced. (space-infix-ops)
(#84) Infix operators must be spaced. (space-infix-ops)
(#84) 'count' is not defined. (no-undef)
(#84) Infix operators must be spaced. (space-infix-ops)
(#85) 'count' is not defined. (no-undef)
(#108) Identifier 'completely_right' is not in camel case. (camelcase)
(#110) Expected space or tab after '//' in comment. (spaced-comment)
(#113) Identifier 'is_right' is not in camel case. (camelcase)
(#115) Expected space or tab after '/*' in comment. (spaced-comment)
(#116) Identifier 'is_right' is not in camel case. (camelcase)
(#117) '$' is not defined. (no-undef)
(#117) Infix operators must be spaced. (space-infix-ops)
(#117) Infix operators must be spaced. (space-infix-ops)
(#118) '$' is not defined. (no-undef)
(#118) Infix operators must be spaced. (space-infix-ops)
(#118) Infix operators must be spaced. (space-infix-ops)
(#120) '$' is not defined. (no-undef)
(#120) Infix operators must be spaced. (space-infix-ops)
(#120) Infix operators must be spaced. (space-infix-ops)
(#121) '$' is not defined. (no-undef)
(#121) Infix operators must be spaced. (space-infix-ops)
(#121) Infix operators must be spaced. (space-infix-ops)
(#124) Identifier 'is_right' is not in camel case. (camelcase)
(#124) Identifier 'right_answer' is not in camel case. (camelcase)
(#126) Expected space or tab after '/*' in comment. (spaced-comment)
(#128) '$' is not defined. (no-undef)
(#129) Identifier 'is_right' is not in camel case. (camelcase)
(#134) Identifier 'right_answer' is not in camel case. (camelcase)
(#136) Identifier 'right_answer' is not in camel case. (camelcase)
(#141) Expected space or tab after '/*' in comment. (spaced-comment)
(#144) Identifier 'right_answers' is not in camel case. (camelcase)
(#144) 'right_answers' is not defined. (no-undef)
(#147) '$' is not defined. (no-undef)
(#148) Identifier 'right_answers' is not in camel case. (camelcase)
(#148) 'right_answers' is not defined. (no-undef)
(#151) Line 151 exceeds the maximum line length of 132. (max-len)
(#151) '$' is not defined. (no-undef)
(#156) '$' is not defined. (no-undef)
(#156) 'right_answers' is not defined. (no-undef)
(#156) Identifier 'right_answers' is not in camel case. (camelcase)
(#157) A space is required after ','. (comma-spacing)
(#157) Identifier 'right_answers' is not in camel case. (camelcase)
(#157) 'right_answers' is not defined. (no-undef)
(#158) Line 158 exceeds the maximum line length of 132. (max-len)
(#158) '$' is not defined. (no-undef)
(#164) Identifier 'completely_right' is not in camel case. (camelcase)
(#165) 'useranswer' is not defined. (no-undef)
(#165) Missing semicolon. (semi)
(#166) '$' is not defined. (no-undef)
(#167) '$' is not defined. (no-undef)
(#168) 'useranswer' is not defined. (no-undef)
(#168) '$' is not defined. (no-undef)
(#169) '$' is not defined. (no-undef)
(#169) '$' is not defined. (no-undef)
(#169) 'right_answers' is not defined. (no-undef)
(#170) '$' is not defined. (no-undef)
(#172) '$' is not defined. (no-undef)
(#173) Identifier 'completely_right' is not in camel case. (camelcase)
(#176) '$' is not defined. (no-undef)
(#176) '$' is not defined. (no-undef)
(#176) 'right_answers' is not defined. (no-undef)
(#177) '$' is not defined. (no-undef)
(#179) '$' is not defined. (no-undef)
(#180) Identifier 'completely_right' is not in camel case. (camelcase)
(#185) Identifier 'completely_right' is not in camel case. (camelcase)
(#186) Identifier 'right_answers' is not in camel case. (camelcase)
(#186) 'right_answers' is not defined. (no-undef)
(#187) Line 187 exceeds the maximum line length of 132. (max-len)
(#187) '$' is not defined. (no-undef)
(#187) 'useranswer' is not defined. (no-undef)
(#191) Identifier 'right_answers' is not in camel case. (camelcase)
(#191) 'right_answers' is not defined. (no-undef)
(#192) Line 192 exceeds the maximum line length of 132. (max-len)
(#192) '$' is not defined. (no-undef)
(#192) 'useranswer' is not defined. (no-undef)
(#199) '$' is not defined. (no-undef)
(#202) Line 202 exceeds the maximum line length of 132. (max-len)
(#202) '$' is not defined. (no-undef)
(#207) Line 207 exceeds the maximum line length of 132. (max-len)
(#207) '$' is not defined. (no-undef)
(#212) Expected space or tab after '//' in comment. (spaced-comment)
mod/teletask/html5/script/slideviewer.js
(#9) 'SlideViewer' is defined but never used (no-unused-vars)
(#10) Return statement should not contain assignment. (no-return-assign)
(#20) Missing JSDoc comment. (require-jsdoc)
(#32) '$' is not defined. (no-undef)
(#42) 'event' is defined but never used (no-unused-vars)
mod/teletask/html5/script/televideoplayer.js
(#2) 'MEDIA_URL' is not defined. (no-undef)
(#3) Extra space after key 'paths'. (key-spacing)
(#4) Extra space after key 'jquery'. (key-spacing)
(#14) 'html5Player' is defined but never used (no-unused-vars)
(#21) There should be no spaces inside this paren. (space-in-parens)
(#21) There should be no space before ','. (comma-spacing)
(#21) There should be no spaces inside this paren. (space-in-parens)
(#25) There should be no spaces inside this paren. (space-in-parens)
(#25) There should be no spaces inside this paren. (space-in-parens)
(#28) Missing semicolon. (semi)
mod/teletask/html5/script/user_interface.js
(#3) Missing space before opening brace. (space-before-blocks)
(#3) Statement inside of curly braces should be on next line. (brace-style)
(#3) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#3) Missing space before opening brace. (space-before-blocks)
(#3) Statement inside of curly braces should be on next line. (brace-style)
(#3) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#3) This line has too many statements. Maximum allowed is 2. (max-statements-per-line)
(#5) 'screenful' is defined but never used (no-unused-vars)
(#12) 'UserInterface' is defined but never used (no-unused-vars)
(#13) Return statement should not contain assignment. (no-return-assign)
(#14) Missing JSDoc comment. (require-jsdoc)
(#33) '$' is not defined. (no-undef)
(#37) '$' is not defined. (no-undef)
(#38) 'jQuery' is not defined. (no-undef)
(#38) ["t"] is better written in dot notation. (dot-notation)
(#50) 'screenfull' is not defined. (no-undef)
(#51) 'screenfull' is not defined. (no-undef)
(#54) 'screenfull' is not defined. (no-undef)
(#55) 'screenfull' is not defined. (no-undef)
(#107) 'screenfull' is not defined. (no-undef)
(#112) '$' is not defined. (no-undef)
(#114) Trailing spaces not allowed. (no-trailing-spaces)
(#116) 'screenfull' is not defined. (no-undef)
(#124) 'screenfull' is not defined. (no-undef)
(#125) 'screenWidth' is not defined. (no-undef)
(#126) 'screenHeight' is not defined. (no-undef)
(#128) 'screenWidth' is not defined. (no-undef)
(#129) 'screenHeight' is not defined. (no-undef)
(#132) 'screenfull' is not defined. (no-undef)
(#138) 'aWidth' is not defined. (no-undef)
(#139) 'bWidth' is not defined. (no-undef)
(#140) 'aHeightRatio' is not defined. (no-undef)
(#140) 'aWidth' is not defined. (no-undef)
(#141) 'bHeightRatio' is not defined. (no-undef)
(#141) 'bWidth' is not defined. (no-undef)
(#142) 'delta' is not defined. (no-undef)
(#143) 'aWidth' is not defined. (no-undef)
(#143) 'delta' is not defined. (no-undef)
(#144) 'bWidth' is not defined. (no-undef)
(#144) 'screenWidth' is not defined. (no-undef)
(#144) 'aWidth' is not defined. (no-undef)
(#145) 'aHeight' is not defined. (no-undef)
(#145) 'aWidth' is not defined. (no-undef)
(#145) 'aHeightRatio' is not defined. (no-undef)
(#146) 'bHeight' is not defined. (no-undef)
(#146) 'bWidth' is not defined. (no-undef)
(#146) 'bHeightRatio' is not defined. (no-undef)
(#147) 'videoHeight' is not defined. (no-undef)
(#147) 'screenHeight' is not defined. (no-undef)
(#148) 'aHeight' is not defined. (no-undef)
(#148) 'videoHeight' is not defined. (no-undef)
(#149) 'aWidth' is not defined. (no-undef)
(#149) 'videoHeight' is not defined. (no-undef)
(#149) 'aHeightRatio' is not defined. (no-undef)
(#150) 'bWidth' is not defined. (no-undef)
(#150) 'screenWidth' is not defined. (no-undef)
(#150) 'aWidth' is not defined. (no-undef)
(#152) 'bHeight' is not defined. (no-undef)
(#152) 'videoHeight' is not defined. (no-undef)
(#153) 'bWidth' is not defined. (no-undef)
(#153) 'videoHeight' is not defined. (no-undef)
(#153) 'bHeightRatio' is not defined. (no-undef)
(#154) 'aWidth' is not defined. (no-undef)
(#154) 'screenWidth' is not defined. (no-undef)
(#154) 'bWidth' is not defined. (no-undef)
(#156) 'aWidth' is not defined. (no-undef)
(#157) 'bWidth' is not defined. (no-undef)
(#158) 'aWidth' is not defined. (no-undef)
(#161) 'screenfull' is not defined. (no-undef)
(#162) 'screenWidth' is not defined. (no-undef)
(#164) 'screenWidth' is not defined. (no-undef)
(#166) 'aWidth' is not defined. (no-undef)
(#166) 'screenWidth' is not defined. (no-undef)
(#167) Return statement should not contain assignment. (no-return-assign)
mod/teletask/html5/script/video_player.js
(#12) 'VideoPlayer' is defined but never used (no-unused-vars)
(#13) Return statement should not contain assignment. (no-return-assign)
(#14) Missing JSDoc comment. (require-jsdoc)
(#31) '$' is not defined. (no-undef)
(#32) '$' is not defined. (no-undef)
(#33) Expected to return a value at the end of this function. (consistent-return)
(#34) 'quiz_request' is defined but never used (no-unused-vars)
(#34) Identifier 'quiz_request' is not in camel case. (camelcase)
(#34) Identifier 'quiz_url' is not in camel case. (camelcase)
(#39) Identifier 'overlays_links' is not in camel case. (camelcase)
(#40) 'jQuery' is not defined. (no-undef)
(#40) ["t"] is better written in dot notation. (dot-notation)
(#45) Identifier 'current_quiz' is not in camel case. (camelcase)
(#45) Identifier 'json_quizzes' is not in camel case. (camelcase)
(#46) Expected space or tab after '//' in comment. (spaced-comment)
(#47) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#47) Identifier 'json_quizzes' is not in camel case. (camelcase)
(#48) Identifier 'json_quizzes' is not in camel case. (camelcase)
(#50) Identifier 'json_quizzes' is not in camel case. (camelcase)
(#51) Identifier 'current_quiz' is not in camel case. (camelcase)
(#51) Identifier 'json_quizzes' is not in camel case. (camelcase)
(#52) Line 52 exceeds the maximum line length of 132. (max-len)
(#52) Identifier 'current_quiz' is not in camel case. (camelcase)
(#52) Identifier 'current_quiz' is not in camel case. (camelcase)
(#52) Identifier 'current_quiz' is not in camel case. (camelcase)
(#52) Identifier 'current_quiz' is not in camel case. (camelcase)
(#52) Identifier 'current_quiz' is not in camel case. (camelcase)
(#52) Identifier 'current_quiz' is not in camel case. (camelcase)
(#52) Identifier 'current_quiz' is not in camel case. (camelcase)
(#52) Identifier 'current_quiz' is not in camel case. (camelcase)
(#52) Identifier 'current_quiz' is not in camel case. (camelcase)
(#56) Expected space(s) after "if". (keyword-spacing)
(#56) Opening curly brace does not appear on the same line as controlling statement. (brace-style)
(#58) Identifier 'quiz_url' is not in camel case. (camelcase)
(#59) Identifier 'quiz_request' is not in camel case. (camelcase)
(#59) '$' is not defined. (no-undef)
(#125) Return statement should not contain assignment. (no-return-assign)
(#129) Return statement should not contain assignment. (no-return-assign)
(#133) Return statement should not contain assignment. (no-return-assign)
(#136) Expected to return a value at the end of this function. (consistent-return)
(#140) Return statement should not contain assignment. (no-return-assign)
(#146) Return statement should not contain assignment. (no-return-assign)
(#150) Return statement should not contain assignment. (no-return-assign)
(#171) Expected to return a value at the end of this function. (consistent-return)
(#186) Return statement should not contain assignment. (no-return-assign)
(#191) '$' is not defined. (no-undef)
(#194) '$' is not defined. (no-undef)
(#212) '$' is not defined. (no-undef)
(#214) '$' is not defined. (no-undef)
mod/teletask/module.js
(#4) Identifier 'mod_teletask' is not in camel case. (camelcase)
(#6) Missing JSDoc for parameter 'course'. (valid-jsdoc)
(#12) Trailing spaces not allowed. (no-trailing-spaces)
(#13) 'plupload' is not defined. (no-undef)
(#14) Extra space after key 'runtimes'. (key-spacing)
(#15) Identifier 'browse_button' is not in camel case. (camelcase)
(#15) Extra space after key 'browse_button'. (key-spacing)
(#17) Extra space after key 'url'. (key-spacing)
(#17) Infix operators must be spaced. (space-infix-ops)
(#18) Identifier 'chunk_size' is not in camel case. (camelcase)
(#19) Extra space after key 'flash_swf_url'. (key-spacing)
(#19) Identifier 'flash_swf_url' is not in camel case. (camelcase)
(#20) Extra space after key 'silverlight_xap_url'. (key-spacing)
(#20) Identifier 'silverlight_xap_url' is not in camel case. (camelcase)
(#21) Trailing spaces not allowed. (no-trailing-spaces)
(#22) Extra space after key 'filters'. (key-spacing)
(#23) Identifier 'max_file_size' is not in camel case. (camelcase)
(#23) Extra space after key 'max_file_size'. (key-spacing)
(#24) Identifier 'mime_types' is not in camel case. (camelcase)
(#25) Extra space after key 'title'. (key-spacing)
(#25) Extra space after key 'extensions'. (key-spacing)
(#34) Trailing spaces not allowed. (no-trailing-spaces)
(#36) 'UUIDjs' is not defined. (no-undef)
(#37) Trailing spaces not allowed. (no-trailing-spaces)
(#45) Trailing spaces not allowed. (no-trailing-spaces)
(#47) Expected space(s) after "if". (keyword-spacing)
(#47) Opening curly brace does not appear on the same line as controlling statement. (brace-style)
(#47) There should be no spaces inside this paren. (space-in-parens)
(#50) Unexpected alert. (no-alert)
(#50) Infix operators must be spaced. (space-infix-ops)
(#56) 'plupload' is not defined. (no-undef)
(#57) Line 57 exceeds the maximum line length of 132. (max-len)
(#57) 'plupload' is not defined. (no-undef)
(#62) Line 62 exceeds the maximum line length of 132. (max-len)
(#64) Trailing spaces not allowed. (no-trailing-spaces)
(#65) Unexpected space before function parentheses. (space-before-function-paren)
(#66) Trailing spaces not allowed. (no-trailing-spaces)
(#67) Expected space or tab after '/**' in comment. (spaced-comment)
(#68) Expected space or tab after '//' in comment. (spaced-comment)
(#69) '$' is not defined. (no-undef)
(#71) Infix operators must be spaced. (space-infix-ops)
(#72) There should be no space after '{' (object-curly-spacing)
(#72) There should be no space before '}' (object-curly-spacing)
(#74) There should be no spaces inside this paren. (space-in-parens)
(#74) There should be no spaces inside this paren. (space-in-parens)
(#75) '$' is not defined. (no-undef)
(#76) Expected space or tab after '//' in comment. (spaced-comment)
(#77) Line 77 exceeds the maximum line length of 132. (max-len)
(#77) Infix operators must be spaced. (space-infix-ops)
(#78) 'i' used outside of binding context. (block-scoped-var)
(#78) 'i' used outside of binding context. (block-scoped-var)
(#78) 'len' used outside of binding context. (block-scoped-var)
(#78) 'len' used outside of binding context. (block-scoped-var)
(#78) 'i' used outside of binding context. (block-scoped-var)
(#78) 'i' used outside of binding context. (block-scoped-var)
(#78) 'len' used outside of binding context. (block-scoped-var)
(#78) 'len' used outside of binding context. (block-scoped-var)
(#78) 'i' used outside of binding context. (block-scoped-var)
(#78) 'i' used outside of binding context. (block-scoped-var)
(#79) '$' is not defined. (no-undef)
(#81) Infix operators must be spaced. (space-infix-ops)
(#81) Trailing spaces not allowed. (no-trailing-spaces)
(#82) There should be no space after '{' (object-curly-spacing)
(#82) 'i' used outside of binding context. (block-scoped-var)
(#82) 'i' used outside of binding context. (block-scoped-var)
(#82) There should be no space before '}' (object-curly-spacing)
(#84) Don't make functions within a loop (no-loop-func)
(#84) There should be no spaces inside this paren. (space-in-parens)
(#84) 'data' is defined but never used (no-unused-vars)
(#84) There should be no spaces inside this paren. (space-in-parens)
(#85) Line 85 exceeds the maximum line length of 132. (max-len)
(#85) 'i' used outside of binding context. (block-scoped-var)
(#85) 'i' used outside of binding context. (block-scoped-var)
(#85) Infix operators must be spaced. (space-infix-ops)
(#85) Infix operators must be spaced. (space-infix-ops)
(#85) 'len' used outside of binding context. (block-scoped-var)
(#85) 'len' used outside of binding context. (block-scoped-var)
(#87) Trailing spaces not allowed. (no-trailing-spaces)
(#89) Trailing spaces not allowed. (no-trailing-spaces)
(#90) Expected space or tab after '//' in comment. (spaced-comment)
(#94) Trailing spaces not allowed. (no-trailing-spaces)
(#98) Trailing spaces not allowed. (no-trailing-spaces)
(#99) Expected space or tab after '//' in comment. (spaced-comment)
(#100) 'i' used outside of binding context. (block-scoped-var)
(#100) 'i' used outside of binding context. (block-scoped-var)
(#100) 'i' is already defined (no-redeclare)
(#100) 'len' is already defined (no-redeclare)
(#100) 'len' used outside of binding context. (block-scoped-var)
(#100) 'len' used outside of binding context. (block-scoped-var)
(#100) 'i' used outside of binding context. (block-scoped-var)
(#100) 'i' used outside of binding context. (block-scoped-var)
(#100) 'len' used outside of binding context. (block-scoped-var)
(#100) 'len' used outside of binding context. (block-scoped-var)
(#100) 'i' used outside of binding context. (block-scoped-var)
(#100) 'i' used outside of binding context. (block-scoped-var)
(#101) Expected space(s) after "if". (keyword-spacing)
(#101) Opening curly brace does not appear on the same line as controlling statement. (brace-style)
(#101) 'i' used outside of binding context. (block-scoped-var)
(#101) 'i' used outside of binding context. (block-scoped-var)
(#103) Line 103 exceeds the maximum line length of 132. (max-len)
(#103) 'i' used outside of binding context. (block-scoped-var)
(#103) 'i' used outside of binding context. (block-scoped-var)
(#105) Opening curly brace does not appear on the same line as controlling statement. (brace-style)
(#105) Expected space(s) after "if". (keyword-spacing)
(#105) 'i' used outside of binding context. (block-scoped-var)
(#105) 'i' used outside of binding context. (block-scoped-var)
(#107) Line 107 exceeds the maximum line length of 132. (max-len)
(#107) 'i' used outside of binding context. (block-scoped-var)
(#107) 'i' used outside of binding context. (block-scoped-var)
(#110) Trailing spaces not allowed. (no-trailing-spaces)
(#111) Expected space or tab after '//' in comment. (spaced-comment)
(#112) Line 112 exceeds the maximum line length of 132. (max-len)
(#112) Expected space(s) after "if". (keyword-spacing)
(#112) Missing space before opening brace. (space-before-blocks)
(#113) Line 113 exceeds the maximum line length of 132. (max-len)
(#116) Trailing spaces not allowed. (no-trailing-spaces)
(#117) Expected space or tab after '//' in comment. (spaced-comment)
(#118) Expected space or tab after '//' in comment. (spaced-comment)
(#119) '$' is not defined. (no-undef)
(#119) There should be no spaces inside this paren. (space-in-parens)
(#119) There should be no spaces inside this paren. (space-in-parens)
(#120) 'i' used outside of binding context. (block-scoped-var)
(#120) 'i' used outside of binding context. (block-scoped-var)
(#120) 'i' is already defined (no-redeclare)
(#120) 'len' used outside of binding context. (block-scoped-var)
(#120) 'len' is already defined (no-redeclare)
(#120) 'len' used outside of binding context. (block-scoped-var)
(#120) 'i' used outside of binding context. (block-scoped-var)
(#120) 'i' used outside of binding context. (block-scoped-var)
(#120) 'len' used outside of binding context. (block-scoped-var)
(#120) 'len' used outside of binding context. (block-scoped-var)
(#120) 'i' used outside of binding context. (block-scoped-var)
(#120) 'i' used outside of binding context. (block-scoped-var)
(#121) Line 121 exceeds the maximum line length of 132. (max-len)
(#121) '$' is not defined. (no-undef)
(#121) There should be no spaces inside this paren. (space-in-parens)
(#121) There should be no spaces inside this paren. (space-in-parens)
(#121) Infix operators must be spaced. (space-infix-ops)
(#121) Infix operators must be spaced. (space-infix-ops)
(#121) 'i' used outside of binding context. (block-scoped-var)
(#121) 'i' used outside of binding context. (block-scoped-var)
(#121) Infix operators must be spaced. (space-infix-ops)
(#121) Infix operators must be spaced. (space-infix-ops)
(#121) Infix operators must be spaced. (space-infix-ops)
(#121) 'i' used outside of binding context. (block-scoped-var)
(#121) 'i' used outside of binding context. (block-scoped-var)
(#121) Infix operators must be spaced. (space-infix-ops)
(#121) Infix operators must be spaced. (space-infix-ops)
(#123) Trailing spaces not allowed. (no-trailing-spaces)
(#124) Expected space or tab after '//' in comment. (spaced-comment)
(#125) '$' is not defined. (no-undef)
(#125) Trailing spaces not allowed. (no-trailing-spaces)
(#126) '$' is not defined. (no-undef)
(#126) Trailing spaces not allowed. (no-trailing-spaces)
(#129) Trailing spaces not allowed. (no-trailing-spaces)
(#130) Expected space or tab after '//' in comment. (spaced-comment)
(#131) '$' is not defined. (no-undef)
(#133) Infix operators must be spaced. (space-infix-ops)
(#133) Trailing spaces not allowed. (no-trailing-spaces)
(#134) There should be no space after '{' (object-curly-spacing)
(#134) There should be no space before '}' (object-curly-spacing)
(#136) There should be no spaces inside this paren. (space-in-parens)
(#136) There should be no spaces inside this paren. (space-in-parens)
(#137) Opening curly brace does not appear on the same line as controlling statement. (brace-style)
(#137) Expected space(s) after "if". (keyword-spacing)
(#139) Line 139 exceeds the maximum line length of 132. (max-len)
(#142) Trailing spaces not allowed. (no-trailing-spaces)
(#143) Trailing spaces not allowed. (no-trailing-spaces)
(#144) Expected space or tab after '//' in comment. (spaced-comment)
(#145) Trailing spaces not allowed. (no-trailing-spaces)
(#146) Trailing spaces not allowed. (no-trailing-spaces)
(#147) Line 147 exceeds the maximum line length of 132. (max-len)
(#151) Unexpected alert. (no-alert)
(#157) Trailing spaces not allowed. (no-trailing-spaces)
(#158) '$' is not defined. (no-undef)
(#158) There should be no spaces inside this paren. (space-in-parens)
(#158) There should be no spaces inside this paren. (space-in-parens)
(#159) Line 159 exceeds the maximum line length of 132. (max-len)
(#159) '$' is not defined. (no-undef)
(#159) There should be no spaces inside this paren. (space-in-parens)
(#159) There should be no spaces inside this paren. (space-in-parens)
(#159) Infix operators must be spaced. (space-infix-ops)
(#159) Infix operators must be spaced. (space-infix-ops)
(#159) Infix operators must be spaced. (space-infix-ops)
(#161) '$' is not defined. (no-undef)
(#161) 'e' is defined but never used (no-unused-vars)
(#162) '$' is not defined. (no-undef)
(#164) Trailing spaces not allowed. (no-trailing-spaces)
(#165) Missing semicolon. (semi)

CSS problems

(3 errors, 12 warnings)

This section shows CSS problems detected by csslint [More info]

mod/teletask/html5/css/player.css
(#1) Expected LBRACE at line 1, col 20.
(#18) Duplicate property 'display' found.
(#23) Expected (inline | block | list-item | inline-block | table | inline-table | table-row-group | table-header-group | table-footer-group | table-row | table-column-group | table-column | table-cell | table-caption | grid | inline-grid | none | inherit | -moz-box | -moz-inline-block | -moz-inline-box | -moz-inline-grid | -moz-inline-stack | -moz-inline-table | -moz-grid | -moz-grid-group | -moz-grid-line | -moz-groupbox | -moz-deck | -moz-popup | -moz-stack | -moz-marker | -webkit-box | -webkit-inline-box | -ms-flexbox | -ms-inline-flexbox | flex | -webkit-flex | inline-flex | -webkit-inline-flex) but found 'box'.
(#23) Duplicate property 'display' found.
(#24) Unknown property 'box-orient'.
(#25) Unknown property 'box-pack'.
(#26) Unknown property 'box-align'.
(#51) Rule is empty.
(#161) Rule is empty.
(#456) Use of !important
(#532) Use of !important
(#538) Use of !important
(#544) Use of !important
(#545) Use of !important
(#550) Use of !important

PHPDocs style problems

(32 errors, 1 warnings)

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

mod/teletask/backup/moodle2/backup_teletask_activity_task.class.php
(#29) Class backup_teletask_activity_task does not have @copyright tag
(#29) Class backup_teletask_activity_task does not have @license tag
mod/teletask/backup/moodle2/backup_teletask_stepslib.php
(#27) Class backup_teletask_activity_structure_step does not have @copyright tag
(#27) Class backup_teletask_activity_structure_step does not have @license tag
mod/teletask/backup/moodle2/restore_teletask_activity_task.class.php
(#29) No one-line description found in phpdocs for class restore_teletask_activity_task
(#29) Class restore_teletask_activity_task does not have @copyright tag
(#29) Class restore_teletask_activity_task does not have @license tag
mod/teletask/backup/moodle2/restore_teletask_stepslib.php
(#58) Phpdocs for function restore_teletask_activity_structure_step::process_teletask has incomplete parameters list
(#77) Phpdocs for function restore_teletask_activity_structure_step::process_teletask_sections has incomplete parameters list
(#92) Phpdocs for function restore_teletask_activity_structure_step::process_teletask_slides has incomplete parameters list
(#107) Phpdocs for function restore_teletask_activity_structure_step::process_teletask_quiz has incomplete parameters list
(#122) Phpdocs for function restore_teletask_activity_structure_step::process_teletask_quiz_possibleanswer has incomplete parameters list
(#137) Phpdocs for function restore_teletask_activity_structure_step::process_teletask_quiz_user_answer has incomplete parameters list
(#152) Phpdocs for function restore_teletask_activity_structure_step::process_teletask_quiz_user_givanswer has incomplete parameters list
(#27) Class restore_teletask_activity_structure_step does not have @copyright tag
(#27) Class restore_teletask_activity_structure_step does not have @license tag
mod/teletask/db/upgrade.php
(#47) Phpdocs for function xmldb_teletask_upgrade has incomplete parameters list
mod/teletask/lib.php
(#32) Phpdocs for function teletask_add_instance has incomplete parameters list
mod/teletask/mod_form.php
(#41) Function mod_teletask_mod_form::definition is not documented
(#36) Class mod_teletask_mod_form does not have @copyright tag
(#36) Class mod_teletask_mod_form does not have @license tag
mod/teletask/vendor/VideoStream.php
(#2) Empty line found after PHP open tag
(#12) Class VideoStream is not documented
(#21) Function VideoStream::__construct is not documented
(#14) Variable VideoStream::$path is not documented
(#15) Variable VideoStream::$stream is not documented
(#16) Variable VideoStream::$buffer is not documented
(#17) Variable VideoStream::$start is not documented
(#18) Variable VideoStream::$end is not documented
(#19) Variable VideoStream::$size is not documented
(#3) File-level phpdocs block does not have @copyright tag
(#3) File-level phpdocs block does not have @license tag
(#12) Package is not specified for class VideoStream. It is also not specified in file-level phpdocs

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]