Prechecker results: error


Overview

(0 errors, 0 warnings)

This section shows the general problems detected when processing the code [More info]


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

(219 errors, 173 warnings)

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

mod/helixmedia/backup/moodle2/backup_helixmedia_activity_task.class.php
(#17) Missing @copyright tag
(#54) The static declaration must come after the visibility declaration
mod/helixmedia/backup/moodle2/backup_helixmedia_stepslib.php
(#17) Missing @copyright tag
(#21) Incorrect @package tag for file backup_helixmedia_stepslib.php. Expected mod_helixmedia, found mod.
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#34) Missing docblock for function define_structure
(#40) Short array syntax must be used to define arrays
(#40) Short array syntax must be used to define arrays
(#60) Short array syntax must be used to define arrays
mod/helixmedia/backup/moodle2/restore_helixmedia_activity_task.class.php
(#17) Missing @copyright tag
(#20) Incorrect @package tag for file restore_helixmedia_activity_task.class.php. Expected mod_helixmedia, found mod.
(#55) The static declaration must come after the visibility declaration
(#56) Short array syntax must be used to define arrays
(#58) Short array syntax must be used to define arrays
(#67) The static declaration must come after the visibility declaration
(#68) Short array syntax must be used to define arrays
(#83) The static declaration must come after the visibility declaration
(#84) Short array syntax must be used to define arrays
(#103) The static declaration must come after the visibility declaration
(#104) Short array syntax must be used to define arrays
mod/helixmedia/backup/moodle2/restore_helixmedia_stepslib.php
(#17) Missing @copyright tag
(#21) Incorrect @package tag for file restore_helixmedia_stepslib.php. Expected mod_helixmedia, found mod.
(#36) Missing docblock for function define_structure
(#38) Short array syntax must be used to define arrays
(#45) Missing docblock for function process_helixmedia
(#62) Short array syntax must be used to define arrays
(#65) Short array syntax must be used to define arrays
(#71) Missing docblock for function after_execute
mod/helixmedia/classes/event/course_module_instance_list_viewed.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/helixmedia/classes/event/course_module_viewed.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/helixmedia/classes/event/lti_compat_launch.php
(#42) Missing docblock for class lti_compat_launch
(#50) Short array syntax must be used to define arrays
mod/helixmedia/classes/event/lti_launch.php
(#42) Missing docblock for class lti_launch
(#81) Short array syntax must be used to define arrays
mod/helixmedia/classes/event/lti_launch_compat_edit.php
(#42) Missing docblock for class lti_launch_compat_edit
(#50) Short array syntax must be used to define arrays
(#54) Whitespace found at end of line
mod/helixmedia/classes/event/lti_launch_edit.php
(#42) Missing docblock for class lti_launch_edit
(#81) Short array syntax must be used to define arrays
mod/helixmedia/classes/event/lti_launch_edit_compat_new.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#41) Missing docblock for class lti_launch_edit_compat_new
(#48) Short array syntax must be used to define arrays
mod/helixmedia/classes/event/lti_launch_edit_new.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#41) Missing docblock for class lti_launch_edit_new
mod/helixmedia/classes/external.php
(#42) Missing docblock for function get_launch_data_parameters
(#44) Short array syntax must be used to define arrays
(#47) There should be a comma after the last array item in a multi-line array.
(#52) Missing docblock for function get_launch_data
(#54) Short array syntax must be used to define arrays
(#57) Short array syntax must be used to define arrays
(#65) Short array syntax must be used to define arrays
(#68) There should be a comma after the last array item in a multi-line array.
(#74) Missing docblock for function random_code
(#85) Missing docblock for function get_launch_data_returns
(#87) Short array syntax must be used to define arrays
(#90) There should be a comma after the last array item in a multi-line array.
mod/helixmedia/classes/output/container.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#45) Missing member variable doc comment
(#45) Missing member variable doc comment
(#45) Missing member variable doc comment
(#45) Missing member variable doc comment
(#50) Whitespace found at end of line
(#101) Missing docblock for function export_for_template
(#105) Expected 1 space after "=>"; 0 found
(#110) There should be a comma after the last array item in a multi-line array.
mod/helixmedia/classes/output/launcher.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#19) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#21) Inline doc block comments are not allowed; use "// Comment." instead
(#42) Missing member variable doc comment
(#42) Missing member variable doc comment
(#42) Missing member variable doc comment
(#42) Missing member variable doc comment
(#42) Missing member variable doc comment
(#42) Missing member variable doc comment
(#42) Missing member variable doc comment
(#42) Missing member variable doc comment
(#55) Missing docblock for function __construct
(#55) Line exceeds 132 characters; contains 141 characters
(#76) Short array syntax must be used to define arrays
(#77) Short array syntax must be used to define arrays
(#103) Inline comments must end in full-stops, exclamation marks, or question marks
(#141) Inline doc block comments are not allowed; use "// Comment." instead
(#186) Short array syntax must be used to define arrays
(#194) Line exceeds 132 characters; contains 138 characters
(#210) Missing docblock for function export_for_template
(#218) There should be a comma after the last array item in a multi-line array.
mod/helixmedia/classes/output/launchmessage.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#19) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#21) Inline doc block comments are not allowed; use "// Comment." instead
(#42) Missing member variable doc comment
(#42) Missing member variable doc comment
(#45) Expected 5 spaces before asterisk; 4 found
(#46) Expected 5 spaces before asterisk; 4 found
(#48) Missing docblock for function __construct
(#53) Missing docblock for function export_for_template
(#54) Short array syntax must be used to define arrays
(#56) There should be a comma after the last array item in a multi-line array.
(#57) Whitespace found at end of line
mod/helixmedia/classes/output/mobile.php
(#17) Missing @copyright tag
(#20) Incorrect @package tag for file mobile.php. Expected mod_helixmedia, found mod.
(#32) Whitespace found at end of line
(#37) Missing docblock for class mobile
(#60) Short array syntax must be used to define arrays
(#64) Short array syntax must be used to define arrays
(#79) Short array syntax must be used to define arrays
(#107) Missing docblock for function random_code
mod/helixmedia/classes/output/modal.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#46) Missing member variable doc comment
(#46) Missing member variable doc comment
(#46) Missing member variable doc comment
(#46) Missing member variable doc comment
(#46) Missing member variable doc comment
(#46) Missing member variable doc comment
(#46) Missing member variable doc comment
(#46) Missing member variable doc comment
(#46) Missing member variable doc comment
(#46) Missing member variable doc comment
(#46) Missing member variable doc comment
(#76) Line exceeds 132 characters; contains 133 characters
(#91) Short array syntax must be used to define arrays
(#99) Inline comments must end in full-stops, exclamation marks, or question marks
(#124) Short array syntax must be used to define arrays
(#138) There should be a comma after the last array item in a multi-line array.
(#142) Missing docblock for function inc_js
(#152) Missing docblock for function export_for_template
mod/helixmedia/classes/output/renderer.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#19) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#21) Inline doc block comments are not allowed; use "// Comment." instead
(#91) Expected 5 spaces before asterisk; 4 found
(#91) Whitespace found at end of line
(#92) Expected 5 spaces before asterisk; 4 found
(#93) Expected 5 spaces before asterisk; 4 found
(#94) Expected 5 spaces before asterisk; 4 found
(#96) Missing docblock for function render_launcher
(#101) Expected 5 spaces before asterisk; 4 found
(#102) Expected 5 spaces before asterisk; 4 found
(#103) Expected 5 spaces before asterisk; 4 found
(#104) Expected 5 spaces before asterisk; 4 found
(#106) Missing docblock for function render_launchmessage
mod/helixmedia/classes/output/view.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#19) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#21) Inline doc block comments are not allowed; use "// Comment." instead
(#42) Missing member variable doc comment
(#42) Missing member variable doc comment
(#53) Expected 1 space before ".="; 0 found
(#53) Expected 1 space after ".="; 0 found
(#58) Missing docblock for function export_for_template
(#72) There should be a comma after the last array item in a multi-line array.
mod/helixmedia/classes/output/viewwindow.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#19) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#21) Inline doc block comments are not allowed; use "// Comment." instead
mod/helixmedia/classes/privacy/provider.php
(#21) Whitespace found at end of line
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#34) Opening brace should be on the same line as the declaration for class provider
(#42) Opening brace should be on the same line as the declaration
mod/helixmedia/classes/search/activity.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#48) Short array syntax must be used to define arrays
mod/helixmedia/classes/task/cleanup.php
(#20) Incorrect @package tag for file cleanup.php. Expected mod_helixmedia, found mod.
(#74) Short array syntax must be used to define arrays
(#76) Short array syntax must be used to define arrays
(#79) Short array syntax must be used to define arrays
(#84) Short array syntax must be used to define arrays
mod/helixmedia/classes/task/mobiletokens.php
(#20) Incorrect @package tag for file mobiletokens.php. Expected mod_helixmedia, found mod.
(#35) Missing docblock for class mobiletokens
mod/helixmedia/container.php
(#1) Missing @copyright tag
(#1) Missing @license tag
(#1) Missing docblock for file container.php
(#20) Inline doc block comments are not allowed; use "// Comment." instead
(#53) Whitespace found at end of line
mod/helixmedia/db/access.php
(#17) Missing @copyright tag
(#27) Short array syntax must be used to define arrays
(#29) Short array syntax must be used to define arrays
(#32) Short array syntax must be used to define arrays
(#37) There should be a comma after the last array item in a multi-line array.
(#38) There should be a comma after the last array item in a multi-line array.
(#41) Short array syntax must be used to define arrays
(#46) Short array syntax must be used to define arrays
(#48) There should be a comma after the last array item in a multi-line array.
(#50) There should be a comma after the last array item in a multi-line array.
(#53) Short array syntax must be used to define arrays
(#58) Short array syntax must be used to define arrays
(#61) There should be a comma after the last array item in a multi-line array.
(#62) There should be a comma after the last array item in a multi-line array.
(#65) Short array syntax must be used to define arrays
(#68) Short array syntax must be used to define arrays
(#69) There should be a comma after the last array item in a multi-line array.
(#70) There should be a comma after the last array item in a multi-line array.
(#71) There should be a comma after the last array item in a multi-line array.
mod/helixmedia/db/log.php
(#29) Short array syntax must be used to define arrays
(#30) Short array syntax must be used to define arrays
(#31) Short array syntax must be used to define arrays
(#32) Short array syntax must be used to define arrays
(#33) Short array syntax must be used to define arrays
(#34) Short array syntax must be used to define arrays
(#34) There should be a comma after the last array item in a multi-line array.
mod/helixmedia/db/mobile.php
(#17) Missing @copyright tag
(#20) Incorrect @package tag for file mobile.php. Expected mod_helixmedia, found mod.
(#29) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) There should be a comma after the last array item in a multi-line array.
(#45) There should be a comma after the last array item in a multi-line array.
mod/helixmedia/db/services.php
(#17) Missing @copyright tag
(#20) Incorrect @package tag for file services.php. Expected mod_helixmedia, found mod.
mod/helixmedia/db/tasks.php
(#17) Missing @copyright tag
(#20) Incorrect @package tag for file tasks.php. Expected mod_helixmedia, found mod.
mod/helixmedia/db/upgrade.php
(#17) Missing @copyright tag
(#20) Incorrect @package tag for file upgrade.php. Expected mod_helixmedia, found mod.
(#83) Short array syntax must be used to define arrays
(#106) Functions must not contain multiple empty lines in a row; found 2 empty lines
mod/helixmedia/index.php
(#1) Missing @copyright tag
(#1) Missing @license tag
(#1) Missing docblock for file index.php
(#29) Short array syntax must be used to define arrays
(#35) Short array syntax must be used to define arrays
(#39) Short array syntax must be used to define arrays
(#65) Short array syntax must be used to define arrays
(#66) Short array syntax must be used to define arrays
(#68) Short array syntax must be used to define arrays
(#83) Short array syntax must be used to define arrays
(#85) Short array syntax must be used to define arrays
(#88) Short array syntax must be used to define arrays
mod/helixmedia/lang/en/helixmedia.php
(#20) Incorrect @package tag for file helixmedia.php. Expected mod_helixmedia, found mod.
(#32) The string key "cleanup" is not in the correct order, it should be before "consumer_key2"
(#37) The string key "helixmedia:myview" is not in the correct order, it should be before "helixmedia:view"
(#38) The string key "helixmedia:manage" is not in the correct order, it should be before "helixmedia:myview"
(#51) The string key "modal_delay" is not in the correct order, it should be before "modulename"
(#55) The string key "pluginadministration" is not in the correct order, it should be before "pluginname"
(#56) The string key "mobiletokens" is not in the correct order, it should be before "pluginadministration"
(#69) The string key "search:activity" is not in the correct order, it should be before "shared_secret2"
(#70) The string key "lti_settings_title" is not in the correct order, it should be before "search:activity"
(#73) The string key "version_check_not_done" is not in the correct order, it should be before "version_check_upgrade"
(#74) The string key "version_check_fail" is not in the correct order, it should be before "version_check_not_done"
(#76) The string key "uploadedby" is not in the correct order, it should be before "version_check_title"
(#77) The string key "assignsubltititle" is not in the correct order, it should be before "uploadedby"
(#78) The string key "assignfeedltititle" is not in the correct order, it should be before "assignsubltititle"
(#82) The string key "openlib" is not in the correct order, it should be before "pleasewaitup"
(#83) The string key "mylibrary" is not in the correct order, it should be before "openlib"
mod/helixmedia/launch.php
(#17) Missing @copyright tag
(#17) Missing @copyright tag
(#20) Incorrect @package tag for file launch.php. Expected mod_helixmedia, found mod.
(#32) Missing docblock for file launch.php
(#103) Inline comments must end in full-stops, exclamation marks, or question marks
(#140) Space found before square bracket; expected "$_SERVER[" but found "$_SERVER ["
(#166) Short array syntax must be used to define arrays
(#171) Short array syntax must be used to define arrays
(#171) Whitespace found at end of line
(#185) Inline comments must start with a capital letter, digit or 3-dots sequence
(#185) This comment is 52% valid code; is this commented out code?
(#185) No space found before comment text; expected "// if (strlen($intro) > 0) {" but found "//if (strlen($intro) > 0) {"
(#186) Expected 1 space before comment text but found 4; use block comment if you need indentation
(#187) Inline comments must end in full-stops, exclamation marks, or question marks
(#187) No space found before comment text; expected "// }" but found "//}"
(#190) Short array syntax must be used to define arrays
(#202) Short array syntax must be used to define arrays
(#204) Short array syntax must be used to define arrays
(#207) Short array syntax must be used to define arrays
(#208) Short array syntax must be used to define arrays
(#216) Short array syntax must be used to define arrays
(#219) Short array syntax must be used to define arrays
(#220) Short array syntax must be used to define arrays
(#226) Short array syntax must be used to define arrays
(#226) Whitespace found at end of line
(#229) Short array syntax must be used to define arrays
(#252) Short array syntax must be used to define arrays
(#261) Short array syntax must be used to define arrays
(#330) Inline comments must end in full-stops, exclamation marks, or question marks
(#330) Whitespace found at end of line
(#340) Short array syntax must be used to define arrays
(#342) There should be a comma after the last array item in a multi-line array.
(#346) Short array syntax must be used to define arrays
(#348) There should be a comma after the last array item in a multi-line array.
(#353) Short array syntax must be used to define arrays
(#355) There should be a comma after the last array item in a multi-line array.
(#384) Inline comments must end in full-stops, exclamation marks, or question marks
(#385) Line exceeds 132 characters; contains 141 characters
(#385) Line exceeds 132 characters; contains 141 characters
(#393) Inline comments must start with a capital letter, digit or 3-dots sequence
(#393) Inline comments must end in full-stops, exclamation marks, or question marks
(#393) This comment is 70% valid code; is this commented out code?
(#393) No space found before comment text; expected "// helixmedia_view_mod($hmli, $type, $mid, $ret, $user, $modtype);" but found "//helixmedia_view_mod($hmli, $type, $mid, $ret, $user, $modtype);"
(#395) Short array syntax must be used to define arrays
mod/helixmedia/lib.php
(#20) Incorrect @package tag for file lib.php. Expected mod_helixmedia, found mod.
(#33) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#87) Short array syntax must be used to define arrays
(#96) Short array syntax must be used to define arrays
(#131) Short array syntax must be used to define arrays
(#148) Short array syntax must be used to define arrays
(#162) Inline doc block comments are not allowed; use "// Comment." instead
(#208) Short array syntax must be used to define arrays
(#214) Short array syntax must be used to define arrays
(#225) Invalid docblock tag "@TODO:".
(#236) Invalid docblock tag "@TODO:".
(#249) Invalid docblock tag "@TODO:".
(#285) Missing docblock for function helixmedia_view
(#292) Short array syntax must be used to define arrays
(#295) There should be a comma after the last array item in a multi-line array.
mod/helixmedia/locallib.php
(#17) Missing @copyright tag
(#20) Incorrect @package tag for file locallib.php. Expected mod_helixmedia, found mod.
(#38) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) No space found before comment text; expected "// define('HML_LAUNCH_RELINK', 4);" but found "//define('HML_LAUNCH_RELINK', 4);"
(#73) Missing docblock for function helixmedia_is_group_assign
(#75) Short array syntax must be used to define arrays
(#76) Short array syntax must be used to define arrays
(#85) Missing docblock for function helixmedia_get_assign_into_refs
(#89) Short array syntax must be used to define arrays
(#95) Short array syntax must be used to define arrays
(#125) Missing docblock for function helixmedia_curl_post_launch_html
(#139) Short array syntax must be used to define arrays
(#149) There should be a comma after the last array item in a multi-line array.
(#150) Inline comments must start with a capital letter, digit or 3-dots sequence
(#150) This comment is 59% valid code; is this commented out code?
(#150) No space found before comment text; expected "// 'CURLOPT_SSL_VERIFYHOST' => false," but found "//'CURLOPT_SSL_VERIFYHOST' => false,"
(#151) No space found before comment text; expected "// 'CURLOPT_SSL_VERIFYPEER' => false" but found "//'CURLOPT_SSL_VERIFYPEER' => false"
(#204) Short array syntax must be used to define arrays
(#213) There should be a comma after the last array item in a multi-line array.
(#227) This comment is 63% valid code; is this commented out code?
(#256) Short array syntax must be used to define arrays
(#257) Short array syntax must be used to define arrays
(#300) Short array syntax must be used to define arrays
(#326) Short array syntax must be used to define arrays
(#377) Short array syntax must be used to define arrays
(#385) Missing docblock for function curpageurl
(#400) Missing docblock for function helixmedia_get_instance_size
(#403) Short array syntax must be used to define arrays
(#428) Missing docblock for function helixmedia_get_playerwidthurl
(#432) Missing docblock for function helixmedia_get_status_url
(#436) Missing docblock for function helixmedia_get_upload_url
(#440) Missing docblock for function helixmedia_get_alturl
(#447) Expected 1 space before asterisk; 0 found
(#448) Expected 1 space before asterisk; 0 found
(#449) Expected 1 space before asterisk; 0 found
(#450) Expected 1 space before asterisk; 0 found
(#451) Expected 1 space before asterisk; 0 found
(#452) Expected 1 space before asterisk; 0 found
(#454) Missing docblock for function helixmedia_is_preid_empty
(#459) Expected 1 space before asterisk; 0 found
(#460) Expected 1 space before asterisk; 0 found
(#461) Expected 1 space before asterisk; 0 found
(#462) Expected 1 space before asterisk; 0 found
(#463) Expected 1 space before asterisk; 0 found
(#463) Line exceeds 132 characters; contains 140 characters
(#464) Expected 1 space before asterisk; 0 found
(#465) Expected 1 space before asterisk; 0 found
(#467) Missing docblock for function helixmedia_get_media_status
(#470) Short array syntax must be used to define arrays
(#479) Inline comments must end in full-stops, exclamation marks, or question marks
(#505) Missing docblock for function helixmedia_str_contains
(#515) Missing docblock for function helixmedia_version_check
(#524) Short array syntax must be used to define arrays
(#532) Inline comments must start with a capital letter, digit or 3-dots sequence
(#532) This comment is 59% valid code; is this commented out code?
(#532) No space found before comment text; expected "// 'CURLOPT_SSL_VERIFYHOST' => false," but found "//'CURLOPT_SSL_VERIFYHOST' => false,"
(#533) No space found before comment text; expected "// 'CURLOPT_SSL_VERIFYPEER' => false" but found "//'CURLOPT_SSL_VERIFYPEER' => false"
(#559) Missing docblock for function parse_medial_version
(#568) Missing docblock for function helixmedia_legacy_dynamic_size
(#629) Missing docblock for function helixmedia_detect_assign_grading_view
(#638) Inline comments must end in full-stops, exclamation marks, or question marks
mod/helixmedia/mod_form.php
(#17) Missing @copyright tag
(#20) Incorrect @package tag for file mod_form.php. Expected mod_helixmedia, found mod.
(#26) Old MOODLE_INTERNAL check detected. Replace it by "defined('MOODLE_INTERNAL') || die();"
(#33) Missing docblock for class mod_helixmedia_mod_form
(#35) Missing docblock for function definition
(#57) Short array syntax must be used to define arrays
(#74) Short array syntax must be used to define arrays
(#80) Missing docblock for function definition_after_data
(#80) Visibility must be declared on method "definition_after_data"
(#90) Short array syntax must be used to define arrays
(#91) Short array syntax must be used to define arrays
(#100) Short array syntax must be used to define arrays
(#101) Short array syntax must be used to define arrays
mod/helixmedia/session.php
(#1) Missing @copyright tag
(#1) Missing @license tag
(#1) Missing docblock for file session.php
mod/helixmedia/settings.php
(#17) Missing @copyright tag
(#20) Incorrect @package tag for file settings.php. Expected mod_helixmedia, found mod.
(#51) Short array syntax must be used to define arrays
(#60) Short array syntax must be used to define arrays
mod/helixmedia/version.php
(#20) Incorrect @package tag for file version.php. Expected mod_helixmedia, found mod.
mod/helixmedia/view.php
(#20) Incorrect @package tag for file view.php. Expected mod_helixmedia, found mod.
(#44) Short array syntax must be used to define arrays
(#49) Short array syntax must be used to define arrays
(#52) Short array syntax must be used to define arrays
(#54) Short array syntax must be used to define arrays
(#67) Short array syntax must be used to define arrays
(#72) Short array syntax must be used to define arrays
(#73) Inline comments must start with a capital letter, digit or 3-dots sequence
(#73) This comment is 50% valid code; is this commented out code?
(#73) No space found before comment text; expected "// $launchurl = "launch.php?type=".HML_LAUNCH_NORMAL."&id=".$cm->id;" but found "//$launchurl = "launch.php?type=".HML_LAUNCH_NORMAL."&id=".$cm->id;"
(#76) Inline comments must start with a capital letter, digit or 3-dots sequence
(#76) This comment is 67% valid code; is this commented out code?
(#76) No space found before comment text; expected "// $launchurl .= "&debuglaunch=1";" but found "//$launchurl .= "&debuglaunch=1";"
(#83) Whitespace found at end of line
(#102) Short array syntax must be used to define arrays

Javascript coding style problems

(17 errors, 37 warnings)

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

mod/helixmedia/amd/src/embed.js
(#17) @package should be empty. (jsdoc/empty-tags)
(#36) Operator '+' must be spaced. (space-infix-ops)
(#36) Operator '+' must be spaced. (space-infix-ops)
(#47) Missing semicolon. (@babel/semi)
(#50) Operator '+' must be spaced. (space-infix-ops)
(#50) Operator '+' must be spaced. (space-infix-ops)
(#51) Operator '+' must be spaced. (space-infix-ops)
(#51) Operator '+' must be spaced. (space-infix-ops)
(#56) Operator '+' must be spaced. (space-infix-ops)
(#56) Operator '+' must be spaced. (space-infix-ops)
(#57) Operator '+' must be spaced. (space-infix-ops)
(#57) Operator '+' must be spaced. (space-infix-ops)
(#57) Trailing spaces not allowed. (no-trailing-spaces)
(#66) Trailing spaces not allowed. (no-trailing-spaces)
(#70) Operator '+' must be spaced. (space-infix-ops)
(#71) Operator '+' must be spaced. (space-infix-ops)
(#86) Operator '+' must be spaced. (space-infix-ops)
mod/helixmedia/amd/src/module.js
(#17) @package should be empty. (jsdoc/empty-tags)
(#32) Identifier 'medial_interval' is not in camel case. (camelcase)
(#33) Trailing spaces not allowed. (no-trailing-spaces)
(#36) Operator '+' must be spaced. (space-infix-ops)
(#51) 'evt' is defined but never used. (no-unused-vars)
(#56) Operator '+' must be spaced. (space-infix-ops)
(#57) Trailing spaces not allowed. (no-trailing-spaces)
(#59) Trailing spaces not allowed. (no-trailing-spaces)
(#61) Trailing spaces not allowed. (no-trailing-spaces)
(#62) Operator '+' must be spaced. (space-infix-ops)
(#63) Use '===' to compare with null. (no-eq-null)
(#63) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#68) Use '===' to compare with null. (no-eq-null)
(#76) Operator '+' must be spaced. (space-infix-ops)
(#78) Missing semicolon. (@babel/semi)
(#79) Trailing spaces not allowed. (no-trailing-spaces)
(#81) Operator '+' must be spaced. (space-infix-ops)
(#82) Operator '+' must be spaced. (space-infix-ops)
(#86) Operator '+' must be spaced. (space-infix-ops)
(#87) Operator '+' must be spaced. (space-infix-ops)
(#102) Operator '==' must be spaced. (space-infix-ops)
(#103) Operator '=' must be spaced. (space-infix-ops)
(#105) Operator '!=' must be spaced. (space-infix-ops)
(#105) Operator '==' must be spaced. (space-infix-ops)
(#107) Identifier 'medial_interval' is not in camel case. (camelcase)
(#121) This line has a length of 149. Maximum allowed is 132. (max-len)
(#121) Operator '+' must be spaced. (space-infix-ops)
(#121) Operator '+' must be spaced. (space-infix-ops)
(#121) Operator '+' must be spaced. (space-infix-ops)
(#121) Operator '+' must be spaced. (space-infix-ops)
(#121) Operator '+' must be spaced. (space-infix-ops)
(#124) A space is required after ','. (comma-spacing)
(#134) Trailing spaces not allowed. (no-trailing-spaces)
(#138) Operator '+' must be spaced. (space-infix-ops)
(#139) Operator '+' must be spaced. (space-infix-ops)
(#154) Operator '+' must be spaced. (space-infix-ops)
(#154) Missing semicolon. (@babel/semi)

CSS problems

(48 errors, 0 warnings)

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

mod/helixmedia/styles.css
(#8) Can't parse value "var(0 1px 4px rgba(0,0,0,.6))" (csstree/validator)
(#9) Can't parse value "var(border-color .4s ease 0s,background-color .4s ease 0s)" (csstree/validator)
(#2) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#3) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#4) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#8) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#9) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#10) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#14) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#23) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#27) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#32) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#33) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#34) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#35) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#36) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#45) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#51) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#57) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#63) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#78) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#7) Unexpected !important (declaration-no-important)
(#27) Unexpected !important (declaration-no-important)
(#68) Unexpected !important (declaration-no-important)
(#73) Unexpected !important (declaration-no-important)
(#6) Expected single space after "," in a single-line function (function-comma-space-after)
(#6) Expected single space after "," in a single-line function (function-comma-space-after)
(#6) Expected single space after "," in a single-line function (function-comma-space-after)
(#8) Expected single space after "," in a single-line function (function-comma-space-after)
(#8) Expected single space after "," in a single-line function (function-comma-space-after)
(#8) Expected single space after "," in a single-line function (function-comma-space-after)
(#9) Expected single space after "," in a single-line function (function-comma-space-after)
(#43) Expected single space after ":" (media-feature-colon-space-after)
(#49) Expected single space after ":" (media-feature-colon-space-after)
(#55) Expected single space after ":" (media-feature-colon-space-after)
(#61) Expected single space after ":" (media-feature-colon-space-after)
(#71) Expected single space after ":" (media-feature-colon-space-after)
(#26) Expected newline after "," (selector-list-comma-newline-after)
(#14) Expected single space after "," in a single-line list (value-list-comma-space-after)
(#14) Expected single space after "," in a single-line list (value-list-comma-space-after)
(#45) Expected single space after "," in a single-line list (value-list-comma-space-after)
(#45) Expected single space after "," in a single-line list (value-list-comma-space-after)
(#51) Expected single space after "," in a single-line list (value-list-comma-space-after)
(#51) Expected single space after "," in a single-line list (value-list-comma-space-after)
(#57) Expected single space after "," in a single-line list (value-list-comma-space-after)
(#57) Expected single space after "," in a single-line list (value-list-comma-space-after)
(#63) Expected single space after "," in a single-line list (value-list-comma-space-after)
(#63) Expected single space after "," in a single-line list (value-list-comma-space-after)

PHPDocs style problems

(14 errors, 0 warnings)

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

mod/helixmedia/backup/moodle2/restore_helixmedia_activity_task.class.php
(#79) Inline phpdocs tag {@link restore_logs_processor} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#81) Inline phpdocs tag {@link restore_log_rule} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#95) Inline phpdocs tag {@link restore_logs_processor} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#97) Inline phpdocs tag {@link restore_log_rule} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
mod/helixmedia/classes/output/container.php
(#47) Phpdocs for function container::__construct has incomplete parameters list
mod/helixmedia/classes/output/modal.php
(#50) Phpdocs for function modal::__construct has incomplete parameters list
mod/helixmedia/classes/output/view.php
(#44) Phpdocs for function view::__construct has incomplete parameters list
mod/helixmedia/lib.php
(#125) Phpdocs for function helixmedia_get_preid has incomplete parameters list
(#141) Phpdocs for function helixmedia_add_instance has incomplete parameters list
(#177) Phpdocs for function helixmedia_update_instance has incomplete parameters list
(#217) Phpdocs for function helixmedia_user_outline has incomplete parameters list
(#231) Phpdocs for function helixmedia_user_complete has incomplete parameters list
(#242) Phpdocs for function helixmedia_print_recent_activity has incomplete parameters list
mod/helixmedia/locallib.php
(#356) Phpdocs for function helixmedia_get_visiblecap has incomplete parameters list

Update savepoints problems

(2 errors, 0 warnings)

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

mod/helixmedia/db/upgrade.php
Detected more 'if' blocks (3) than 'savepoint' calls (2)
version 2014081101 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]

Problems running grunt
Task "eslint:amd" failed. Use --force to continue.

shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 38 warnings)

This section shows problems detected in mustache templates [More info]

mod/helixmedia/templates/container.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 8: Bad value “” for attribute “width” on element “iframe”: The empty string is not a valid non-negative integer. (d><body><iframe style="margin-left:7px;margin-top:25px;border:0px;background:#ffffff;" width="" height="" src="/mod/helixmedia/launch.php?course=&amp;" allow="microphone ; camera display-capture ;"></ifra)
(#1) HTML Validation error, line 8: Bad value “” for attribute “height” on element “iframe”: The empty string is not a valid non-negative integer. (d><body><iframe style="margin-left:7px;margin-top:25px;border:0px;background:#ffffff;" width="" height="" src="/mod/helixmedia/launch.php?course=&amp;" allow="microphone ; camera display-capture ;"></ifra)
mod/helixmedia/templates/launcher.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 2: Element “style” not allowed as child of element “body” in this context. (Suppressing further errors from this subtree.) (ad><body><style>@impo)
(#1) HTML Validation info, line 12: The “type” attribute is unnecessary for JavaScript resources. (> <script type="text/javascript">funct)
mod/helixmedia/templates/launchmessage.mustache
(#1) Example context missing (@template section not found.)
mod/helixmedia/templates/mobile_view_page.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 4: Bad value “true” for attribute “allowfullscreen” on element “iframe”. (tion> <iframe allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true" id="contentframe" height="" width="100%" src="" style='margin-left:0px;margin-right:0px'></ifra)
(#1) HTML Validation error, line 4: Attribute “webkitallowfullscreen” not allowed on element “iframe” at this point. (tion> <iframe allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true" id="contentframe" height="" width="100%" src="" style='margin-left:0px;margin-right:0px'></ifra)
(#1) HTML Validation error, line 4: Attribute “mozallowfullscreen” not allowed on element “iframe” at this point. (tion> <iframe allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true" id="contentframe" height="" width="100%" src="" style='margin-left:0px;margin-right:0px'></ifra)
(#1) HTML Validation error, line 4: Bad value “” for attribute “height” on element “iframe”: The empty string is not a valid non-negative integer. (tion> <iframe allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true" id="contentframe" height="" width="100%" src="" style='margin-left:0px;margin-right:0px'></ifra)
(#1) HTML Validation error, line 4: Bad value “100%” for attribute “width” on element “iframe”: Expected a digit but saw “%” instead. (tion> <iframe allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true" id="contentframe" height="" width="100%" src="" style='margin-left:0px;margin-right:0px'></ifra)
(#1) HTML Validation error, line 4: Bad value “” for attribute “src” on element “iframe”: Must be non-empty. (tion> <iframe allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true" id="contentframe" height="" width="100%" src="" style='margin-left:0px;margin-right:0px'></ifra)
mod/helixmedia/templates/modal.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 2: Element “style” not allowed as child of element “body” in this context. (Suppressing further errors from this subtree.) (ad><body><style type='text/css'> .)
(#1) HTML Validation info, line 2: The “type” attribute for the “style” element is not needed and should be omitted. (ad><body><style type='text/css'> .)
(#1) HTML Validation info, line 11: Empty heading. (> <h4 class="modal-title"></h4>)
(#1) HTML Validation error, line 20: Bad value “true” for attribute “allowfullscreen” on element “iframe”. ( <iframe id="mod_helixmedia_launchframe_" class="embed-responsive-item overflow-auto border-0" allow="microphone ; camera ; display-capture ;" allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true"></if)
(#1) HTML Validation error, line 20: Attribute “webkitallowfullscreen” not allowed on element “iframe” at this point. ( <iframe id="mod_helixmedia_launchframe_" class="embed-responsive-item overflow-auto border-0" allow="microphone ; camera ; display-capture ;" allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true"></if)
(#1) HTML Validation error, line 20: Attribute “mozallowfullscreen” not allowed on element “iframe” at this point. ( <iframe id="mod_helixmedia_launchframe_" class="embed-responsive-item overflow-auto border-0" allow="microphone ; camera ; display-capture ;" allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true"></if)
mod/helixmedia/templates/modalbutton.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 6: Bad value “” for attribute “src” on element “iframe”: Must be non-empty. ( <iframe id="mod_helixmedia_thumbframe_" class="embed-responsive-item border-0" scrolling="no" src=""></ifra)
(#1) HTML Validation error, line 6: The “scrolling” attribute on the “iframe” element is obsolete. Use CSS instead. ( <iframe id="mod_helixmedia_thumbframe_" class="embed-responsive-item border-0" scrolling="no" src=""></ifra)
(#1) HTML Validation error, line 21: Element “style” not allowed as child of element “body” in this context. (Suppressing further errors from this subtree.) (v></div><style type='text/css'> .)
(#1) HTML Validation info, line 21: The “type” attribute for the “style” element is not needed and should be omitted. (v></div><style type='text/css'> .)
(#1) HTML Validation info, line 30: Empty heading. (> <h4 class="modal-title"></h4>)
(#1) HTML Validation error, line 39: Bad value “true” for attribute “allowfullscreen” on element “iframe”. ( <iframe id="mod_helixmedia_launchframe_" class="embed-responsive-item overflow-auto border-0" allow="microphone ; camera ; display-capture ;" allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true"></ifra)
(#1) HTML Validation error, line 39: Attribute “webkitallowfullscreen” not allowed on element “iframe” at this point. ( <iframe id="mod_helixmedia_launchframe_" class="embed-responsive-item overflow-auto border-0" allow="microphone ; camera ; display-capture ;" allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true"></ifra)
(#1) HTML Validation error, line 39: Attribute “mozallowfullscreen” not allowed on element “iframe” at this point. ( <iframe id="mod_helixmedia_launchframe_" class="embed-responsive-item overflow-auto border-0" allow="microphone ; camera ; display-capture ;" allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true"></ifra)
mod/helixmedia/templates/modalinner.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 5: Bad value “true” for attribute “allowfullscreen” on element “iframe”. (ive "> <iframe id="mod_helixmedia_launchframe_" class="embed-responsive-item overflow-auto border-0" allow="microphone ; camera ; display-capture ;" allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true"></ifra)
(#1) HTML Validation error, line 5: Attribute “webkitallowfullscreen” not allowed on element “iframe” at this point. (ive "> <iframe id="mod_helixmedia_launchframe_" class="embed-responsive-item overflow-auto border-0" allow="microphone ; camera ; display-capture ;" allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true"></ifra)
(#1) HTML Validation error, line 5: Attribute “mozallowfullscreen” not allowed on element “iframe” at this point. (ive "> <iframe id="mod_helixmedia_launchframe_" class="embed-responsive-item overflow-auto border-0" allow="microphone ; camera ; display-capture ;" allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true"></ifra)
mod/helixmedia/templates/modallib.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 5: Bad value “” for attribute “src” on element “img”: Must be non-empty. ( <img src='' alt='' title='((openlib%2C+helixmedia))' class="img-fluid pb-1" style='max-width:40px'/> )
(#1) HTML Validation info, line 5: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. ( <img src='' alt='' title='((openlib%2C+helixmedia))' class="img-fluid pb-1" style='max-width:40px'/> )
mod/helixmedia/templates/modallink.mustache
(#1) Example context missing (@template section not found.)
mod/helixmedia/templates/view.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 4: Bad value “true” for attribute “allowfullscreen” on element “iframe”. (style=''><iframe allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true" class="embed-responsive-item overflow-auto border-0" src=""></ifra)
(#1) HTML Validation error, line 4: Attribute “webkitallowfullscreen” not allowed on element “iframe” at this point. (style=''><iframe allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true" class="embed-responsive-item overflow-auto border-0" src=""></ifra)
(#1) HTML Validation error, line 4: Attribute “mozallowfullscreen” not allowed on element “iframe” at this point. (style=''><iframe allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true" class="embed-responsive-item overflow-auto border-0" src=""></ifra)
(#1) HTML Validation error, line 4: Bad value “” for attribute “src” on element “iframe”: Must be non-empty. (style=''><iframe allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true" class="embed-responsive-item overflow-auto border-0" src=""></ifra)
mod/helixmedia/templates/viewwindow.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation info, line 2: The “type” attribute is unnecessary for JavaScript resources. (ad><body><script type="text/javascript">windo)

Gherkin .feature problems

(0 errors, 0 warnings)

This section shows problems detected in behat .feature files [More info]