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

(72 errors, 18 warnings)

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

mod/via/api.class.php
(#28) Expected MOODLE_INTERNAL check or config.php inclusion
(#69) Inline comments must end in full-stops, exclamation marks, or question marks
(#76) Whitespace found at end of line
(#77) Spaces must be used to indent lines; tabs are not allowed
(#77) Tab found within whitespace
(#77) Line indented incorrectly; expected 12 spaces, found 3
(#78) Spaces must be used to indent lines; tabs are not allowed
(#78) Tab found within whitespace
(#78) Line indented incorrectly; expected at least 16 spaces, found 4
(#79) Spaces must be used to indent lines; tabs are not allowed
(#79) Tab found within whitespace
(#79) Line indented incorrectly; expected 12 spaces, found 3
(#80) Spaces must be used to indent lines; tabs are not allowed
(#80) Tab found within whitespace
(#80) Line indented incorrectly; expected at least 16 spaces, found 4
(#81) Spaces must be used to indent lines; tabs are not allowed
(#81) Tab found within whitespace
(#81) Line indented incorrectly; expected 12 spaces, found 3
(#82) Spaces must be used to indent lines; tabs are not allowed
(#82) Tab found within whitespace
(#82) Line indented incorrectly; expected 8 spaces, found 2
(#82) Closing brace indented incorrectly; expected 8 spaces, found 2
(#90) Spaces must be used to indent lines; tabs are not allowed
(#90) Tab found within whitespace
(#90) Line indented incorrectly; expected 8 spaces, found 2
(#94) Closing brace indented incorrectly; expected 2 spaces, found 8
(#1403) This comment is 46% valid code; is this commented out code?
(#1404) This comment is 69% valid code; is this commented out code?
mod/via/auth.php
(#30) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.
mod/via/backup/moodle2/backup_via_activity_task.class.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
mod/via/backup/moodle2/backup_via_stepslib.php
(#30) Expected MOODLE_INTERNAL check or config.php inclusion
(#54) Inline comments must end in full-stops, exclamation marks, or question marks
mod/via/backup/moodle2/restore_via_activity_task.class.php
(#29) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
mod/via/backup/moodle2/restore_via_stepslib.php
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
mod/via/classes/task/via_ciesettings_task.php
(#39) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.
mod/via/classes/task/via_mail_task.php
(#40) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.
mod/via/classes/task/via_notification_task.php
(#40) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.
mod/via/classes/task/via_usersync_task.php
(#40) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.
mod/via/db/upgrade.php
(#441) Spaces must be used to indent lines; tabs are not allowed
(#441) Tab found within whitespace
(#441) Line indented incorrectly; expected 4 spaces, found 1
(#473) Spaces must be used to indent lines; tabs are not allowed
(#473) Tab found within whitespace
(#473) Line indented incorrectly; expected at least 8 spaces, found 2
(#474) Closing brace indented incorrectly; expected 1 spaces, found 4
mod/via/download_document.php
(#28) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#30) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.
mod/via/download_recording.php
(#28) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
mod/via/manual_synch.php
(#28) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.
mod/via/presence.php
(#28) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
mod/via/uapi/auth.php
(#30) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.
mod/via/uapi/getversion/index.php
(#30) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.
mod/via/view.php
(#190) Line exceeds 132 characters; contains 145 characters
(#255) Spaces must be used to indent lines; tabs are not allowed
(#255) Tab found within whitespace
(#255) Line indented incorrectly; expected 8 spaces, found 3
(#258) Line exceeds 132 characters; contains 133 characters
(#259) Line indented incorrectly; expected 12 spaces, found 16
(#261) Line indented incorrectly; expected 12 spaces, found 16
(#263) Line indented incorrectly; expected 8 spaces, found 12
(#263) Closing brace indented incorrectly; expected 3 spaces, found 12
(#383) Whitespace found at end of line
(#384) Line indented incorrectly; expected 8 spaces, found 12
(#387) Expected 1 space after ".="; 0 found
(#389) Line indented incorrectly; expected 8 spaces, found 12
(#390) Line indented incorrectly; expected 8 spaces, found 12
(#390) Expected "} else {\n"; found "}\n else {\n"
(#391) Line indented incorrectly; expected 12 spaces, found 16
(#392) Line indented incorrectly; expected 16 spaces, found 20
(#394) Line indented incorrectly; expected 20 spaces, found 24
(#402) Line indented incorrectly; expected 20 spaces, found 24
(#404) Line indented incorrectly; expected 20 spaces, found 24
(#408) Line indented incorrectly; expected 16 spaces, found 20
(#411) Line indented incorrectly; expected 20 spaces, found 24
(#417) Line indented incorrectly; expected 20 spaces, found 24
(#419) Line indented incorrectly; expected 20 spaces, found 24
(#423) Line indented incorrectly; expected 16 spaces, found 20
(#428) Line indented incorrectly; expected 16 spaces, found 20
(#433) Line indented incorrectly; expected 16 spaces, found 20
(#439) Line indented incorrectly; expected 16 spaces, found 20
(#441) Line indented incorrectly; expected 20 spaces, found 24
(#441) Line exceeds 132 characters; contains 133 characters
(#443) Line indented incorrectly; expected 20 spaces, found 24
(#446) Line indented incorrectly; expected 20 spaces, found 24
(#450) Line indented incorrectly; expected 16 spaces, found 20
(#455) Line indented incorrectly; expected 16 spaces, found 20
(#457) Line indented incorrectly; expected 12 spaces, found 16
(#458) Line indented incorrectly; expected 8 spaces, found 12
(#477) Line indented incorrectly; expected 8 spaces, found 12
(#516) Closing brace indented incorrectly; expected 12 spaces, found 8

Javascript coding style problems

(217 errors, 65 warnings)

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

mod/via/javascript/conntest.js
(#1) Missing JSDoc comment. (require-jsdoc)
(#1) 'testConnection' is defined but never used. (no-unused-vars)
(#4) Line 4 exceeds the maximum line length of 132. (max-len)
(#5) Unexpected alert. (no-alert)
(#15) Line 15 exceeds the maximum line length of 132. (max-len)
(#15) 'openpopup' is not defined. (no-undef)
(#15) Missing space before value for key 'url'. (key-spacing)
(#15) Missing space before value for key 'name'. (key-spacing)
(#18) Missing JSDoc comment. (require-jsdoc)
(#18) 'testAdminId' is defined but never used. (no-unused-vars)
(#21) Line 21 exceeds the maximum line length of 132. (max-len)
(#22) Unexpected alert. (no-alert)
(#33) Line 33 exceeds the maximum line length of 132. (max-len)
(#33) 'openpopup' is not defined. (no-undef)
(#33) There should be no space after '{'. (object-curly-spacing)
(#33) There should be no space before '}'. (object-curly-spacing)
(#38) Unexpected space before function parentheses. (space-before-function-paren)
mod/via/javascript/list.js
(#1) Missing JSDoc comment. (require-jsdoc)
(#1) 'change' is defined but never used. (no-unused-vars)
(#13) Unexpected space before function parentheses. (space-before-function-paren)
(#27) Missing semicolon. (semi)
mod/via/javascript/mod_form.js
(#1) 'jQuery' is not defined. (no-undef)
(#1) Unexpected space before function parentheses. (space-before-function-paren)
(#3) '$' is not defined. (no-undef)
(#3) Unexpected space before function parentheses. (space-before-function-paren)
(#4) '$' is not defined. (no-undef)
(#5) '$' is not defined. (no-undef)
(#6) '$' is not defined. (no-undef)
(#11) '$' is not defined. (no-undef)
(#12) '$' is not defined. (no-undef)
(#12) Unexpected space before function parentheses. (space-before-function-paren)
(#14) '$' is not defined. (no-undef)
(#14) Missing semicolon. (semi)
(#16) '$' is not defined. (no-undef)
(#19) '$' is not defined. (no-undef)
(#20) '$' is not defined. (no-undef)
(#20) Unexpected space before function parentheses. (space-before-function-paren)
(#22) '$' is not defined. (no-undef)
(#22) Missing semicolon. (semi)
(#24) '$' is not defined. (no-undef)
(#26) '$' is not defined. (no-undef)
(#26) '$' is not defined. (no-undef)
(#29) '$' is not defined. (no-undef)
(#30) '$' is not defined. (no-undef)
(#31) '$' is not defined. (no-undef)
(#32) '$' is not defined. (no-undef)
(#33) '$' is not defined. (no-undef)
(#34) '$' is not defined. (no-undef)
(#34) '$' is not defined. (no-undef)
(#36) '$' is not defined. (no-undef)
(#37) '$' is not defined. (no-undef)
(#37) Unexpected space before function parentheses. (space-before-function-paren)
(#37) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#38) '$' is not defined. (no-undef)
(#38) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#41) '$' is not defined. (no-undef)
(#42) '$' is not defined. (no-undef)
(#43) '$' is not defined. (no-undef)
(#45) '$' is not defined. (no-undef)
(#46) '$' is not defined. (no-undef)
(#47) '$' is not defined. (no-undef)
(#50) '$' is not defined. (no-undef)
(#50) Unexpected space before function parentheses. (space-before-function-paren)
(#54) '$' is not defined. (no-undef)
(#54) Unexpected space before function parentheses. (space-before-function-paren)
(#55) '$' is not defined. (no-undef)
(#60) '$' is not defined. (no-undef)
(#60) Unexpected space before function parentheses. (space-before-function-paren)
(#61) '$' is not defined. (no-undef)
(#63) '$' is not defined. (no-undef)
(#65) '$' is not defined. (no-undef)
(#66) '$' is not defined. (no-undef)
(#67) '$' is not defined. (no-undef)
(#69) '$' is not defined. (no-undef)
(#70) '$' is not defined. (no-undef)
(#73) '$' is not defined. (no-undef)
(#74) '$' is not defined. (no-undef)
(#75) '$' is not defined. (no-undef)
(#77) '$' is not defined. (no-undef)
(#78) '$' is not defined. (no-undef)
(#79) '$' is not defined. (no-undef)
(#83) '$' is not defined. (no-undef)
(#85) Trailing spaces not allowed. (no-trailing-spaces)
(#87) '$' is not defined. (no-undef)
(#88) '$' is not defined. (no-undef)
(#88) Unexpected space before function parentheses. (space-before-function-paren)
(#88) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#89) '$' is not defined. (no-undef)
(#89) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#92) '$' is not defined. (no-undef)
(#93) '$' is not defined. (no-undef)
(#94) '$' is not defined. (no-undef)
(#96) '$' is not defined. (no-undef)
(#97) '$' is not defined. (no-undef)
(#99) '$' is not defined. (no-undef)
(#100) '$' is not defined. (no-undef)
(#104) '$' is not defined. (no-undef)
(#105) '$' is not defined. (no-undef)
(#106) '$' is not defined. (no-undef)
(#108) '$' is not defined. (no-undef)
(#109) '$' is not defined. (no-undef)
(#111) '$' is not defined. (no-undef)
(#112) '$' is not defined. (no-undef)
(#117) '$' is not defined. (no-undef)
(#117) Unexpected space before function parentheses. (space-before-function-paren)
(#118) '$' is not defined. (no-undef)
(#119) '$' is not defined. (no-undef)
(#121) '$' is not defined. (no-undef)
(#121) Unexpected space before function parentheses. (space-before-function-paren)
(#122) '$' is not defined. (no-undef)
(#123) '$' is not defined. (no-undef)
(#127) '$' is not defined. (no-undef)
(#128) '$' is not defined. (no-undef)
(#129) '$' is not defined. (no-undef)
(#131) '$' is not defined. (no-undef)
(#134) '$' is not defined. (no-undef)
(#135) '$' is not defined. (no-undef)
(#136) '$' is not defined. (no-undef)
(#138) '$' is not defined. (no-undef)
(#144) '$' is not defined. (no-undef)
(#144) Unexpected space before function parentheses. (space-before-function-paren)
(#145) '$' is not defined. (no-undef)
(#147) '$' is not defined. (no-undef)
(#148) '$' is not defined. (no-undef)
(#151) '$' is not defined. (no-undef)
(#154) '$' is not defined. (no-undef)
(#157) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#158) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#159) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#161) Unexpected space before function parentheses. (space-before-function-paren)
(#162) '$' is not defined. (no-undef)
(#164) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#165) '$' is not defined. (no-undef)
(#165) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#166) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#167) '$' is not defined. (no-undef)
(#167) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#169) '$' is not defined. (no-undef)
(#171) '$' is not defined. (no-undef)
(#172) '$' is not defined. (no-undef)
(#177) '$' is not defined. (no-undef)
(#177) Unexpected space before function parentheses. (space-before-function-paren)
(#181) Missing JSDoc comment. (require-jsdoc)
(#188) '$' is not defined. (no-undef)
(#189) '$' is not defined. (no-undef)
(#191) '$' is not defined. (no-undef)
(#191) Unexpected space before function parentheses. (space-before-function-paren)
(#192) '$' is not defined. (no-undef)
(#200) '$' is not defined. (no-undef)
(#200) Unexpected space before function parentheses. (space-before-function-paren)
(#201) '$' is not defined. (no-undef)
(#208) '$' is not defined. (no-undef)
(#210) '$' is not defined. (no-undef)
(#211) Expected space or tab after '//' in comment. (spaced-comment)
(#212) '$' is not defined. (no-undef)
(#213) '$' is not defined. (no-undef)
(#220) Unexpected space before function parentheses. (space-before-function-paren)
(#220) '$' is not defined. (no-undef)
(#220) Statement inside of curly braces should be on next line. (brace-style)
(#220) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#224) Missing JSDoc comment. (require-jsdoc)
(#224) Identifier 'replace_host' is not in camel case. (camelcase)
(#224) 'replace_host' is defined but never used. (no-unused-vars)
(#226) '$' is not defined. (no-undef)
(#228) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#229) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#230) '$' is not defined. (no-undef)
(#230) Unexpected space before function parentheses. (space-before-function-paren)
(#231) '$' is not defined. (no-undef)
(#235) '$' is not defined. (no-undef)
(#235) Unexpected space before function parentheses. (space-before-function-paren)
(#236) '$' is not defined. (no-undef)
(#237) '$' is not defined. (no-undef)
(#239) '$' is not defined. (no-undef)
(#241) '$' is not defined. (no-undef)
(#242) '$' is not defined. (no-undef)
(#243) '$' is not defined. (no-undef)
(#249) Missing JSDoc comment. (require-jsdoc)
(#249) 'add_participants' is defined but never used. (no-unused-vars)
(#249) Identifier 'add_participants' is not in camel case. (camelcase)
(#250) '$' is not defined. (no-undef)
(#252) '$' is not defined. (no-undef)
(#252) Unexpected space before function parentheses. (space-before-function-paren)
(#253) '$' is not defined. (no-undef)
(#254) '$' is not defined. (no-undef)
(#257) '$' is not defined. (no-undef)
(#257) Unexpected space before function parentheses. (space-before-function-paren)
(#258) '$' is not defined. (no-undef)
(#259) '$' is not defined. (no-undef)
(#262) '$' is not defined. (no-undef)
(#265) Missing JSDoc comment. (require-jsdoc)
(#265) 'remove_participants' is defined but never used. (no-unused-vars)
(#265) Identifier 'remove_participants' is not in camel case. (camelcase)
(#266) '$' is not defined. (no-undef)
(#266) Unexpected space before function parentheses. (space-before-function-paren)
(#267) '$' is not defined. (no-undef)
(#268) '$' is not defined. (no-undef)
(#271) '$' is not defined. (no-undef)
(#271) Unexpected space before function parentheses. (space-before-function-paren)
(#272) '$' is not defined. (no-undef)
(#273) '$' is not defined. (no-undef)
(#276) '$' is not defined. (no-undef)
(#279) Missing JSDoc comment. (require-jsdoc)
(#279) Identifier 'add_animators' is not in camel case. (camelcase)
(#279) 'add_animators' is defined but never used. (no-unused-vars)
(#280) '$' is not defined. (no-undef)
(#280) Unexpected space before function parentheses. (space-before-function-paren)
(#281) '$' is not defined. (no-undef)
(#282) '$' is not defined. (no-undef)
(#285) '$' is not defined. (no-undef)
(#285) Unexpected space before function parentheses. (space-before-function-paren)
(#286) '$' is not defined. (no-undef)
(#287) '$' is not defined. (no-undef)
(#290) '$' is not defined. (no-undef)
(#293) Missing JSDoc comment. (require-jsdoc)
(#293) Identifier 'remove_animators' is not in camel case. (camelcase)
(#293) 'remove_animators' is defined but never used. (no-unused-vars)
(#294) '$' is not defined. (no-undef)
(#294) Unexpected space before function parentheses. (space-before-function-paren)
(#295) '$' is not defined. (no-undef)
(#296) '$' is not defined. (no-undef)
(#300) Missing JSDoc comment. (require-jsdoc)
(#302) 'Inter' is defined but never used. (no-unused-vars)
(#302) Missing space before opening brace. (space-before-blocks)
(#302) Trailing spaces not allowed. (no-trailing-spaces)
(#303) '$' is not defined. (no-undef)
(#303) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#304) '$' is not defined. (no-undef)
(#304) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#308) 'Inter2' is defined but never used. (no-unused-vars)
(#308) Missing space before opening brace. (space-before-blocks)
(#308) Trailing spaces not allowed. (no-trailing-spaces)
(#309) '$' is not defined. (no-undef)
(#309) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#310) '$' is not defined. (no-undef)
(#310) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#315) Missing JSDoc comment. (require-jsdoc)
(#315) 'groupuserschange' is defined but never used. (no-unused-vars)
(#316) '$' is not defined. (no-undef)
(#317) '$' is not defined. (no-undef)
(#318) '$' is not defined. (no-undef)
(#319) Expected space or tab after '/*' in comment. (spaced-comment)
(#323) '$' is not defined. (no-undef)
(#324) '$' is not defined. (no-undef)
(#325) '$' is not defined. (no-undef)
(#329) '$' is not defined. (no-undef)
(#329) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#332) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#333) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#334) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#335) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#337) Unexpected space before function parentheses. (space-before-function-paren)
(#337) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#338) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#339) '$' is not defined. (no-undef)
(#341) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#342) '$' is not defined. (no-undef)
(#342) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#343) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#344) '$' is not defined. (no-undef)
(#344) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#347) '$' is not defined. (no-undef)
(#348) '$' is not defined. (no-undef)
(#349) '$' is not defined. (no-undef)
(#349) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#350) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#354) Missing JSDoc comment. (require-jsdoc)
(#355) '$' is not defined. (no-undef)
(#357) '$' is not defined. (no-undef)
(#357) Unexpected space before function parentheses. (space-before-function-paren)
(#359) '$' is not defined. (no-undef)
(#360) '$' is not defined. (no-undef)
(#363) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#364) '$' is not defined. (no-undef)
(#366) '$' is not defined. (no-undef)
(#367) '$' is not defined. (no-undef)
(#368) '$' is not defined. (no-undef)
mod/via/javascript/presence.js
(#2) Unexpected space before function parentheses. (space-before-function-paren)
mod/via/javascript/viabutton.js
(#1) Unexpected space before function parentheses. (space-before-function-paren)
(#16) Unexpected space before function parentheses. (space-before-function-paren)
(#31) Unexpected space before function parentheses. (space-before-function-paren)
(#38) Unexpected space before function parentheses. (space-before-function-paren)

CSS problems

(98 errors, 6 warnings)

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

mod/via/styles.css
(#29) Expected single space before "{" (block-opening-brace-space-before)
(#183) Expected single space before "{" (block-opening-brace-space-before)
(#276) Expected single space before "{" (block-opening-brace-space-before)
(#317) Expected single space before "{" (block-opening-brace-space-before)
(#55) Expected "#CCC" to be "#ccc" (color-hex-case)
(#91) Expected "#AAAAAA" to be "#aaaaaa" (color-hex-case)
(#131) Expected "#AAAAAA" to be "#aaaaaa" (color-hex-case)
(#91) Expected "#AAAAAA" to be "#AAA" (color-hex-length)
(#131) Expected "#AAAAAA" to be "#AAA" (color-hex-length)
(#184) Expected a trailing semicolon (declaration-block-trailing-semicolon)
(#350) Expected a trailing semicolon (declaration-block-trailing-semicolon)
(#7) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#26) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#44) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#72) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#118) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#179) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#184) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#189) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#197) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#236) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#240) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#266) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#277) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#280) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#281) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#284) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#290) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#291) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#292) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#295) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#299) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#303) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#304) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#307) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#308) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#309) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#312) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#313) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#318) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#319) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#320) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#323) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#326) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#330) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#335) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#336) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#337) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#347) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#350) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#354) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#355) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#347) Unexpected whitespace before ":" (declaration-colon-space-before)
(#49) Unexpected !important (declaration-no-important)
(#299) Unexpected !important (declaration-no-important)
(#303) Unexpected !important (declaration-no-important)
(#347) Unexpected !important (declaration-no-important)
(#49) Unexpected unit (length-zero-no-unit)
(#9) Expected "TD" to be "td" (selector-type-case)
(#19) Expected "A" to be "a" (selector-type-case)
(#28) Expected "A" to be "a" (selector-type-case)
(#29) Expected "A" to be "a" (selector-type-case)
(#33) Expected "A" to be "a" (selector-type-case)
(#37) Expected "A" to be "a" (selector-type-case)
(#43) Expected "A" to be "a" (selector-type-case)
(#52) Expected "A" to be "a" (selector-type-case)
(#59) Expected "TABLE" to be "table" (selector-type-case)
(#59) Expected "A" to be "a" (selector-type-case)
(#63) Expected "IMG" to be "img" (selector-type-case)
(#64) Expected "IMG" to be "img" (selector-type-case)
(#90) Expected "A" to be "a" (selector-type-case)
(#134) Expected "IMG" to be "img" (selector-type-case)
(#144) Expected "DIV" to be "div" (selector-type-case)
(#148) Expected "DIV" to be "div" (selector-type-case)
(#156) Expected "A" to be "a" (selector-type-case)
(#163) Expected "INPUT" to be "input" (selector-type-case)
(#166) Expected "INPUT" to be "input" (selector-type-case)
(#170) Expected "H3" to be "h3" (selector-type-case)
(#177) Expected "TABLE" to be "table" (selector-type-case)
(#177) Expected "TD" to be "td" (selector-type-case)
(#178) Expected "TABLE" to be "table" (selector-type-case)
(#178) Expected "TD" to be "td" (selector-type-case)
(#188) Expected "A" to be "a" (selector-type-case)
(#196) Expected "A" to be "a" (selector-type-case)
(#200) Expected "SPAN" to be "span" (selector-type-case)
(#204) Expected "SPAN" to be "span" (selector-type-case)
(#208) Expected "SPAN" to be "span" (selector-type-case)
(#217) Expected "A" to be "a" (selector-type-case)
(#224) Expected "A" to be "a" (selector-type-case)
(#228) Expected "A" to be "a" (selector-type-case)
(#229) Expected "A" to be "a" (selector-type-case)
(#230) Expected "A" to be "a" (selector-type-case)
(#231) Expected "A" to be "a" (selector-type-case)
(#276) Expected "P" to be "p" (selector-type-case)
(#283) Expected "IMG" to be "img" (selector-type-case)
(#294) Expected "DIV" to be "div" (selector-type-case)
(#297) Expected "DIV" to be "div" (selector-type-case)
(#298) Expected "DIV" to be "div" (selector-type-case)
(#301) Expected "DIV" to be "div" (selector-type-case)
(#302) Expected "DIV" to be "div" (selector-type-case)
(#306) Expected "SELECT" to be "select" (selector-type-case)
(#245) Expected single space after "," in a single-line list (value-list-comma-space-after)
(#245) Expected single space after "," in a single-line list (value-list-comma-space-after)
(#245) Expected single space after "," in a single-line list (value-list-comma-space-after)

PHPDocs style problems

(153 errors, 0 warnings)

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

mod/via/api.class.php
(#524) Function mod_via_api::via_get_categories is not documented
(#486) Phpdocs for function mod_via_api::activitytemplate_get has incomplete parameters list
(#764) Phpdocs for function mod_via_api::edituser_activity has incomplete parameters list
(#1060) Phpdocs for function mod_via_api::via_download_record has incomplete parameters list
(#1099) Phpdocs for function mod_via_api::via_download_document has incomplete parameters list
(#1138) Phpdocs for function mod_via_api::get_notices has incomplete parameters list
(#1173) Phpdocs for function mod_via_api::get_activity_notifications has incomplete parameters list
(#1208) Phpdocs for function mod_via_api::get_latest_added_playbacks has incomplete parameters list
(#1354) Phpdocs for function mod_via_api::testadminid has incomplete parameters list
(#27) Class mod_via_api does not have @copyright tag
(#27) Class mod_via_api does not have @license tag
(#20) Package mod is not valid
mod/via/auth.php
(#21) Package mod is not valid
mod/via/backup/moodle2/backup_via_activity_task.class.php
(#17) No one-line description found in phpdocs for file
(#27) No one-line description found in phpdocs for class backup_via_activity_task
(#48) Phpdocs for function backup_via_activity_task::encode_content_links has incomplete parameters list
(#27) Class backup_via_activity_task does not have @copyright tag
(#27) Class backup_via_activity_task does not have @license tag
(#19) Package mod is not valid
mod/via/backup/moodle2/backup_via_stepslib.php
(#32) Function backup_via_activity_structure_step::define_structure is not documented
(#17) No one-line description found in phpdocs for file
(#27) Class backup_via_activity_structure_step does not have @copyright tag
(#27) Class backup_via_activity_structure_step does not have @license tag
mod/via/backup/moodle2/restore_via_activity_task.class.php
(#17) No one-line description found in phpdocs for file
(#32) No one-line description found in phpdocs for class restore_via_activity_task
(#32) Class restore_via_activity_task does not have @copyright tag
(#32) Class restore_via_activity_task does not have @license tag
mod/via/backup/moodle2/restore_via_stepslib.php
(#30) Class restore_via_activity_structure_step does not have @copyright tag
(#30) Class restore_via_activity_structure_step does not have @license tag
mod/via/choosecategories.php
(#21) Package mod is not valid
mod/via/classes/event/course_module_viewed.php
(#38) Class course_module_viewed is not documented
(#52) Function course_module_viewed::get_objectid_mapping is not documented
(#55) Function course_module_viewed::get_other_mapping is not documented
(#20) Package Via is not valid
mod/via/classes/event/playback_downloaded.php
(#38) Class playback_downloaded is not documented
(#101) Function playback_downloaded::get_objectid_mapping is not documented
(#104) Function playback_downloaded::get_other_mapping is not documented
(#20) Package Via is not valid
mod/via/classes/event/playback_viewed.php
(#38) Class playback_viewed is not documented
(#87) Function playback_viewed::get_objectid_mapping is not documented
(#90) Function playback_viewed::get_other_mapping is not documented
(#20) Package Via is not valid
mod/via/classes/event/via_accessed.php
(#38) Class via_accessed is not documented
(#85) Function via_accessed::get_objectid_mapping is not documented
(#88) Function via_accessed::get_other_mapping is not documented
(#20) Package Via is not valid
mod/via/classes/task/via_ciesettings_task.php
(#29) Class via_ciesettings_task is not documented
(#31) Function via_ciesettings_task::get_name is not documented
(#35) Function via_ciesettings_task::execute is not documented
mod/via/classes/task/via_mail_task.php
(#29) Class via_mail_task is not documented
(#32) Function via_mail_task::get_name is not documented
(#36) Function via_mail_task::execute is not documented
mod/via/classes/task/via_notification_task.php
(#29) Class via_notification_task is not documented
(#32) Function via_notification_task::get_name is not documented
(#36) Function via_notification_task::execute is not documented
mod/via/classes/task/via_usersync_task.php
(#29) Class via_usersync_task is not documented
(#32) Function via_usersync_task::get_name is not documented
(#36) Function via_usersync_task::execute is not documented
mod/via/conntest.php
(#17) No one-line description found in phpdocs for file
(#22) Package mod is not valid
mod/via/db/access.php
(#21) Package mod is not valid
mod/via/db/tasks.php
(#17) No one-line description found in phpdocs for file
mod/via/db/upgrade.php
(#20) Package mod is not valid
mod/via/download_document.php
(#21) Package mod is not valid
mod/via/download_recording.php
(#21) Package mod is not valid
mod/via/edit_review.php
(#21) Package mod is not valid
mod/via/index.php
(#21) Package mod is not valid
mod/via/lang/en/via.php
(#21) Package mod is not valid
mod/via/lib.php
(#1852) Function via_send_invite_form::definition is not documented
(#1166) Phpdocs for function via_send_moodle_reminders has incomplete parameters list
(#1234) Phpdocs for function via_send_invitations has incomplete parameters list
(#1278) Phpdocs for function via_send_export_notice has incomplete parameters list
(#1333) Phpdocs for function via_send_activity_notifications has incomplete parameters list
(#1380) Phpdocs for function via_send_moodle_invitations has incomplete parameters list
(#1459) Phpdocs for function via_send_notices has incomplete parameters list
(#1523) Phpdocs for function via_send_notification has incomplete parameters list
(#1585) Phpdocs for function via_get_invitations has incomplete parameters list
(#1627) Phpdocs for function via_reset_userdata has incomplete parameters list
(#1815) Phpdocs for function via_handle_createactivityapierror has incomplete parameters list
(#1880) Phpdocs for function via_pluginfile has incomplete parameters list
(#1803) Invalid phpdocs tag @returns used
(#21) Package mod is not valid
(#1847) Package core_message is not valid
(#1878) Package mod_glossary is not valid
mod/via/locallib.php
(#1837) Function via_get_profilname is not documented
(#76) Phpdocs for function via_synch_participants has incomplete parameters list
(#406) Phpdocs for function via_get_potential_participants has incomplete parameters list
(#419) Phpdocs for function via_participants has incomplete parameters list
(#458) Phpdocs for function via_create_user_password has incomplete parameters list
(#474) Phpdocs for function via_get_random_letter has incomplete parameters list
(#727) Phpdocs for function via_report_btn has incomplete parameters list
(#799) Phpdocs for function via_get_participants_table has incomplete parameters list
(#1068) Phpdocs for function via_get_playbacks_table has incomplete parameters list
(#1227) Phpdocs for function via_get_downlodablefiles_table has incomplete parameters list
(#1366) Phpdocs for function via_make_invitation_reminder_mail_html has incomplete parameters list
(#1543) Phpdocs for function via_make_notice_mail_html has incomplete parameters list
(#1635) Phpdocs for function via_user_type has incomplete parameters list
(#1692) Phpdocs for function via_add_button has incomplete parameters list
(#1817) Phpdocs for function via_get_role has incomplete parameters list
(#20) Package mod is not valid
mod/via/manage.form.php
(#21) Package mod is not valid
mod/via/manage.php
(#21) Package mod is not valid
mod/via/manual_synch.php
(#21) Package mod is not valid
mod/via/mod_form.php
(#457) Phpdocs for function mod_via_mod_form::data_preprocessing has incomplete parameters list
(#582) Phpdocs for function mod_via_mod_form::validation has incomplete parameters list
(#32) Class mod_via_mod_form does not have @copyright tag
(#32) Class mod_via_mod_form does not have @license tag
(#21) Package mod is not valid
mod/via/phpxml.php
(#39) Function xml_unserialize is not documented
(#51) Function xml_serialize is not documented
(#103) Function xml::__construct is not documented
(#111) Function xml::destruct is not documented
(#115) Function xml::parse is not documented
(#122) Function xml::open is not documented
(#151) Function xml::data is not documented
(#157) Function xml::close is not documented
(#169) Function count_numeric_items is not documented
(#97) Variable xml::$parser is not documented
(#98) Variable xml::$document is not documented
(#99) Variable xml::$parent is not documented
(#100) Variable xml::$stack is not documented
(#101) Variable xml::$lastopenedtag is not documented
(#92) Class xml does not have @copyright tag
(#92) Class xml does not have @license tag
(#21) Package mod is not valid
mod/via/presence.php
(#21) Package mod is not valid
mod/via/send_invite.php
(#21) Package mod is not valid
mod/via/settings.php
(#21) Package mod is not valid
mod/via/synctemplate.php
(#17) No one-line description found in phpdocs for file
mod/via/tabs.php
(#21) Package mod is not valid
mod/via/testadminid.php
(#20) Package mod is not valid
mod/via/uapi/auth.php
(#21) Package mod is not valid
mod/via/uapi/getversion/index.php
(#21) Package mod is not valid
mod/via/version.php
(#21) Package mod is not valid
mod/via/vialib/version24.php
(#93) Function via_playback_viewed_log is not documented
(#97) Function via_playback_downloaded_log is not documented
(#101) Function via_viewed_log is not documented
(#38) Phpdocs for function via_get_module_instance has incomplete parameters list
(#52) Phpdocs for function via_get_course_instance has incomplete parameters list
(#66) Phpdocs for function via_get_system_instance has incomplete parameters list
(#79) Phpdocs for function via_accessed_log has incomplete parameters list
(#21) Package mod is not valid
mod/via/vialib/version27.php
(#37) Phpdocs for function via_get_module_instance has incomplete parameters list
(#50) Phpdocs for function via_get_course_instance has incomplete parameters list
(#63) Phpdocs for function via_get_system_instance has incomplete parameters list
(#70) Phpdocs for function via_accessed_log has incomplete parameters list
(#85) Phpdocs for function via_playback_viewed_log has incomplete parameters list
(#102) Phpdocs for function via_playback_downloaded_log has incomplete parameters list
(#119) Phpdocs for function via_viewed_log has incomplete parameters list
(#21) Package mod is not valid
mod/via/view.assistant.php
(#21) Package mod is not valid
mod/via/view.php
(#21) Package mod is not valid
mod/via/view.via.php
(#21) Package mod is not valid

Update savepoints problems

(16 errors, 0 warnings)

This section shows problems detected with the handling of upgrade savepoints [More info]

mod/via/db/upgrade.php
Detected more 'if' blocks (15) than 'savepoint' calls (0)
version 2009042701 is missing corresponding savepoint call
version 2013092002 is missing corresponding savepoint call
version 2014040100 is missing corresponding savepoint call
version 2014080162 is missing corresponding savepoint call
version 2014080163 is missing corresponding savepoint call
version 2014080167 is missing corresponding savepoint call
version 2014110100 is missing corresponding savepoint call
version 2014120101 is missing corresponding savepoint call
version 2015012004 is missing corresponding savepoint call
version 2015050101 is missing corresponding savepoint call
version 2016010101 is missing corresponding savepoint call
version 2016010112 is missing corresponding savepoint call
version 2016010116 is missing corresponding savepoint call
version 2016042003 is missing corresponding savepoint call
version 2017030107 is missing corresponding savepoint call

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

(1 errors, 1 warnings)

This section shows files built by grunt and not commited [More info]

Task "stylelint:css" failed. Use --force to continue.
Problems running grunt

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]