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

(1356 errors, 157 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
(#2) The opening <?php tag must be followed by exactly one newline.
(#45) Inline comments must end in full-stops, exclamation marks, or question marks
(#46) Expected 1 space before "="; 0 found
(#46) Expected 1 space after "="; 0 found
(#47) Expected 1 space before "="; 0 found
(#49) Inline comments must end in full-stops, exclamation marks, or question marks
(#50) Expected 1 space before "="; 0 found
(#50) Expected 1 space after "="; 0 found
(#51) Expected 1 space before "="; 0 found
mod/helixmedia/backup/moodle2/backup_helixmedia_stepslib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#22) Inline comments must end in full-stops, exclamation marks, or question marks
(#25) Inline comments must end in full-stops, exclamation marks, or question marks
(#44) Inline comments must end in full-stops, exclamation marks, or question marks
(#44) This comment is 50% valid code; is this commented out code?
(#46) Inline comments must end in full-stops, exclamation marks, or question marks
(#50) Inline comments must end in full-stops, exclamation marks, or question marks
(#52) Inline comments must end in full-stops, exclamation marks, or question marks
mod/helixmedia/backup/moodle2/restore_helixmedia_activity_task.class.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#15) Inline comments must end in full-stops, exclamation marks, or question marks
(#27) Inline comments must end in full-stops, exclamation marks, or question marks
(#34) Inline comments must start with a capital letter, digit or 3-dots sequence
(#34) Inline comments must end in full-stops, exclamation marks, or question marks
mod/helixmedia/backup/moodle2/restore_helixmedia_stepslib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#27) Inline comments must end in full-stops, exclamation marks, or question marks
(#42) Line exceeds 132 characters; contains 134 characters
(#44) Variable "next_preid" must not contain underscores.
(#44) Expected 1 space before "="; 0 found
(#44) Expected 1 space after "="; 0 found
(#45) Variable "next_preid" must not contain underscores.
(#46) Expected 1 space before "=>"; 0 found
(#46) Expected 1 space after "=>"; 0 found
(#46) Variable "next_preid" must not contain underscores.
(#47) Variable "next_preid" must not contain underscores.
(#47) Expected 1 space before "="; 0 found
(#47) Expected 1 space after "="; 0 found
(#49) Expected 1 space before "=>"; 0 found
(#49) Expected 1 space after "=>"; 0 found
(#49) Variable "next_preid" must not contain underscores.
(#51) Inline comments must start with a capital letter, digit or 3-dots sequence
(#51) Inline comments must end in full-stops, exclamation marks, or question marks
(#56) Inline comments must end in full-stops, exclamation marks, or question marks
mod/helixmedia/classes/event/lti_launch.php
(#80) Line exceeds 132 characters; contains 139 characters
(#89) Line exceeds 132 characters; contains 159 characters
mod/helixmedia/classes/event/lti_launch_edit.php
(#80) Line exceeds 132 characters; contains 137 characters
(#89) Line exceeds 132 characters; contains 161 characters
mod/helixmedia/classes/search/activity.php
(#68) Inline comments must start with a capital letter, digit or 3-dots sequence
(#68) Inline comments must end in full-stops, exclamation marks, or question marks
(#68) This comment is 70% valid code; is this commented out code?
(#68) No space found before comment text; expected "// content_to_text($record->content, $record->contentformat));" but found "//content_to_text($record->content, $record->contentformat));"
mod/helixmedia/container.php
(#1) The first thing in a PHP file must be the <?php tag.
(#17) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.
(#20) Inline comments must end in full-stops, exclamation marks, or question marks
(#22) Inline comments must end in full-stops, exclamation marks, or question marks
(#27) Variable "n_assign" must not contain underscores.
(#28) Variable "e_assign" must not contain underscores.
(#29) Variable "n_feed" must not contain underscores.
(#30) Variable "e_feed" must not contain underscores.
(#36) Inline control structures are not allowed
(#36) Expected 1 space before ">"; 0 found
(#36) Expected 1 space after ">"; 0 found
(#37) Expected 1 space before "="; 0 found
(#37) Expected 1 space after "="; 0 found
(#39) Inline control structures are not allowed
(#39) Expected 1 space before ">"; 0 found
(#39) Expected 1 space after ">"; 0 found
(#40) Expected 1 space before "="; 0 found
(#40) Expected 1 space after "="; 0 found
(#42) Inline control structures are not allowed
(#42) Variable "n_assign" must not contain underscores.
(#42) Expected 1 space before ">"; 0 found
(#42) Expected 1 space after ">"; 0 found
(#43) Expected 1 space before "="; 0 found
(#43) Expected 1 space after "="; 0 found
(#43) Variable "n_assign" must not contain underscores.
(#45) Inline control structures are not allowed
(#45) Variable "e_assign" must not contain underscores.
(#45) Expected 1 space before ">"; 0 found
(#45) Expected 1 space after ">"; 0 found
(#46) Expected 1 space before "="; 0 found
(#46) Expected 1 space after "="; 0 found
(#46) Variable "e_assign" must not contain underscores.
(#48) Inline control structures are not allowed
(#48) Variable "n_feed" must not contain underscores.
(#48) Expected 1 space before ">"; 0 found
(#48) Expected 1 space after ">"; 0 found
(#49) Expected 1 space before "="; 0 found
(#49) Expected 1 space after "="; 0 found
(#49) Variable "n_feed" must not contain underscores.
(#51) Inline control structures are not allowed
(#51) Variable "e_feed" must not contain underscores.
(#51) Expected 1 space before ">"; 0 found
(#51) Expected 1 space after ">"; 0 found
(#52) Expected 1 space before "="; 0 found
(#52) Expected 1 space after "="; 0 found
(#52) Variable "e_feed" must not contain underscores.
(#54) Inline control structures are not allowed
(#54) Expected 1 space before ">"; 0 found
(#54) Expected 1 space after ">"; 0 found
(#55) Expected 1 space before "="; 0 found
(#55) Expected 1 space after "="; 0 found
(#57) Inline control structures are not allowed
(#57) Expected 1 space before ">"; 0 found
(#57) Expected 1 space after ">"; 0 found
(#58) Expected 1 space before "="; 0 found
(#58) Expected 1 space after "="; 0 found
(#60) Inline control structures are not allowed
(#60) Expected 1 space before ">"; 0 found
(#60) Expected 1 space after ">"; 0 found
(#61) Expected 1 space before "="; 0 found
(#61) Expected 1 space after "="; 0 found
(#63) Inline control structures are not allowed
(#63) Expected 1 space before ">"; 0 found
(#63) Expected 1 space after ">"; 0 found
(#64) Expected 1 space before "="; 0 found
(#64) Expected 1 space after "="; 0 found
(#66) Inline control structures are not allowed
(#66) Expected 1 space before ">"; 0 found
(#66) Expected 1 space after ">"; 0 found
(#67) Expected 1 space before "="; 0 found
(#67) Expected 1 space after "="; 0 found
(#69) Expected 1 space before "="; 0 found
(#69) Expected 1 space after "="; 0 found
(#69) Expected 1 space before "-"; 0 found
(#69) Expected 1 space after "-"; 0 found
(#70) Expected 1 space before "="; 0 found
(#70) Expected 1 space after "="; 0 found
(#70) Expected 1 space before "-"; 0 found
(#70) Expected 1 space after "-"; 0 found
(#72) Variable "launch_url" must not contain underscores.
(#73) Variable "launch_url" must not contain underscores.
(#73) Variable "launch_url" must not contain underscores.
mod/helixmedia/db/log.php
(#30) Expected 1 space before "=>"; 0 found
(#30) Expected 1 space after "=>"; 0 found
(#30) Expected 1 space before "=>"; 0 found
(#30) Expected 1 space after "=>"; 0 found
(#30) Expected 1 space before "=>"; 0 found
(#30) Expected 1 space after "=>"; 0 found
(#30) Expected 1 space before "=>"; 0 found
(#30) Expected 1 space after "=>"; 0 found
(#31) Expected 1 space before "=>"; 0 found
(#31) Expected 1 space after "=>"; 0 found
(#31) Expected 1 space before "=>"; 0 found
(#31) Expected 1 space after "=>"; 0 found
(#31) Expected 1 space before "=>"; 0 found
(#31) Expected 1 space after "=>"; 0 found
(#31) Expected 1 space before "=>"; 0 found
(#31) Expected 1 space after "=>"; 0 found
(#32) Expected 1 space before "=>"; 0 found
(#32) Expected 1 space after "=>"; 0 found
(#32) Expected 1 space before "=>"; 0 found
(#32) Expected 1 space after "=>"; 0 found
(#32) Expected 1 space before "=>"; 0 found
(#32) Expected 1 space after "=>"; 0 found
(#32) Expected 1 space before "=>"; 0 found
(#32) Expected 1 space after "=>"; 0 found
(#33) Expected 1 space before "=>"; 0 found
(#33) Expected 1 space after "=>"; 0 found
(#33) Expected 1 space before "=>"; 0 found
(#33) Expected 1 space after "=>"; 0 found
(#33) Expected 1 space before "=>"; 0 found
(#33) Expected 1 space after "=>"; 0 found
(#33) Expected 1 space before "=>"; 0 found
(#33) Expected 1 space after "=>"; 0 found
(#34) Expected 1 space before "=>"; 0 found
(#34) Expected 1 space after "=>"; 0 found
(#34) Expected 1 space before "=>"; 0 found
(#34) Expected 1 space after "=>"; 0 found
(#34) Expected 1 space before "=>"; 0 found
(#34) Expected 1 space after "=>"; 0 found
(#34) Expected 1 space before "=>"; 0 found
(#34) Expected 1 space after "=>"; 0 found
mod/helixmedia/db/upgrade.php
(#47) Inline doc block comments are not allowed; use "// Comment." instead
(#49) Inline doc block comments are not allowed; use "// Comment." instead
(#59) Inline doc block comments are not allowed; use "// Comment." instead
mod/helixmedia/hml_form_js.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#13) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.
(#43) Whitespace found at end of line
(#44) Variable "mod_config" must not contain underscores.
(#44) Expected 1 space before "="; 0 found
(#44) Expected 1 space after "="; 0 found
(#45) Variable "mod_config" must not contain underscores.
(#46) Inline control structures are not allowed
(#46) Expected 1 space before "=="; 0 found
(#46) Expected 1 space after "=="; 0 found
(#48) Line indented incorrectly; expected 0 spaces, found 4
(#48) Inline control structures are not allowed
(#48) Expected 1 space before ">"; 0 found
(#48) Expected 1 space after ">"; 0 found
(#49) Expected 1 space before "*"; 0 found
(#49) Expected 1 space after "*"; 0 found
mod/helixmedia/index.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#14) Inline comments must start with a capital letter, digit or 3-dots sequence
(#14) Inline comments must end in full-stops, exclamation marks, or question marks
(#16) Expected 1 space before "=>"; 0 found
(#16) Expected 1 space after "=>"; 0 found
(#21) Line exceeds 132 characters; contains 133 characters
(#32) Inline comments must end in full-stops, exclamation marks, or question marks
(#35) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) Inline comments must end in full-stops, exclamation marks, or question marks
(#59) Inline comments must end in full-stops, exclamation marks, or question marks
(#59) No space found before comment text; expected "// Show dimmed if the mod is hidden" but found "//Show dimmed if the mod is hidden"
(#62) Inline comments must end in full-stops, exclamation marks, or question marks
(#62) No space found before comment text; expected "// Show normal if the mod is visible" but found "//Show normal if the mod is visible"
(#67) Inline comments must end in full-stops, exclamation marks, or question marks
(#67) No space found before comment text; expected "// MDL2.4+ works slightly differently here" but found "//MDL2.4+ works slightly differently here"
(#68) Inline control structures are not allowed
(#68) Expected 1 space before ">="; 0 found
(#68) Expected 1 space after ">="; 0 found
(#70) Inline control structures are not allowed
(#81) Inline comments must end in full-stops, exclamation marks, or question marks
mod/helixmedia/lang/en/helixmedia.php
(#2) The opening <?php tag must be followed by exactly one newline.
mod/helixmedia/launch.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#3) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#3) Line 7 of the opening comment must start "//".
(#4) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#5) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#5) Line 12 of the opening comment must start "//".
(#5) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#5) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#11) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#24) No space found before comment text; expected "// Course module ID" but found "//Course module ID"
(#25) Inline comments must end in full-stops, exclamation marks, or question marks
(#27) Inline comments must end in full-stops, exclamation marks, or question marks
(#27) No space found before comment text; expected "// Assignment course module ID" but found "//Assignment course module ID"
(#30) No space found before comment text; expected "// HML preid, only used here for a Fake launch for new instances" but found "//HML preid, only used here for a Fake launch for new instances"
(#31) Inline comments must end in full-stops, exclamation marks, or question marks
(#33) Inline comments must end in full-stops, exclamation marks, or question marks
(#33) No space found before comment text; expected "// Hidden option to force debug lanuch" but found "//Hidden option to force debug lanuch"
(#36) No space found before comment text; expected "// Course ID" but found "//Course ID"
(#37) No space found before comment text; expected "// Note using $COURSE->id here seems to give random results." but found "//Note using $COURSE->id here seems to give random results."
(#40) Expected 1 space before "="; 0 found
(#40) Expected 1 space after "="; 0 found
(#41) Inline control structures are not allowed
(#42) Expected 1 space before "="; 0 found
(#42) Expected 1 space after "="; 0 found
(#43) Inline control structures are not allowed
(#44) Expected 1 space before "="; 0 found
(#44) Expected 1 space after "="; 0 found
(#46) Expected 1 space before "="; 0 found
(#46) Expected 1 space after "="; 0 found
(#50) Inline comments must end in full-stops, exclamation marks, or question marks
(#50) No space found before comment text; expected "// New assignment submission ID" but found "//New assignment submission ID"
(#51) Variable "n_assign" must not contain underscores.
(#53) Inline comments must end in full-stops, exclamation marks, or question marks
(#53) No space found before comment text; expected "// Existing assignment submission ID" but found "//Existing assignment submission ID"
(#54) Variable "e_assign" must not contain underscores.
(#56) Inline comments must end in full-stops, exclamation marks, or question marks
(#56) No space found before comment text; expected "// New feedback ID" but found "//New feedback ID"
(#57) Variable "n_feed" must not contain underscores.
(#59) Inline comments must end in full-stops, exclamation marks, or question marks
(#59) No space found before comment text; expected "// Existing feedback ID" but found "//Existing feedback ID"
(#60) Variable "e_feed" must not contain underscores.
(#62) Inline comments must end in full-stops, exclamation marks, or question marks
(#62) No space found before comment text; expected "// User ID for student submission viewing" but found "//User ID for student submission viewing"
(#65) Inline comments must end in full-stops, exclamation marks, or question marks
(#65) No space found before comment text; expected "// Launch type" but found "//Launch type"
(#66) Whitespace found at end of line
(#68) Inline comments must end in full-stops, exclamation marks, or question marks
(#68) No space found before comment text; expected "// Used for migration only" but found "//Used for migration only"
(#71) Inline comments must end in full-stops, exclamation marks, or question marks
(#71) No space found before comment text; expected "// Base64 encoded return URL" but found "//Base64 encoded return URL"
(#74) Inline comments must end in full-stops, exclamation marks, or question marks
(#74) No space found before comment text; expected "// Item name" but found "//Item name"
(#77) Inline comments must end in full-stops, exclamation marks, or question marks
(#77) No space found before comment text; expected "// Item Intro text" but found "//Item Intro text"
(#80) Inline control structures are not allowed
(#80) Expected 1 space before ">"; 0 found
(#80) Expected 1 space after ">"; 0 found
(#81) Expected 1 space before "="; 0 found
(#81) Expected 1 space after "="; 0 found
(#84) Expected 1 space before "="; 0 found
(#84) Expected 1 space after "="; 0 found
(#85) Expected 1 space before "="; 0 found
(#85) Expected 1 space after "="; 0 found
(#87) Variable "n_assign" must not contain underscores.
(#87) Variable "n_feed" must not contain underscores.
(#87) Expected 1 space before "=="; 0 found
(#87) Expected 1 space after "=="; 0 found
(#87) Expected 1 space before "=="; 0 found
(#87) Expected 1 space after "=="; 0 found
(#88) Expected 1 space before "=="; 0 found
(#88) Expected 1 space after "=="; 0 found
(#88) Expected 1 space before "=="; 0 found
(#88) Expected 1 space after "=="; 0 found
(#91) Expected 1 space before "="; 0 found
(#91) Expected 1 space after "="; 0 found
(#94) Inline control structures are not allowed
(#95) Expected 1 space before "="; 0 found
(#95) Expected 1 space after "="; 0 found
(#97) Inline control structures are not allowed
(#97) Variable "n_assign" must not contain underscores.
(#98) Expected 1 space before "="; 0 found
(#98) Expected 1 space after "="; 0 found
(#98) Variable "n_assign" must not contain underscores.
(#100) Inline control structures are not allowed
(#100) Variable "n_feed" must not contain underscores.
(#101) Expected 1 space before "="; 0 found
(#101) Expected 1 space after "="; 0 found
(#101) Variable "n_feed" must not contain underscores.
(#103) Expected "if (...) {\n"; found "if (...)\n {\n"
(#103) Expected 1 space before "=="; 0 found
(#103) Expected 1 space after "=="; 0 found
(#105) Expected 1 space before "="; 0 found
(#105) Expected 1 space after "="; 0 found
(#112) Expected "if (...) {\n"; found "if (...)\n {\n"
(#112) Expected 1 space before "=="; 0 found
(#112) Expected 1 space after "=="; 0 found
(#112) Expected 1 space before "=="; 0 found
(#112) Expected 1 space after "=="; 0 found
(#121) Expected 1 space before "="; 0 found
(#121) Expected 1 space after "="; 0 found
(#123) Expected "if (...) {\n"; found "if (...)\n {\n"
(#126) Inline comments must end in full-stops, exclamation marks, or question marks
(#137) Expected "} else {\n"; found "}\n else\n {\n"
(#139) Inline comments must end in full-stops, exclamation marks, or question marks
(#140) Expected "if (...) {\n"; found "if (...)\n {\n"
(#140) Expected 1 space before "=="; 0 found
(#140) Expected 1 space after "=="; 0 found
(#142) Expected 1 space before "="; 0 found
(#142) Expected 1 space after "="; 0 found
(#143) Expected 1 space before "="; 0 found
(#143) Expected 1 space after "="; 0 found
(#144) Expected "if (...) {\n"; found "if (...)\n {\n"
(#144) Expected 1 space before "=="; 0 found
(#144) Expected 1 space after "=="; 0 found
(#146) Expected 1 space before "="; 0 found
(#146) Expected 1 space after "="; 0 found
(#147) Expected 1 space before "="; 0 found
(#147) Expected 1 space after "="; 0 found
(#149) Expected "} else if (...) {\n"; found "}\n else\n if (...)\n {\n"
(#150) Expected "if (...) {\n"; found "if (...)\n {\n"
(#150) Expected 1 space before "=="; 0 found
(#150) Expected 1 space after "=="; 0 found
(#152) Expected 1 space before "="; 0 found
(#152) Expected 1 space after "="; 0 found
(#153) Expected 1 space before "="; 0 found
(#153) Expected 1 space after "="; 0 found
(#160) Expected 1 space before "="; 0 found
(#160) Expected 1 space after "="; 0 found
(#161) Expected 1 space before "="; 0 found
(#161) Expected 1 space after "="; 0 found
(#162) Expected "if (...) {\n"; found "if (...)\n {\n"
(#162) Expected 1 space before "=="; 0 found
(#162) Expected 1 space after "=="; 0 found
(#164) Expected 1 space before "="; 0 found
(#164) Expected 1 space after "="; 0 found
(#165) Expected 1 space before "="; 0 found
(#165) Expected 1 space after "="; 0 found
(#167) Expected "} else if (...) {\n"; found "}\n else\n if (...)\n {\n"
(#168) Expected "if (...) {\n"; found "if (...)\n {\n"
(#168) Expected 1 space before "=="; 0 found
(#168) Expected 1 space after "=="; 0 found
(#170) Expected 1 space before "="; 0 found
(#170) Expected 1 space after "="; 0 found
(#171) Expected 1 space before "="; 0 found
(#171) Expected 1 space after "="; 0 found
(#185) Expected 1 space before "="; 0 found
(#185) Expected 1 space after "="; 0 found
(#186) Expected 1 space before "="; 0 found
(#186) Expected 1 space after "="; 0 found
(#187) Expected 1 space before "="; 0 found
(#187) Expected 1 space after "="; 0 found
(#188) Expected 1 space before "="; 0 found
(#188) Expected 1 space after "="; 0 found
(#189) Expected 1 space before "="; 0 found
(#189) Expected 1 space after "="; 0 found
(#190) Expected 1 space before "="; 0 found
(#190) Expected 1 space after "="; 0 found
(#191) Expected 1 space before "="; 0 found
(#191) Expected 1 space after "="; 0 found
(#191) Whitespace found at end of line
(#192) Expected 1 space before "="; 0 found
(#192) Expected 1 space after "="; 0 found
(#193) Expected 1 space before "="; 0 found
(#193) Expected 1 space after "="; 0 found
(#194) Expected 1 space before "="; 0 found
(#194) Expected 1 space after "="; 0 found
(#196) Expected "if (...) {\n"; found "if (...)\n {\n"
(#198) Expected 1 space before "="; 0 found
(#198) Expected 1 space after "="; 0 found
(#199) Expected 1 space before "="; 0 found
(#199) Expected 1 space after "="; 0 found
(#200) Expected 1 space before "="; 0 found
(#200) Expected 1 space after "="; 0 found
(#201) Expected 1 space before "="; 0 found
(#201) Expected 1 space after "="; 0 found
(#202) Expected 1 space before "="; 0 found
(#202) Expected 1 space after "="; 0 found
(#204) Expected "} else {\n"; found "}\n else\n {\n"
(#206) Expected 1 space before ">"; 0 found
(#206) Expected 1 space after ">"; 0 found
(#207) Expected 1 space before "="; 0 found
(#207) Expected 1 space after "="; 0 found
(#209) Expected 1 space before "="; 0 found
(#209) Expected 1 space after "="; 0 found
(#211) Expected 1 space before ">"; 0 found
(#211) Expected 1 space after ">"; 0 found
(#212) Expected 1 space before "="; 0 found
(#212) Expected 1 space after "="; 0 found
(#217) Inline control structures are not allowed
(#219) Inline control structures are not allowed
(#225) Expected "if (...) {\n"; found "if (...)\n {\n"
(#228) Expected 1 space before "="; 0 found
(#228) Expected 1 space after "="; 0 found
(#233) Expected "} else if (...) {\n"; found "}\n else\n if (...)\n {\n"
(#234) Expected "if (...) {\n"; found "if (...)\n {\n"
(#234) Variable "e_assign" must not contain underscores.
(#236) Variable "hml_assign" must not contain underscores.
(#236) Expected 1 space before "="; 0 found
(#236) Expected 1 space after "="; 0 found
(#236) Variable "e_assign" must not contain underscores.
(#237) Expected 1 space before "="; 0 found
(#237) Expected 1 space after "="; 0 found
(#237) Variable "hml_assign" must not contain underscores.
(#239) Expected 1 space before "="; 0 found
(#239) Expected 1 space after "="; 0 found
(#241) Variable "hml_assign" must not contain underscores.
(#242) Variable "hml_assign" must not contain underscores.
(#245) Expected "} else if (...) {\n"; found "}\n else\n if (...)\n {\n"
(#246) Expected "if (...) {\n"; found "if (...)\n {\n"
(#246) Variable "e_feed" must not contain underscores.
(#248) Variable "hml_feed" must not contain underscores.
(#248) Expected 1 space before "="; 0 found
(#248) Expected 1 space after "="; 0 found
(#248) Variable "e_feed" must not contain underscores.
(#249) Expected 1 space before "="; 0 found
(#249) Expected 1 space after "="; 0 found
(#249) Variable "hml_feed" must not contain underscores.
(#251) Expected 1 space before "="; 0 found
(#251) Expected 1 space after "="; 0 found
(#253) Variable "hml_feed" must not contain underscores.
(#254) Variable "hml_feed" must not contain underscores.
(#257) Expected "} else {\n"; found "}\n else\n {\n"
(#264) Whitespace found at end of line
(#265) Inline control structures are not allowed
(#267) Inline control structures are not allowed
(#275) Inline comments must end in full-stops, exclamation marks, or question marks
(#275) No space found before comment text; expected "// Do some permissions stuff" but found "//Do some permissions stuff"
(#276) Expected 1 space before "="; 0 found
(#276) Expected 1 space after "="; 0 found
(#279) Inline comments must start with a capital letter, digit or 3-dots sequence
(#279) Inline comments must end in full-stops, exclamation marks, or question marks
(#279) This comment is 75% valid code; is this commented out code?
(#279) No space found before comment text; expected "// $cap="moodle/restore:restoreactivity";" but found "//$cap="moodle/restore:restoreactivity";"
(#287) Expected 1 space before "="; 0 found
(#287) Expected 1 space after "="; 0 found
(#291) Expected 1 space before "="; 0 found
(#291) Expected 1 space after "="; 0 found
(#294) Expected 1 space before "="; 0 found
(#294) Expected 1 space after "="; 0 found
(#299) Expected 1 space before "="; 0 found
(#299) Expected 1 space after "="; 0 found
(#305) Expected 1 space before "="; 0 found
(#305) Expected 1 space after "="; 0 found
(#309) Expected 1 space before "=="; 0 found
(#309) Expected 1 space after "=="; 0 found
(#316) Variable "mod_config" must not contain underscores.
(#316) Expected 1 space before "="; 0 found
(#316) Expected 1 space after "="; 0 found
(#317) Variable "mod_config" must not contain underscores.
(#317) Variable "mod_config" must not contain underscores.
(#318) Variable "mod_config" must not contain underscores.
(#318) Variable "mod_config" must not contain underscores.
(#323) Inline comments must end in full-stops, exclamation marks, or question marks
(#323) No space found before comment text; expected "// Do the logging" but found "//Do the logging"
(#324) Expected "if (...) {\n"; found "if (...)\n{\n"
(#324) Expected 1 space before "=="; 0 found
(#324) Expected 1 space after "=="; 0 found
(#324) Expected 1 space before "=="; 0 found
(#324) Expected 1 space after "=="; 0 found
(#326) Variable "logURL" must be all lower-case
(#326) Expected 1 space before "="; 0 found
(#326) Expected 1 space after "="; 0 found
(#328) Expected 1 space before "=="; 0 found
(#328) Expected 1 space after "=="; 0 found
(#335) Expected "} else {\n"; found "}\n else {\n"
(#356) Expected 1 space before "="; 0 found
(#356) Expected 1 space after "="; 0 found
(#363) Inline control structures are not allowed
(#363) Expected 1 space before "=="; 0 found
(#363) Expected 1 space after "=="; 0 found
(#363) Expected 1 space before "=="; 0 found
(#363) Expected 1 space after "=="; 0 found
(#364) Expected 1 space before "="; 0 found
(#364) Expected 1 space after "="; 0 found
(#366) Expected 1 space before "=="; 0 found
(#366) Expected 1 space after "=="; 0 found
(#366) Expected 1 space before ">="; 0 found
(#366) Expected 1 space after ">="; 0 found
(#367) Line indented incorrectly; expected at least 4 spaces, found 3
mod/helixmedia/lib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#29) Closing brace must be on a line by itself
(#30) Closing brace must be on a line by itself
(#31) Closing brace must be on a line by itself
(#32) Closing brace must be on a line by itself
(#33) Closing brace must be on a line by itself
(#34) Closing brace must be on a line by itself
(#36) Closing brace must be on a line by itself
(#43) Whitespace found at end of line
(#44) Expected 1 space before "="; 0 found
(#44) Expected 1 space after "="; 0 found
(#52) Expected "if (...) {\n"; found "if (...){\n"
(#53) Expected 1 space before "="; 0 found
(#53) Expected 1 space after "="; 0 found
(#54) Inline comments must end in full-stops, exclamation marks, or question marks
(#54) No space found before comment text; expected "// Check the activity mod" but found "//Check the activity mod"
(#55) Expected 1 space before "="; 0 found
(#55) Expected 1 space after "="; 0 found
(#56) Expected 1 space before "="; 0 found
(#56) Expected 1 space after "="; 0 found
(#57) Inline control structures are not allowed
(#58) Expected 1 space before "="; 0 found
(#58) Expected 1 space after "="; 0 found
(#59) Inline comments must end in full-stops, exclamation marks, or question marks
(#59) No space found before comment text; expected "// Check the Submissions" but found "//Check the Submissions"
(#60) Variable "assign_installed" must not contain underscores.
(#60) Expected 1 space before "="; 0 found
(#60) Expected 1 space after "="; 0 found
(#61) Variable "assign_installed" must not contain underscores.
(#61) Expected 1 space before ">"; 0 found
(#61) Expected 1 space after ">"; 0 found
(#62) Expected 1 space before "="; 0 found
(#62) Expected 1 space after "="; 0 found
(#63) Expected 1 space before "="; 0 found
(#63) Expected 1 space after "="; 0 found
(#64) Inline control structures are not allowed
(#64) Expected 1 space before ">"; 0 found
(#64) Expected 1 space after ">"; 0 found
(#65) Expected 1 space before "="; 0 found
(#65) Expected 1 space after "="; 0 found
(#67) Inline comments must end in full-stops, exclamation marks, or question marks
(#67) No space found before comment text; expected "// Check the Feedback" but found "//Check the Feedback"
(#68) Variable "feed_installed" must not contain underscores.
(#68) Expected 1 space before "="; 0 found
(#68) Expected 1 space after "="; 0 found
(#69) Variable "feed_installed" must not contain underscores.
(#69) Expected 1 space before ">"; 0 found
(#69) Expected 1 space after ">"; 0 found
(#70) Expected 1 space before "="; 0 found
(#70) Expected 1 space after "="; 0 found
(#71) Expected 1 space before "="; 0 found
(#71) Expected 1 space after "="; 0 found
(#72) Inline control structures are not allowed
(#72) Expected 1 space before ">"; 0 found
(#72) Expected 1 space after ">"; 0 found
(#73) Expected 1 space before "="; 0 found
(#73) Expected 1 space after "="; 0 found
(#76) Whitespace found at end of line
(#82) Expected 1 space before "="; 0 found
(#82) Expected 1 space after "="; 0 found
(#82) Expected 1 space before "/"; 0 found
(#82) Expected 1 space after "/"; 0 found
(#82) Expected 1 space before "+"; 0 found
(#82) Expected 1 space after "+"; 0 found
(#85) Expected 1 space before "="; 0 found
(#85) Expected 1 space after "="; 0 found
(#114) Variable "pre_rec" must not contain underscores.
(#114) Expected 1 space before "="; 0 found
(#114) Expected 1 space after "="; 0 found
(#114) Expected 1 space before "=>"; 0 found
(#114) Expected 1 space after "=>"; 0 found
(#118) Variable "pre_rec" must not contain underscores.
(#129) Expected 1 space before "="; 0 found
(#129) Expected 1 space after "="; 0 found
(#130) Expected 1 space before "="; 0 found
(#130) Expected 1 space after "="; 0 found
(#193) This comment is 41% valid code; is this commented out code?
(#260) Inline comments must end in full-stops, exclamation marks, or question marks
(#260) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#273) Variable "pre_recs" must not contain underscores.
(#273) Expected 1 space before "="; 0 found
(#273) Expected 1 space after "="; 0 found
(#277) Inline control structures are not allowed
(#277) Variable "pre_recs" must not contain underscores.
(#277) Expected 1 space before "<"; 0 found
(#277) Expected 1 space after "<"; 0 found
(#280) Line exceeds 132 characters; contains 133 characters
(#280) Inline comments must end in full-stops, exclamation marks, or question marks
(#280) No space found before comment text; expected "// Remove the last element so that the most recent preid value always explicitly remains in the database for the benefit of InnoDB" but found "//Remove the last element so that the most recent preid value always explicitly remains in the database for the benefit of InnoDB"
(#281) Variable "pre_recs" must not contain underscores.
(#283) Variable "assign_installed" must not contain underscores.
(#283) Expected 1 space before "="; 0 found
(#283) Expected 1 space after "="; 0 found
(#284) Inline control structures are not allowed
(#284) Variable "assign_installed" must not contain underscores.
(#284) Expected 1 space before ">"; 0 found
(#284) Expected 1 space after ">"; 0 found
(#285) Variable "assign_installed" must not contain underscores.
(#285) Expected 1 space before "="; 0 found
(#285) Expected 1 space after "="; 0 found
(#287) Variable "feed_installed" must not contain underscores.
(#287) Expected 1 space before "="; 0 found
(#287) Expected 1 space after "="; 0 found
(#288) Inline control structures are not allowed
(#288) Variable "feed_installed" must not contain underscores.
(#288) Expected 1 space before ">"; 0 found
(#288) Expected 1 space after ">"; 0 found
(#289) Variable "assign_installed" must not contain underscores.
(#289) Expected 1 space before "="; 0 found
(#289) Expected 1 space after "="; 0 found
(#291) Variable "pre_recs" must not contain underscores.
(#291) Variable "pre_rec" must not contain underscores.
(#292) Expected 1 space before "="; 0 found
(#292) Expected 1 space after "="; 0 found
(#292) Expected 1 space before "=>"; 0 found
(#292) Variable "pre_rec" must not contain underscores.
(#293) Inline control structures are not allowed
(#293) Variable "assign_installed" must not contain underscores.
(#294) Expected 1 space before "="; 0 found
(#294) Expected 1 space after "="; 0 found
(#294) Expected 1 space before "=>"; 0 found
(#294) Variable "pre_rec" must not contain underscores.
(#295) Inline control structures are not allowed
(#295) Variable "feed_installed" must not contain underscores.
(#296) Expected 1 space before "="; 0 found
(#296) Expected 1 space after "="; 0 found
(#296) Expected 1 space before "=>"; 0 found
(#296) Variable "pre_rec" must not contain underscores.
(#299) Inline control structures are not allowed
(#299) Variable "pre_rec" must not contain underscores.
(#299) Expected 1 space before "+"; 0 found
(#299) Expected 1 space after "+"; 0 found
(#300) Expected 1 space before "=>"; 0 found
(#300) Expected 1 space after "=>"; 0 found
(#300) Variable "pre_rec" must not contain underscores.
mod/helixmedia/locallib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#13) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#16) Inline comments must end in full-stops, exclamation marks, or question marks
(#16) No space found before comment text; expected "// Activity types" but found "//Activity types"
(#21) Inline comments must end in full-stops, exclamation marks, or question marks
(#21) No space found before comment text; expected "// Special type for migration from the repository module" but found "//Special type for migration from the repository module"
(#24) Inline comments must end in full-stops, exclamation marks, or question marks
(#24) No space found before comment text; expected "// Assignment submission types" but found "//Assignment submission types"
(#31) Inline comments must end in full-stops, exclamation marks, or question marks
(#31) No space found before comment text; expected "// TinyMCE types. Do not change these values, they are embedded in the TinyMCE plugin html code" but found "//TinyMCE types. Do not change these values, they are embedded in the TinyMCE plugin html code"
(#35) Inline comments must end in full-stops, exclamation marks, or question marks
(#35) No space found before comment text; expected "// Submission Feedback types" but found "//Submission Feedback types"
(#39) Inline comments must end in full-stops, exclamation marks, or question marks
(#39) No space found before comment text; expected "// Submission Feedback types" but found "//Submission Feedback types"
(#43) Inline comments must end in full-stops, exclamation marks, or question marks
(#43) No space found before comment text; expected "// ATTO Types. Do not change these values, they are embedded in the ATTO plugin html code" but found "//ATTO Types. Do not change these values, they are embedded in the ATTO plugin html code"
(#50) Commas (,) must be followed by white space.
(#65) Variable "mod_config" must not contain underscores.
(#65) Expected 1 space before "="; 0 found
(#65) Expected 1 space after "="; 0 found
(#67) Inline control structures are not allowed
(#68) Expected 1 space before "="; 0 found
(#68) Expected 1 space after "="; 0 found
(#69) Inline control structures are not allowed
(#70) Expected 1 space before "="; 0 found
(#70) Expected 1 space after "="; 0 found
(#72) No space found before comment text; expected "// Check to see if the DB has duplicate preid's for the assignment submission, if it does send an" but found "//Check to see if the DB has duplicate preid's for the assignment submission, if it does send an"
(#73) No space found before comment text; expected "// old version number to trigger the fix for this problem. The check doesn't need to be exhaustive" but found "//old version number to trigger the fix for this problem. The check doesn't need to be exhaustive"
(#74) No space found before comment text; expected "// Either the whole lot will match, or none will." but found "//Either the whole lot will match, or none will."
(#75) Expected "if (...) {\n"; found "if (...)\n {\n"
(#75) Expected 1 space before "=="; 0 found
(#75) Expected 1 space after "=="; 0 found
(#75) Expected 1 space before "=="; 0 found
(#75) Expected 1 space after "=="; 0 found
(#77) Expected 1 space before "="; 0 found
(#77) Expected 1 space after "="; 0 found
(#77) Expected 1 space before "=>"; 0 found
(#77) Expected 1 space after "=>"; 0 found
(#78) Expected 1 space before "="; 0 found
(#78) Expected 1 space after "="; 0 found
(#78) Expected 1 space before "=>"; 0 found
(#78) Expected 1 space after "=>"; 0 found
(#79) Expected 1 space before "="; 0 found
(#79) Expected 1 space after "="; 0 found
(#80) Expected "foreach (...) {\n"; found "foreach(...)\n {\n"
(#82) Expected "if (...) {\n"; found "if (...)\n {\n"
(#82) Expected 1 space before "=="; 0 found
(#82) Expected 1 space after "=="; 0 found
(#84) Expected 1 space before "="; 0 found
(#84) Expected 1 space after "="; 0 found
(#86) Expected "} else {\n"; found "}\n else\n {\n"
(#88) Expected "if (...) {\n"; found "if (...)\n {\n"
(#88) Expected 1 space before "=="; 0 found
(#88) Expected 1 space after "=="; 0 found
(#90) Expected 1 space before "="; 0 found
(#90) Expected 1 space after "="; 0 found
(#97) Inline comments must end in full-stops, exclamation marks, or question marks
(#97) No space found before comment text; expected "// Set up the type config" but found "//Set up the type config"
(#100) Variable "mod_config" must not contain underscores.
(#101) Variable "mod_config" must not contain underscores.
(#103) Variable "mod_config" must not contain underscores.
(#111) Expected 1 space before ".="; 0 found
(#111) Expected 1 space after ".="; 0 found
(#119) Expected 1 space before ".="; 0 found
(#119) Expected 1 space after ".="; 0 found
(#124) Expected 1 space before ".="; 0 found
(#124) Expected 1 space after ".="; 0 found
(#130) Expected 1 space before ".="; 0 found
(#130) Expected 1 space after ".="; 0 found
(#131) Expected 1 space before ".="; 0 found
(#131) Expected 1 space after ".="; 0 found
(#132) Expected 1 space before ".="; 0 found
(#132) Expected 1 space after ".="; 0 found
(#135) Expected 1 space before ".="; 0 found
(#135) Expected 1 space after ".="; 0 found
(#136) Expected 1 space before ".="; 0 found
(#136) Expected 1 space after ".="; 0 found
(#138) Expected 1 space before ".="; 0 found
(#138) Expected 1 space after ".="; 0 found
(#139) Expected 1 space before ".="; 0 found
(#139) Expected 1 space after ".="; 0 found
(#143) Expected 1 space before ".="; 0 found
(#143) Expected 1 space after ".="; 0 found
(#146) Expected 1 space before ".="; 0 found
(#146) Expected 1 space after ".="; 0 found
(#149) Inline control structures are not allowed
(#149) Expected 1 space before ">"; 0 found
(#149) Expected 1 space after ">"; 0 found
(#150) Expected 1 space before ".="; 0 found
(#150) Expected 1 space after ".="; 0 found
(#152) Expected 1 space before ".="; 0 found
(#152) Expected 1 space after ".="; 0 found
(#157) Variable "mod_config" must not contain underscores.
(#159) Inline comments must end in full-stops, exclamation marks, or question marks
(#159) No space found before comment text; expected "// Default the organizationid if not specified" but found "//Default the organizationid if not specified"
(#160) Variable "mod_config" must not contain underscores.
(#161) Variable "mod_config" must not contain underscores.
(#167) Variable "mod_config" must not contain underscores.
(#171) Expected 1 space before "="; 0 found
(#171) Expected 1 space after "="; 0 found
(#171) Expected 1 space before "=>"; 0 found
(#171) Expected 1 space after "=>"; 0 found
(#183) This comment is 70% valid code; is this commented out code?
(#183) Inline comments must start with a capital letter, digit or 3-dots sequence
(#183) No space found before comment text; expected "// if (strlen($ret)>0)" but found "//if (strlen($ret)>0)"
(#184) This comment is 60% valid code; is this commented out code?
(#184) Expected 1 space before comment text but found 4; use block comment if you need indentation
(#185) Inline comments must end in full-stops, exclamation marks, or question marks
(#185) This comment is 100% valid code; is this commented out code?
(#185) No space found before comment text; expected "// break;" but found "//break;"
(#194) Inline control structures are not allowed
(#195) Expected 1 space before "="; 0 found
(#195) Expected 1 space after "="; 0 found
(#196) Inline control structures are not allowed
(#206) Expected 1 space before "=="; 0 found
(#206) Expected 1 space after "=="; 0 found
(#206) Expected 1 space before "=="; 0 found
(#206) Expected 1 space after "=="; 0 found
(#206) Expected 1 space before "=="; 0 found
(#206) Expected 1 space after "=="; 0 found
(#207) Expected 1 space before "="; 0 found
(#207) Expected 1 space after "="; 0 found
(#209) Variable "mod_config" must not contain underscores.
(#209) Variable "mod_config" must not contain underscores.
(#211) Expected "if (...) {\n"; found "if (...)\n {\n"
(#214) Inline doc block comments are not allowed; use "// Comment." instead
(#214) Line exceeds 132 characters; contains 135 characters
(#216) Expected "if (...) {\n"; found "if (...)\n {\n"
(#216) Expected 1 space before ">="; 0 found
(#216) Expected 1 space after ">="; 0 found
(#222) Inline control structures are not allowed
(#223) Expected 1 space before "="; 0 found
(#223) Expected 1 space after "="; 0 found
(#224) This comment is 53% valid code; is this commented out code?
(#224) Line indented incorrectly; expected at least 4 spaces, found 0
(#242) Line indented incorrectly; expected at least 4 spaces, found 0
(#244) Inline control structures are not allowed
(#244) Expected 1 space before "=="; 0 found
(#244) Expected 1 space after "=="; 0 found
(#246) Inline control structures are not allowed
(#250) Variable "assign_id" must not contain underscores.
(#252) Expected 1 space before "="; 0 found
(#252) Expected 1 space after "="; 0 found
(#254) Variable "assign_id" must not contain underscores.
(#256) Inline control structures are not allowed
(#261) Inline control structures are not allowed
(#264) Expected 1 space before "="; 0 found
(#264) Expected 1 space after "="; 0 found
(#265) Expected 1 space before "="; 0 found
(#265) Expected 1 space after "="; 0 found
(#267) Expected "while (...) {\n"; found "while(...) {\n"
(#267) Expected 1 space before "!="; 0 found
(#267) Expected 1 space after "!="; 0 found
(#269) Expected 1 space before "="; 0 found
(#269) Expected 1 space after "="; 0 found
(#271) Expected 1 space before "!="; 0 found
(#271) Expected 1 space after "!="; 0 found
(#272) Expected 1 space before "="; 0 found
(#272) Expected 1 space after "="; 0 found
(#272) Expected 1 space before "+"; 0 found
(#272) Expected 1 space after "+"; 0 found
(#273) Expected 1 space before "="; 0 found
(#273) Expected 1 space after "="; 0 found
(#274) Expected 1 space before "!="; 0 found
(#274) Expected 1 space after "!="; 0 found
(#275) Inline control structures are not allowed
(#276) Expected 1 space before ".="; 0 found
(#276) Expected 1 space after ".="; 0 found
(#277) Inline control structures are not allowed
(#278) Expected 1 space before "="; 0 found
(#278) Expected 1 space after "="; 0 found
(#279) Expected 1 space before ".="; 0 found
(#279) Expected 1 space after ".="; 0 found
(#279) Expected 1 space before "-"; 0 found
(#279) Expected 1 space after "-"; 0 found
(#282) Expected 1 space before "="; 0 found
(#282) Expected 1 space after "="; 0 found
(#282) Expected 1 space before "+"; 0 found
(#282) Expected 1 space after "+"; 0 found
(#289) Variable "mod_config" must not contain underscores.
(#289) Expected 1 space before "="; 0 found
(#289) Expected 1 space after "="; 0 found
(#290) Variable "mod_config" must not contain underscores.
(#291) This comment is 64% valid code; is this commented out code?
(#291) Inline comments must start with a capital letter, digit or 3-dots sequence
(#291) No space found before comment text; expected "// $params[''] = $mod_config->shared_secret;" but found "//$params[''] = $mod_config->shared_secret;"
(#292) Inline comments must end in full-stops, exclamation marks, or question marks
(#292) This comment is 64% valid code; is this commented out code?
(#292) No space found before comment text; expected "// $params[''] = $mod_config->org_id;" but found "//$params[''] = $mod_config->org_id;"
(#306) Whitespace found at end of line
(#309) Variable "cookies_file" must not contain underscores.
(#309) Expected 1 space before "="; 0 found
(#309) Expected 1 space after "="; 0 found
(#310) Inline control structures are not allowed
(#310) Variable "cookies_file" must not contain underscores.
(#311) Variable "cookies_file" must not contain underscores.
(#311) Expected 1 space before "="; 0 found
(#311) Expected 1 space after "="; 0 found
(#311) Line exceeds 132 characters; contains 134 characters
(#313) Variable "cookies_file" must not contain underscores.
(#314) Variable "cookies_file" must not contain underscores.
(#318) No space found before comment text; expected "// Uncomment this for verbose debugging" but found "//Uncomment this for verbose debugging"
(#319) This comment is 64% valid code; is this commented out code?
(#319) No space found before comment text; expected "// curl_setopt($ch, CURLOPT_VERBOSE, true);" but found "//curl_setopt($ch, CURLOPT_VERBOSE, true);"
(#320) This comment is 59% valid code; is this commented out code?
(#320) No space found before comment text; expected "// $verbose = fopen('php://temp', 'rw+');" but found "//$verbose = fopen('php://temp', 'rw+');"
(#321) Inline comments must end in full-stops, exclamation marks, or question marks
(#321) This comment is 64% valid code; is this commented out code?
(#321) No space found before comment text; expected "// curl_setopt($ch, CURLOPT_STDERR, $verbose);" but found "//curl_setopt($ch, CURLOPT_STDERR, $verbose);"
(#323) Expected 1 space before "="; 0 found
(#323) Expected 1 space after "="; 0 found
(#325) The use of function error_log() is forbidden
(#326) Whitespace found at end of line
(#329) No space found before comment text; expected "// Uncomment this for verbose debugging" but found "//Uncomment this for verbose debugging"
(#330) This comment is 55% valid code; is this commented out code?
(#330) No space found before comment text; expected "// if ($result === FALSE) {" but found "//if ($result === FALSE) {"
(#331) This comment is 64% valid code; is this commented out code?
(#331) Expected 1 space before comment text but found 4; use block comment if you need indentation
(#332) This comment is 70% valid code; is this commented out code?
(#332) Expected 1 space before comment text but found 11; use block comment if you need indentation
(#333) This comment is 100% valid code; is this commented out code?
(#333) No space found before comment text; expected "// }" but found "//}"
(#334) This comment is 80% valid code; is this commented out code?
(#334) No space found before comment text; expected "// rewind($verbose);" but found "//rewind($verbose);"
(#335) This comment is 56% valid code; is this commented out code?
(#335) No space found before comment text; expected "// $verboseLog = stream_get_contents($verbose);" but found "//$verboseLog = stream_get_contents($verbose);"
(#336) Inline comments must end in full-stops, exclamation marks, or question marks
(#336) This comment is 70% valid code; is this commented out code?
(#336) No space found before comment text; expected "// echo "Verbose information:\n<pre>", htmlspecialchars($verboseLog), "</pre>\n";" but found "//echo "Verbose information:\n<pre>", htmlspecialchars($verboseLog), "</pre>\n";"
(#338) Inline control structures are not allowed
(#338) Variable "cookies_file" must not contain underscores.
(#339) Variable "cookies_file" must not contain underscores.
(#360) No space found before comment text; expected "// We need to always use CRLF line endings for LTI, otherwise the signature validation will fail." but found "//We need to always use CRLF line endings for LTI, otherwise the signature validation will fail."
(#361) No space found before comment text; expected "// Moodle backup/restore sometimes converts the line endings to LF only." but found "//Moodle backup/restore sometimes converts the line endings to LF only."
(#362) No space found before comment text; expected "// The Moodle core code uses a straight str_replace of \n with \r\n" but found "//The Moodle core code uses a straight str_replace of \n with \r\n"
(#363) Inline comments must end in full-stops, exclamation marks, or question marks
(#363) No space found before comment text; expected "// which won't cope properly with text where the line endings have been mixed up and \r only from the mac" but found "//which won't cope properly with text where the line endings have been mixed up and \r only from the mac"
(#364) Expected 1 space before "="; 0 found
(#364) Expected 1 space after "="; 0 found
(#365) Expected 1 space before "="; 0 found
(#365) Expected 1 space after "="; 0 found
(#389) Line exceeds 132 characters; contains 135 characters
(#399) Inline comments must end in full-stops, exclamation marks, or question marks
(#402) Expected 1 space after "="; 2 found
(#403) Expected 1 space after "="; 2 found
(#404) Expected 1 space after "="; 2 found
(#408) Line exceeds 132 characters; contains 135 characters
(#414) Inline comments must end in full-stops, exclamation marks, or question marks
(#431) Inline comments must end in full-stops, exclamation marks, or question marks
(#439) Inline comments must end in full-stops, exclamation marks, or question marks
(#444) Inline comments must end in full-stops, exclamation marks, or question marks
(#447) No space found before comment text; expected "// The submit button needs to be part of the signature as it gets posted with the form." but found "//The submit button needs to be part of the signature as it gets posted with the form."
(#448) No space found before comment text; expected "// This needs to be here to support launching without javascript." but found "//This needs to be here to support launching without javascript."
(#450) Inline doc block comments are not allowed; use "// Comment." instead
(#450) Line exceeds 132 characters; contains 138 characters
(#451) Line exceeds 132 characters; contains 134 characters
(#453) Expected "if (...) {\n"; found "if (...)\n {\n"
(#453) Expected 1 space before "<"; 0 found
(#453) Expected 1 space after "<"; 0 found
(#481) Expected 1 space before "+"; 0 found
(#481) Expected 1 space after "+"; 0 found
(#498) Expected 1 space before "=="; 0 found
(#498) Expected 1 space after "=="; 0 found
(#499) No space found before comment text; expected "// If no cmid is passed, check if the user is a teacher in the course" but found "//If no cmid is passed, check if the user is a teacher in the course"
(#500) No space found before comment text; expected "// This allows other modules to programmatically "fake" a launch without" but found "//This allows other modules to programmatically "fake" a launch without"
(#501) Inline comments must end in full-stops, exclamation marks, or question marks
(#501) No space found before comment text; expected "// a real Helixmedia instance" but found "//a real Helixmedia instance"
(#531) Expected 1 space(s) before asterisk; 0 found
(#532) Expected 1 space(s) before asterisk; 0 found
(#533) Expected 1 space(s) before asterisk; 0 found
(#534) Expected 1 space(s) before asterisk; 0 found
(#535) Expected 1 space(s) before asterisk; 0 found
(#536) Expected 1 space(s) before asterisk; 0 found
(#537) Expected 1 space(s) before asterisk; 0 found
(#538) Expected 1 space(s) before asterisk; 0 found
(#539) Expected 1 space(s) before asterisk; 0 found
(#540) Expected 1 space(s) before asterisk; 0 found
(#541) Expected 1 space(s) before asterisk; 0 found
(#542) Expected 1 space(s) before asterisk; 0 found
(#543) Expected 1 space(s) before asterisk; 0 found
(#545) Variable "pre_id" must not contain underscores.
(#545) Variable "params_thumb" must not contain underscores.
(#545) Variable "params_link" must not contain underscores.
(#546) Variable "statusCheck" must be all lower-case
(#549) Expected 1 space before "=="; 0 found
(#549) Expected 1 space after "=="; 0 found
(#550) Expected 1 space before "="; 0 found
(#550) Expected 1 space after "="; 0 found
(#553) Expected 1 space before "=="; 0 found
(#553) Expected 1 space after "=="; 0 found
(#554) Expected 1 space before "="; 0 found
(#554) Expected 1 space after "="; 0 found
(#557) Expected 1 space before "=="; 0 found
(#557) Expected 1 space after "=="; 0 found
(#558) Expected 1 space before "="; 0 found
(#558) Expected 1 space after "="; 0 found
(#561) Variable "statusCheck" must be all lower-case
(#562) Variable "statusCheck" must be all lower-case
(#562) Expected 1 space before "="; 0 found
(#562) Expected 1 space after "="; 0 found
(#565) Inline control structures are not allowed
(#565) Expected 1 space before ">"; 0 found
(#565) Expected 1 space after ">"; 0 found
(#566) Expected 1 space before "="; 0 found
(#566) Expected 1 space after "="; 0 found
(#566) Expected 1 space before "=>"; 0 found
(#566) Expected 1 space after "=>"; 0 found
(#567) Inline control structures are not allowed
(#568) Expected 1 space before "="; 0 found
(#568) Expected 1 space after "="; 0 found
(#570) Variable "params_thumb" must not contain underscores.
(#570) Expected 1 space before "="; 0 found
(#570) Expected 1 space after "="; 0 found
(#570) Variable "params_thumb" must not contain underscores.
(#571) Variable "params_link" must not contain underscores.
(#571) Expected 1 space before "="; 0 found
(#571) Expected 1 space after "="; 0 found
(#571) Variable "params_link" must not contain underscores.
(#573) Variable "statusCheck" must be all lower-case
(#573) Expected 1 space before "!="; 0 found
(#573) Expected 1 space after "!="; 0 found
(#574) Expected 1 space before "="; 0 found
(#574) Expected 1 space after "="; 0 found
(#576) Expected 1 space before "="; 0 found
(#576) Expected 1 space after "="; 0 found
(#578) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#580) Inline control structures are not allowed
(#580) Expected 1 space before "<"; 0 found
(#580) Expected 1 space after "<"; 0 found
(#580) Expected 1 space before "<"; 0 found
(#580) Expected 1 space after "<"; 0 found
(#581) Expected 1 space before "="; 0 found
(#581) Expected 1 space after "="; 0 found
(#581) Variable "params_link" must not contain underscores.
(#581) Line exceeds 132 characters; contains 138 characters
(#586) Variable "launch_url" must not contain underscores.
(#587) Variable "launch_url" must not contain underscores.
(#587) Variable "launch_url" must not contain underscores.
(#589) Expected 1 space before "="; 0 found
(#589) Expected 1 space after "="; 0 found
(#591) Variable "params_thumb" must not contain underscores.
(#593) Variable "params_link" must not contain underscores.
(#593) Line exceeds 132 characters; contains 140 characters
(#594) Line exceeds 132 characters; contains 147 characters
(#598) Expected 1 space before "="; 0 found
(#598) Expected 1 space after "="; 0 found
(#600) Variable "params_thumb" must not contain underscores.
(#602) Variable "params_link" must not contain underscores.
(#602) Line exceeds 132 characters; contains 140 characters
(#609) Variable "mod_config" must not contain underscores.
(#609) Expected 1 space before "="; 0 found
(#609) Expected 1 space after "="; 0 found
(#611) Expected 1 space before ".="; 0 found
(#611) Expected 1 space after ".="; 0 found
(#612) Variable "params_thumb" must not contain underscores.
(#613) Variable "pre_id" must not contain underscores.
(#616) Variable "mod_config" must not contain underscores.
(#617) Variable "statusCheck" must be all lower-case
(#624) function name "curPageURL" must be lower-case letters only
(#625) Line indented incorrectly; expected at least 4 spaces, found 1
(#625) Variable "pageURL" must be all lower-case
(#626) Line indented incorrectly; expected 4 spaces, found 1
(#626) Expected "if (...) {\n"; found "if (...) {"
(#626) Variable "pageURL" must be all lower-case
(#626) Closing brace must be on a line by itself
(#627) Line indented incorrectly; expected at least 4 spaces, found 1
(#627) Variable "pageURL" must be all lower-case
(#628) Line indented incorrectly; expected 4 spaces, found 1
(#629) Line indented incorrectly; expected at least 8 spaces, found 2
(#629) Variable "pageURL" must be all lower-case
(#630) Line indented incorrectly; expected 4 spaces, found 1
(#631) Line indented incorrectly; expected at least 8 spaces, found 2
(#631) Variable "pageURL" must be all lower-case
(#632) Line indented incorrectly; expected 4 spaces, found 1
(#633) Line indented incorrectly; expected at least 4 spaces, found 1
(#633) Variable "pageURL" must be all lower-case
(#641) Line exceeds 132 characters; contains 141 characters
(#644) Inline comments must end in full-stops, exclamation marks, or question marks
(#645) Expected 1 space before ">"; 0 found
(#645) Expected 1 space after ">"; 0 found
(#646) Expected 1 space before "="; 0 found
(#646) Expected 1 space after "="; 0 found
(#649) Expected 1 space before ">"; 0 found
(#649) Expected 1 space after ">"; 0 found
(#657) Inline comments must end in full-stops, exclamation marks, or question marks
(#658) Expected 1 space before "="; 0 found
(#658) Expected 1 space after "="; 0 found
(#674) Variable "status_url" must not contain underscores.
(#675) Variable "status_url" must not contain underscores.
(#676) Variable "status_url" must not contain underscores.
(#682) Line exceeds 132 characters; contains 136 characters
(#685) Inline comments must end in full-stops, exclamation marks, or question marks
(#686) Expected "if (...) {\n"; found "if(...) {\n"
(#698) Variable "ignoreCase" must be all lower-case
(#699) Variable "ignoreCase" must be all lower-case
(#703) Variable "needlePos" must be all lower-case
(#704) Variable "needlePos" must be all lower-case
(#704) Variable "needlePos" must be all lower-case
(#704) Expected 1 space before "+"; 0 found
(#704) Expected 1 space after "+"; 0 found
(#709) Variable "status_url" must not contain underscores.
(#710) Variable "status_url" must not contain underscores.
(#713) Variable "status_url" must not contain underscores.
(#714) Variable "status_url" must not contain underscores.
(#725) Whitespace found at end of line
(#728) Expected 1 space before "="; 0 found
(#728) Expected 1 space after "="; 0 found
(#730) The use of function error_log() is forbidden
(#740) Variable "req_ver" must not contain underscores.
(#741) Variable "actual_ver" must not contain underscores.
(#743) Variable "actual_ver" must not contain underscores.
(#743) Variable "req_ver" must not contain underscores.
mod/helixmedia/migrate.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#2) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#3) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Expected 5 space(s) before asterisk; 4 found
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#3) Line 7 of the opening comment must start "//".
(#3) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#4) Expected 5 space(s) before asterisk; 4 found
(#4) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) Line 12 of the opening comment must start "//".
(#4) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#4) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#5) Expected 5 space(s) before asterisk; 4 found
(#6) Expected 5 space(s) before asterisk; 4 found
(#7) Expected 5 space(s) before asterisk; 4 found
(#8) Expected 5 space(s) before asterisk; 4 found
(#19) Whitespace found at end of line
(#32) Line indented incorrectly; expected 0 spaces, found 4
(#32) Expected "if (...) {\n"; found "if (...)\n {\n"
(#35) Line indented incorrectly; expected 0 spaces, found 4
(#36) Line indented incorrectly; expected 0 spaces, found 4
(#36) Expected "} else if (...) {\n"; found "}\n else\n if (...)\n {\n"
(#37) Line indented incorrectly; expected 0 spaces, found 4
(#37) Expected "if (...) {\n"; found "if (...)\n {\n"
(#40) Line indented incorrectly; expected 0 spaces, found 4
(#41) Line indented incorrectly; expected 0 spaces, found 4
(#41) Expected "} else {\n"; found "}\n else\n {\n"
(#45) Expected 1 space before "="; 0 found
(#45) Expected 1 space after "="; 0 found
(#46) Inline control structures are not allowed
(#48) Line indented incorrectly; expected 4 spaces, found 8
(#48) Inline control structures are not allowed
(#50) Line indented incorrectly; expected 0 spaces, found 4
(#57) Expected 5 space(s) before asterisk; 4 found
(#58) Expected 5 space(s) before asterisk; 4 found
(#60) Line indented incorrectly; expected 0 spaces, found 4
(#61) Opening brace should be on the same line as the declaration
(#63) Expected 1 space before "="; 0 found
(#63) Expected 1 space after "="; 0 found
(#63) Expected 1 space before "=>"; 0 found
(#63) Expected 1 space after "=>"; 0 found
(#65) Expected 1 space before "="; 0 found
(#65) Expected 1 space after "="; 0 found
(#66) Expected 1 space before "="; 0 found
(#66) Expected 1 space after "="; 0 found
(#68) Inline control structures are not allowed
(#68) Expected 1 space before ">"; 0 found
(#68) Expected 1 space after ">"; 0 found
(#71) Inline control structures are not allowed
(#71) Expected 1 space before ">"; 0 found
(#71) Expected 1 space after ">"; 0 found
(#75) Line indented incorrectly; expected 0 spaces, found 4
(#78) Expected 5 space(s) before asterisk; 4 found
(#79) Expected 5 space(s) before asterisk; 4 found
(#80) Expected 5 space(s) before asterisk; 4 found
(#81) Expected 5 space(s) before asterisk; 4 found
(#82) Expected 5 space(s) before asterisk; 4 found
(#84) Line indented incorrectly; expected 0 spaces, found 4
(#84) Variable "mod_id" must not contain underscores.
(#85) Opening brace should be on the same line as the declaration
(#87) Variable "url_type" must not contain underscores.
(#87) Expected 1 space before "="; 0 found
(#87) Expected 1 space after "="; 0 found
(#87) Expected 1 space before "=>"; 0 found
(#87) Expected 1 space after "=>"; 0 found
(#88) Line indented incorrectly; expected 4 spaces, found 8
(#88) Expected "foreach (...) {\n"; found "foreach(...)\n {\n"
(#90) Expected 1 space before "="; 0 found
(#90) Expected 1 space after "="; 0 found
(#91) Inline control structures are not allowed
(#92) Variable "mod_id" must not contain underscores.
(#92) Variable "url_type" must not contain underscores.
(#93) Line indented incorrectly; expected 4 spaces, found 8
(#94) Line indented incorrectly; expected 0 spaces, found 4
(#97) Expected 5 space(s) before asterisk; 4 found
(#98) Expected 5 space(s) before asterisk; 4 found
(#99) Expected 5 space(s) before asterisk; 4 found
(#100) Expected 5 space(s) before asterisk; 4 found
(#101) Expected 5 space(s) before asterisk; 4 found
(#103) Line indented incorrectly; expected 0 spaces, found 4
(#103) Variable "mod_id" must not contain underscores.
(#103) Variable "url_type_id" must not contain underscores.
(#104) Opening brace should be on the same line as the declaration
(#106) Expected 1 space before "="; 0 found
(#106) Expected 1 space after "="; 0 found
(#106) Expected 1 space before "=>"; 0 found
(#106) Expected 1 space after "=>"; 0 found
(#107) Expected 1 space before "="; 0 found
(#107) Expected 1 space after "="; 0 found
(#107) Expected 1 space before "=>"; 0 found
(#107) Expected 1 space after "=>"; 0 found
(#108) Expected 1 space before "="; 0 found
(#108) Expected 1 space after "="; 0 found
(#108) Expected 1 space before "=>"; 0 found
(#108) Expected 1 space after "=>"; 0 found
(#108) Expected 1 space before "=>"; 0 found
(#108) Expected 1 space after "=>"; 0 found
(#108) Expected 1 space before "=>"; 0 found
(#108) Expected 1 space after "=>"; 0 found
(#108) Variable "url_type_id" must not contain underscores.
(#115) Line indented incorrectly; expected 4 spaces, found 8
(#115) Expected "if (...) {\n"; found "if (...)\n {\n"
(#115) Variable "mod_id" must not contain underscores.
(#119) Line indented incorrectly; expected 4 spaces, found 8
(#120) Line indented incorrectly; expected 0 spaces, found 4
(#122) Line indented incorrectly; expected 0 spaces, found 4
(#122) Variable "mod_id" must not contain underscores.
(#123) Opening brace should be on the same line as the declaration
(#127) Expected 1 space before "="; 0 found
(#127) Expected 1 space after "="; 0 found
(#128) Expected 1 space before "="; 0 found
(#128) Expected 1 space after "="; 0 found
(#129) Expected 1 space before "="; 0 found
(#129) Expected 1 space after "="; 0 found
(#131) Expected 1 space before "="; 0 found
(#131) Expected 1 space after "="; 0 found
(#133) Line indented incorrectly; expected 4 spaces, found 8
(#133) Expected "if (...) {\n"; found "if (...)\n {\n"
(#133) Expected 1 space before "=="; 0 found
(#133) Expected 1 space after "=="; 0 found
(#137) Line indented incorrectly; expected 4 spaces, found 8
(#139) Expected 1 space before "="; 0 found
(#139) Expected 1 space after "="; 0 found
(#140) Inline control structures are not allowed
(#140) Expected 1 space before ">"; 0 found
(#140) Expected 1 space after ">"; 0 found
(#141) Variable "ref_id" must not contain underscores.
(#141) Expected 1 space before "="; 0 found
(#141) Expected 1 space after "="; 0 found
(#142) Line indented incorrectly; expected 4 spaces, found 8
(#146) Line indented incorrectly; expected 4 spaces, found 8
(#149) Expected 1 space before "="; 0 found
(#149) Expected 1 space after "="; 0 found
(#150) Expected 1 space before "="; 0 found
(#150) Expected 1 space after "="; 0 found
(#151) Expected 1 space before "="; 0 found
(#151) Expected 1 space after "="; 0 found
(#152) Expected 1 space before "="; 0 found
(#152) Expected 1 space after "="; 0 found
(#153) Expected 1 space before "="; 0 found
(#153) Expected 1 space after "="; 0 found
(#154) Expected 1 space before "="; 0 found
(#154) Expected 1 space after "="; 0 found
(#155) Expected 1 space before "="; 0 found
(#155) Expected 1 space after "="; 0 found
(#156) Expected 1 space before "="; 0 found
(#156) Expected 1 space after "="; 0 found
(#157) Expected 1 space before "="; 0 found
(#157) Expected 1 space after "="; 0 found
(#161) Expected 1 space before "="; 0 found
(#161) Expected 1 space after "="; 0 found
(#163) Expected 1 space before "="; 0 found
(#163) Expected 1 space after "="; 0 found
(#164) Expected 1 space before "="; 0 found
(#164) Expected 1 space after "="; 0 found
(#164) Variable "mod_id" must not contain underscores.
(#165) Expected 1 space before "="; 0 found
(#165) Expected 1 space after "="; 0 found
(#166) Expected 1 space before "="; 0 found
(#166) Expected 1 space after "="; 0 found
(#169) Expected 1 space before "="; 0 found
(#169) Expected 1 space after "="; 0 found
(#169) Expected 1 space before "=>"; 0 found
(#169) Expected 1 space after "=>"; 0 found
(#170) Expected 1 space before "="; 0 found
(#170) Expected 1 space after "="; 0 found
(#171) Expected 1 space before "="; 0 found
(#171) Expected 1 space after "="; 0 found
(#172) Expected 1 space before "="; 0 found
(#172) Expected 1 space after "="; 0 found
(#173) Inline control structures are not allowed
(#173) Expected 1 space before ">"; 0 found
(#173) Expected 1 space after ">"; 0 found
(#174) Expected 1 space before ".="; 0 found
(#174) Expected 1 space after ".="; 0 found
(#175) Expected 1 space before "="; 0 found
(#175) Expected 1 space after "="; 0 found
(#190) Variable "ref_id" must not contain underscores.
(#191) Line exceeds 132 characters; contains 172 characters
(#191) Inline comments must start with a capital letter, digit or 3-dots sequence
(#191) Inline comments must end in full-stops, exclamation marks, or question marks
(#191) This comment is 50% valid code; is this commented out code?
(#191) Line exceeds 132 characters; contains 172 characters
(#191) No space found before comment text; expected "// echo "<iframe src='".$CFG->wwwroot."/mod/helixmedia/launch.php?type=".HML_LAUNCH_EDIT."&amp;id=".$id."&amp;mid=".$ref_id."' width='600' height='300'></iframe>\n";" but found "//echo "<iframe src='".$CFG->wwwroot."/mod/helixmedia/launch.php?type=".HML_LAUNCH_EDIT."&amp;id=".$id."&amp;mid=".$ref_id."' width='600' height='300'></iframe>\n";"
(#193) Line indented incorrectly; expected 0 spaces, found 4
(#196) Expected 5 space(s) before asterisk; 4 found
(#197) Expected 5 space(s) before asterisk; 4 found
(#198) Expected 5 space(s) before asterisk; 4 found
(#199) Expected 5 space(s) before asterisk; 4 found
(#201) Line indented incorrectly; expected 0 spaces, found 4
(#202) Opening brace should be on the same line as the declaration
(#206) Line indented incorrectly; expected 4 spaces, found 8
(#208) Line indented incorrectly; expected 4 spaces, found 8
(#218) Line indented incorrectly; expected 4 spaces, found 8
(#220) Line indented incorrectly; expected 4 spaces, found 8
(#221) Line indented incorrectly; expected 4 spaces, found 8
(#223) Line indented incorrectly; expected 4 spaces, found 8
(#226) Line indented incorrectly; expected 0 spaces, found 4
(#229) Expected 5 space(s) before asterisk; 4 found
(#230) Expected 5 space(s) before asterisk; 4 found
(#232) Line indented incorrectly; expected 0 spaces, found 4
(#233) Opening brace should be on the same line as the declaration
(#236) Inline doc block comments are not allowed; use "// Comment." instead
(#241) Expected 1 space before "="; 0 found
(#241) Expected 1 space after "="; 0 found
(#242) Variable "all_urls" must not contain underscores.
(#242) Expected 1 space before "="; 0 found
(#242) Expected 1 space after "="; 0 found
(#242) The use of backticks in strings is not recommended
(#244) Line indented incorrectly; expected 4 spaces, found 8
(#244) Expected "if (...) {\n"; found "if (...)\n {\n"
(#244) Variable "all_urls" must not contain underscores.
(#244) Expected 1 space before "=="; 0 found
(#244) Expected 1 space after "=="; 0 found
(#248) Line indented incorrectly; expected 4 spaces, found 8
(#254) Variable "table_ok" must not contain underscores.
(#254) Expected 1 space before "="; 0 found
(#254) Expected 1 space after "="; 0 found
(#255) Expected 1 space before "="; 0 found
(#255) Expected 1 space after "="; 0 found
(#256) Line indented incorrectly; expected 4 spaces, found 8
(#256) Expected "foreach (...) {\n"; found "foreach (...)\n {\n"
(#256) Variable "all_urls" must not contain underscores.
(#258) Expected 1 space before "="; 0 found
(#258) Expected 1 space after "="; 0 found
(#258) Expected 1 space before "=>"; 0 found
(#258) Expected 1 space after "=>"; 0 found
(#258) Commas (,) must be followed by white space.
(#259) Line indented incorrectly; expected 8 spaces, found 12
(#259) Expected "if (...) {\n"; found "if (...)\n {\n"
(#259) Expected 1 space before "!="; 0 found
(#259) Expected 1 space after "!="; 0 found
(#261) Variable "table_ok" must not contain underscores.
(#262) Expected 1 space before ".="; 0 found
(#262) Expected 1 space after ".="; 0 found
(#263) Line indented incorrectly; expected 8 spaces, found 12
(#264) Line indented incorrectly; expected 4 spaces, found 8
(#266) Line indented incorrectly; expected 4 spaces, found 8
(#266) Expected "if (...) {\n"; found "if (...)\n {\n"
(#266) Expected 1 space before ">"; 0 found
(#266) Expected 1 space after ">"; 0 found
(#269) Variable "table_ok" must not contain underscores.
(#270) Variable "table_ok" must not contain underscores.
(#272) Line indented incorrectly; expected 4 spaces, found 8
(#275) Variable "table_nf" must not contain underscores.
(#275) Expected 1 space before "="; 0 found
(#275) Expected 1 space after "="; 0 found
(#276) Expected 1 space before "="; 0 found
(#276) Expected 1 space after "="; 0 found
(#277) Line indented incorrectly; expected 4 spaces, found 8
(#277) Expected "foreach (...) {\n"; found "foreach (...)\n {\n"
(#277) Variable "all_urls" must not contain underscores.
(#279) Expected 1 space before "="; 0 found
(#279) Expected 1 space after "="; 0 found
(#279) Expected 1 space before "=>"; 0 found
(#279) Expected 1 space after "=>"; 0 found
(#279) Commas (,) must be followed by white space.
(#280) Line indented incorrectly; expected 8 spaces, found 12
(#280) Expected "if (...) {\n"; found "if (...)\n {\n"
(#280) Expected 1 space before "=="; 0 found
(#280) Expected 1 space after "=="; 0 found
(#282) Variable "table_nf" must not contain underscores.
(#283) Expected 1 space before ".="; 0 found
(#283) Expected 1 space after ".="; 0 found
(#284) Expected 1 space before "="; 0 found
(#284) Expected 1 space after "="; 0 found
(#285) Line indented incorrectly; expected 8 spaces, found 12
(#286) Line indented incorrectly; expected 4 spaces, found 8
(#288) Line indented incorrectly; expected 4 spaces, found 8
(#288) Expected "if (...) {\n"; found "if (...)\n {\n"
(#288) Expected 1 space before ">"; 0 found
(#288) Expected 1 space after ">"; 0 found
(#292) Variable "table_nf" must not contain underscores.
(#293) Variable "table_nf" must not contain underscores.
(#295) Line indented incorrectly; expected 4 spaces, found 8
(#298) Line exceeds 132 characters; contains 135 characters
(#298) Line exceeds 132 characters; contains 135 characters
(#314) Line indented incorrectly; expected 0 spaces, found 4
(#317) Expected 5 space(s) before asterisk; 4 found
(#318) Expected 5 space(s) before asterisk; 4 found
(#318) Whitespace found at end of line
(#319) Expected 5 space(s) before asterisk; 4 found
(#320) Expected 5 space(s) before asterisk; 4 found
(#322) Line indented incorrectly; expected 0 spaces, found 4
(#323) Opening brace should be on the same line as the declaration
(#324) Expected 1 space before "="; 0 found
(#324) Expected 1 space after "="; 0 found
(#325) Expected 1 space before "="; 0 found
(#325) Expected 1 space after "="; 0 found
(#326) Expected 1 space before "="; 0 found
(#326) Expected 1 space after "="; 0 found
(#327) Expected 1 space before "="; 0 found
(#327) Expected 1 space after "="; 0 found
(#328) Expected 1 space before "="; 0 found
(#328) Expected 1 space after "="; 0 found
(#331) Line indented incorrectly; expected 0 spaces, found 4
(#334) Expected 5 space(s) before asterisk; 4 found
(#335) Expected 5 space(s) before asterisk; 4 found
(#336) Expected 5 space(s) before asterisk; 4 found
(#337) Expected 5 space(s) before asterisk; 4 found
(#338) Expected 5 space(s) before asterisk; 4 found
(#340) Line indented incorrectly; expected 0 spaces, found 4
(#340) Variable "repo_exists" must not contain underscores.
(#341) Opening brace should be on the same line as the declaration
(#343) Expected 1 space before "="; 0 found
(#343) Expected 1 space after "="; 0 found
(#343) Expected 1 space before "=>"; 0 found
(#343) Expected 1 space after "=>"; 0 found
(#344) Expected 1 space before "="; 0 found
(#344) Expected 1 space after "="; 0 found
(#345) Expected 1 space before "="; 0 found
(#345) Expected 1 space after "="; 0 found
(#346) Expected 1 space before "="; 0 found
(#346) Expected 1 space after "="; 0 found
(#347) Expected 1 space before "="; 0 found
(#347) Expected 1 space after "="; 0 found
(#348) Inline control structures are not allowed
(#348) Variable "repo_exists" must not contain underscores.
(#349) Expected 1 space before "="; 0 found
(#349) Expected 1 space after "="; 0 found
(#350) Line indented incorrectly; expected 4 spaces, found 8
(#350) Inline control structures are not allowed
(#351) Expected 1 space before "="; 0 found
(#351) Expected 1 space after "="; 0 found
(#353) Line indented incorrectly; expected 0 spaces, found 4
(#356) Expected 5 space(s) before asterisk; 4 found
(#357) Expected 5 space(s) before asterisk; 4 found
(#358) Expected 5 space(s) before asterisk; 4 found
(#359) Expected 5 space(s) before asterisk; 4 found
(#361) Line indented incorrectly; expected 0 spaces, found 4
(#362) Opening brace should be on the same line as the declaration
(#363) Expected 1 space before ".="; 0 found
(#363) Expected 1 space after ".="; 0 found
(#364) Expected 1 space before "="; 0 found
(#364) Expected 1 space after "="; 0 found
(#364) Expected 1 space before "+"; 0 found
(#364) Expected 1 space after "+"; 0 found
(#365) Expected 1 space before "="; 0 found
(#365) Expected 1 space after "="; 0 found
(#366) Inline control structures are not allowed
(#366) Expected 1 space before ">"; 0 found
(#366) Expected 1 space after ">"; 0 found
(#367) Expected 1 space before "-"; 0 found
(#367) Expected 1 space after "-"; 0 found
(#368) Line indented incorrectly; expected 4 spaces, found 8
(#368) Inline control structures are not allowed
(#370) Line indented incorrectly; expected 0 spaces, found 4
(#373) Expected 5 space(s) before asterisk; 4 found
(#374) Expected 5 space(s) before asterisk; 4 found
(#375) Expected 5 space(s) before asterisk; 4 found
(#375) Whitespace found at end of line
(#376) Expected 5 space(s) before asterisk; 4 found
(#378) Line indented incorrectly; expected 0 spaces, found 4
(#379) Opening brace should be on the same line as the declaration
(#384) Whitespace found at end of line
(#386) Inline comments must start with a capital letter, digit or 3-dots sequence
(#386) Inline comments must end in full-stops, exclamation marks, or question marks
(#386) 3 slashes comments are not allowed; use "// Comment." instead
(#391) Inline comments must start with a capital letter, digit or 3-dots sequence
(#391) Inline comments must end in full-stops, exclamation marks, or question marks
(#391) 3 slashes comments are not allowed; use "// Comment." instead
(#396) Inline comments must start with a capital letter, digit or 3-dots sequence
(#396) Inline comments must end in full-stops, exclamation marks, or question marks
(#396) 3 slashes comments are not allowed; use "// Comment." instead
(#403) Line indented incorrectly; expected 0 spaces, found 4
mod/helixmedia/mod_form.php
(#1) Whitespace found at end of line
(#1) The opening <?php tag must be followed by exactly one newline.
(#13) Inline comments must end in full-stops, exclamation marks, or question marks
(#13) 3 slashes comments are not allowed; use "// Comment." instead
(#13) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#16) "require_once" must be immediately followed by an open parenthesis
(#17) "require_once" must be immediately followed by an open parenthesis
(#21) Visibility must be declared on method "definition"
(#22) Spaces must be used to indent lines; tabs are not allowed
(#22) Tab found within whitespace
(#22) Line indented incorrectly; expected at least 8 spaces, found 1
(#29) Expected 1 space before "="; 0 found
(#29) Expected 1 space after "="; 0 found
(#31) Expected 1 space before "="; 0 found
(#31) Expected 1 space after "="; 0 found
(#54) Expected 1 space before "="; 0 found
(#54) Expected 1 space after "="; 0 found
(#65) Inline comments must start with a capital letter, digit or 3-dots sequence
(#65) Inline comments must end in full-stops, exclamation marks, or question marks
(#65) This comment is 86% valid code; is this commented out code?
(#65) No space found before comment text; expected "// $mform->setAdvanced('showtitlelaunch');" but found "//$mform->setAdvanced('showtitlelaunch');"
(#69) Inline comments must start with a capital letter, digit or 3-dots sequence
(#69) Inline comments must end in full-stops, exclamation marks, or question marks
(#69) This comment is 86% valid code; is this commented out code?
(#69) No space found before comment text; expected "// $mform->setAdvanced('showdescriptionlaunch');" but found "//$mform->setAdvanced('showdescriptionlaunch');"
(#72) Inline control structures are not allowed
(#73) Whitespace found at end of line
(#75) Inline control structures are not allowed
(#79) Expected 1 space before "=>"; 0 found
(#79) Expected 1 space after "=>"; 0 found
(#79) Expected 1 space before "=>"; 0 found
(#79) Expected 1 space after "=>"; 0 found
(#79) Expected 1 space before "=>"; 0 found
(#79) Expected 1 space after "=>"; 0 found
(#80) Expected 1 space before "=>"; 0 found
(#80) Expected 1 space after "=>"; 0 found
(#80) Expected 1 space before "=>"; 0 found
(#80) Expected 1 space after "=>"; 0 found
(#80) Expected 1 space before "=>"; 0 found
(#80) Expected 1 space after "=>"; 0 found
mod/helixmedia/settings.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#3) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#3) Line 7 of the opening comment must start "//".
(#4) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#5) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#5) Line 12 of the opening comment must start "//".
(#5) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#5) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#11) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#16) Expected 1 space before "=="; 0 found
(#16) Expected 1 space after "=="; 0 found
(#22) Commas (,) must be followed by white space.
(#36) Expected 1 space before "="; 0 found
(#36) Expected 1 space after "="; 0 found
(#44) Expected 1 space before "="; 0 found
(#44) Expected 1 space after "="; 0 found
(#60) Line exceeds 132 characters; contains 162 characters
(#62) Line exceeds 132 characters; contains 171 characters
(#64) Expected 1 space before "=="; 0 found
(#64) Expected 1 space after "=="; 0 found
(#72) A closing tag is not permitted at the end of a PHP file
mod/helixmedia/version.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#32) Inline comments must end in full-stops, exclamation marks, or question marks
mod/helixmedia/view.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#27) Inline comments must end in full-stops, exclamation marks, or question marks
(#30) Inline comments must end in full-stops, exclamation marks, or question marks
(#42) Expected 1 space before "="; 0 found
(#42) Expected 1 space after "="; 0 found
(#44) Inline comments must start with a capital letter, digit or 3-dots sequence
(#44) Inline comments must end in full-stops, exclamation marks, or question marks
(#46) Inline control structures are not allowed
(#48) Inline control structures are not allowed
(#53) Expected 1 space before "=>"; 0 found
(#53) Expected 1 space after "=>"; 0 found
(#58) Expected 1 space before "="; 0 found
(#58) Expected 1 space after "="; 0 found
(#61) Expected 1 space before ".="; 0 found
(#61) Expected 1 space after ".="; 0 found
(#67) No space found before comment text; expected "// Most frametops don't include footer, and pre-post blocks" but found "//Most frametops don't include footer, and pre-post blocks"
(#68) Inline comments must end in full-stops, exclamation marks, or question marks
(#68) No space found before comment text; expected "// Disable blocks for layouts which do include pre-post blocks" but found "//Disable blocks for layouts which do include pre-post blocks"
(#81) Inline comments must start with a capital letter, digit or 3-dots sequence
(#81) Whitespace found at end of line
(#90) Inline comments must end in full-stops, exclamation marks, or question marks
(#94) Inline comments must end in full-stops, exclamation marks, or question marks
(#108) Line exceeds 132 characters; contains 142 characters
(#108) Line exceeds 132 characters; contains 142 characters
(#113) Line exceeds maximum limit of 180 characters; contains 194 characters
(#113) Line exceeds maximum limit of 180 characters; contains 194 characters
(#116) Inline comments must end in full-stops, exclamation marks, or question marks
(#117) Line exceeds maximum limit of 180 characters; contains 194 characters
(#117) Line exceeds maximum limit of 180 characters; contains 194 characters
(#119) Inline comments must end in full-stops, exclamation marks, or question marks
(#119) No space found before comment text; expected "// Output script to make the iframe tag be as large as possible" but found "//Output script to make the iframe tag be as large as possible"
(#144) Inline comments must end in full-stops, exclamation marks, or question marks

Javascript coding style problems

(0 errors, 0 warnings)

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


CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(89 errors, 14 warnings)

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

mod/helixmedia/backup/moodle2/backup_helixmedia_activity_task.class.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block does not have @copyright tag
(#16) Class backup_helixmedia_activity_task does not have @copyright tag
(#16) Class backup_helixmedia_activity_task does not have @license tag
mod/helixmedia/backup/moodle2/backup_helixmedia_stepslib.php
(#2) Empty line found after PHP open tag
(#20) Function backup_helixmedia_activity_structure_step::define_structure is not documented
(#3) No one-line description found in phpdocs for file
(#3) File-level phpdocs block does not have @copyright tag
(#15) Class backup_helixmedia_activity_structure_step does not have @copyright tag
(#15) Class backup_helixmedia_activity_structure_step does not have @license tag
(#7) Package mod is not valid
mod/helixmedia/backup/moodle2/restore_helixmedia_activity_task.class.php
(#2) Empty line found after PHP open tag
(#17) No one-line description found in phpdocs for class restore_helixmedia_activity_task
(#4) File-level phpdocs block does not have @copyright tag
(#17) Class restore_helixmedia_activity_task does not have @copyright tag
(#17) Class restore_helixmedia_activity_task does not have @license tag
(#7) Package mod is not valid
mod/helixmedia/backup/moodle2/restore_helixmedia_stepslib.php
(#2) Empty line found after PHP open tag
(#22) Function restore_helixmedia_activity_structure_step::define_structure is not documented
(#31) Function restore_helixmedia_activity_structure_step::process_helixmedia is not documented
(#55) Function restore_helixmedia_activity_structure_step::after_execute is not documented
(#3) No one-line description found in phpdocs for file
(#3) File-level phpdocs block does not have @copyright tag
(#17) Class restore_helixmedia_activity_structure_step does not have @copyright tag
(#17) Class restore_helixmedia_activity_structure_step does not have @license tag
(#7) Package mod is not valid
mod/helixmedia/classes/event/lti_launch.php
(#42) Class lti_launch is not documented
mod/helixmedia/classes/event/lti_launch_edit.php
(#42) Class lti_launch_edit is not documented
mod/helixmedia/classes/event/lti_launch_edit_new.php
(#41) Class lti_launch_edit_new is not documented
mod/helixmedia/container.php
(#2) Empty line found after PHP open tag
(#1) File-level phpdocs block is not found
(#11) Package mod is not valid
mod/helixmedia/db/access.php
(#17) File-level phpdocs block does not have @copyright tag
mod/helixmedia/db/upgrade.php
(#17) File-level phpdocs block does not have @copyright tag
(#20) Package mod is not valid
mod/helixmedia/hml_form_js.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block does not have @copyright tag
(#6) Package mod is not valid
mod/helixmedia/index.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block does not have @copyright tag
(#6) Package mod is not valid
mod/helixmedia/lang/en/helixmedia.php
(#2) Empty line found after PHP open tag
(#6) Package mod is not valid
mod/helixmedia/launch.php
(#2) File-level phpdocs block does not have @copyright tag
(#5) Package mod is not valid
mod/helixmedia/lib.php
(#2) Empty line found after PHP open tag
(#40) Function helixmedia_preallocate_id is not documented
(#94) Function helixmedia_get_preid is not documented
(#337) Function helixmedia_view is not documented
(#107) Phpdocs for function helixmedia_add_instance has incomplete parameters list
(#143) Phpdocs for function helixmedia_update_instance has incomplete parameters list
(#225) Phpdocs for function helixmedia_user_outline has incomplete parameters list
(#239) Phpdocs for function helixmedia_user_complete has incomplete parameters list
(#250) Phpdocs for function helixmedia_print_recent_activity has incomplete parameters list
(#233) Invalid phpdocs tag @TODO: used
(#244) Invalid phpdocs tag @TODO: used
(#257) Invalid phpdocs tag @TODO: used
(#7) Package mod is not valid
mod/helixmedia/locallib.php
(#2) Empty line found after PHP open tag
(#62) Function helixmedia_view_mod is not documented
(#250) Function helixmedia_get_assign_into_refs is not documented
(#287) Function helixmedia_curl_post_launch_html is not documented
(#545) Function helixmedia_get_modal_dialog is not documented
(#624) Function curPageURL is not documented
(#636) Function helixmedia_get_instance_size is not documented
(#665) Function helixmedia_get_status_url is not documented
(#669) Function helixmedia_get_upload_url is not documented
(#673) Function helixmedia_get_alturl is not documented
(#679) Function helixmedia_is_preid_empty is not documented
(#698) Function str_contains is not documented
(#708) Function helixmedia_version_check is not documented
(#750) Function parse_medial_version is not documented
(#491) Phpdocs for function helixmedia_get_ims_role has incomplete parameters list
(#4) File-level phpdocs block does not have @copyright tag
(#7) Package mod is not valid
mod/helixmedia/migrate.php
(#2) Empty line found after PHP open tag
(#60) Function migrate_content is not documented
(#84) Function process_ids is not documented
(#103) Function process_item is not documented
(#122) Function add_new_helixmedia_instance is not documented
(#201) Function delete_old_url_instance is not documented
(#232) Function show_content_migration is not documented
(#322) Function select_link is not documented
(#340) Function add_entry is not documented
(#361) Function get_param is not documented
(#378) Function get_table is not documented
(#386) Found comment starting with three or more slashes
(#391) Found comment starting with three or more slashes
(#396) Found comment starting with three or more slashes
(#2) File-level phpdocs block does not have @copyright tag
(#5) Package mod is not valid
mod/helixmedia/mod_form.php
(#2) Empty line found after PHP open tag
(#19) Class mod_helixmedia_mod_form is not documented
(#21) Function mod_helixmedia_mod_form::definition is not documented
(#13) Found comment starting with three or more slashes
(#3) File-level phpdocs block does not have @copyright tag
(#6) Package mod is not valid
mod/helixmedia/settings.php
(#2) File-level phpdocs block does not have @copyright tag
(#5) Package mod is not valid
mod/helixmedia/version.php
(#2) Empty line found after PHP open tag
(#21) Package mod is not valid
mod/helixmedia/view.php
(#2) Empty line found after PHP open tag
(#7) Package mod is not valid

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 (1) than 'savepoint' calls (0)
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

(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]