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

(957 errors, 301 warnings)

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

mod/swf/backup/moodle2/backup_swf_activity_task.class.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#26) Inline comments must end in full-stops, exclamation marks, or question marks
(#27) Whitespace found at end of line
(#33) Whitespace found at end of line
(#34) Inline comments must end in full-stops, exclamation marks, or question marks
(#34) No space found before comment text; expected "// Define (add) particular settings this activity can have" but found "//Define (add) particular settings this activity can have"
(#36) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Whitespace found at end of line
(#39) Inline comments must end in full-stops, exclamation marks, or question marks
(#39) No space found before comment text; expected "// Define (add) particular steps this activity can have" but found "//Define (add) particular steps this activity can have"
(#41) Whitespace found at end of line
(#43) Whitespace found at end of line
(#47) Whitespace found at end of line
(#54) Commas (,) must be followed by white space.
(#55) Inline comments must end in full-stops, exclamation marks, or question marks
(#56) Expected 1 space before "="; 0 found
(#56) Expected 1 space after "="; 0 found
(#57) Expected 1 space before "="; 0 found
(#58) Inline comments must end in full-stops, exclamation marks, or question marks
(#59) Expected 1 space before "="; 0 found
(#59) Expected 1 space after "="; 0 found
(#60) Expected 1 space before "="; 0 found
mod/swf/backup/moodle2/backup_swf_stepslib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#27) Whitespace found at end of line
(#28) Expected MOODLE_INTERNAL check or config.php inclusion
(#29) Whitespace found at end of line
(#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
(#66) This comment is 63% valid code; is this commented out code?
(#66) Inline comments must start with a capital letter, digit or 3-dots sequence
(#75) This comment is 78% valid code; is this commented out code?
(#79) Inline comments must end in full-stops, exclamation marks, or question marks
(#81) Inline comments must end in full-stops, exclamation marks, or question marks
(#82) Empty IF statement detected
(#83) This comment is 69% valid code; is this commented out code?
(#83) Inline comments must start with a capital letter, digit or 3-dots sequence
(#83) No space found before comment text; expected "// $session->set_source_table('swf_sessions', array('swfid' => backup::VAR_PARENTID));" but found "//$session->set_source_table('swf_sessions', array('swfid' => backup::VAR_PARENTID));"
(#84) Inline comments must end in full-stops, exclamation marks, or question marks
(#84) This comment is 77% valid code; is this commented out code?
(#84) No space found before comment text; expected "// $activity->set_source_table('swf_activities', array('session_id' => '../../session_id'));" but found "//$activity->set_source_table('swf_activities', array('session_id' => '../../session_id'));"
(#87) This comment is 80% valid code; is this commented out code?
(#87) No space found before comment text; expected "// $swf->annotate_ids('scale', 'grade');" but found "//$swf->annotate_ids('scale', 'grade');"
(#88) This comment is 80% valid code; is this commented out code?
(#88) No space found before comment text; expected "// $session->annotate_ids('user', 'user_id');" but found "//$session->annotate_ids('user', 'user_id');"
(#92) Inline comments must end in full-stops, exclamation marks, or question marks
mod/swf/backup/moodle2/restore_swf_activity_task.class.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#28) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Inline comments must end in full-stops, exclamation marks, or question marks
(#47) Inline comments must end in full-stops, exclamation marks, or question marks
(#60) Whitespace found at end of line
(#64) Whitespace found at end of line
(#73) Whitespace found at end of line
(#79) Whitespace found at end of line
(#89) Whitespace found at end of line
(#99) Whitespace found at end of line
(#104) Inline comments must end in full-stops, exclamation marks, or question marks
mod/swf/backup/moodle2/restore_swf_stepslib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#28) Expected MOODLE_INTERNAL check or config.php inclusion
(#32) Inline comments must start with a capital letter, digit or 3-dots sequence
(#32) Inline comments must end in full-stops, exclamation marks, or question marks
(#32) This comment is 64% valid code; is this commented out code?
(#32) No space found before comment text; expected "// $userinfo = $this->get_setting_value('userinfo');" but found "//$userinfo = $this->get_setting_value('userinfo');"
(#34) This comment is 61% valid code; is this commented out code?
(#34) Inline comments must start with a capital letter, digit or 3-dots sequence
(#36) Line exceeds 132 characters; contains 140 characters
(#38) Inline comments must end in full-stops, exclamation marks, or question marks
(#47) This comment is 60% valid code; is this commented out code?
(#47) Inline comments must start with a capital letter, digit or 3-dots sequence
(#47) No space found before comment text; expected "// $data->timeavailable = $this->apply_date_offset($data->timeavailable);" but found "//$data->timeavailable = $this->apply_date_offset($data->timeavailable);"
(#48) This comment is 60% valid code; is this commented out code?
(#48) No space found before comment text; expected "// $data->timedue = $this->apply_date_offset($data->timedue);" but found "//$data->timedue = $this->apply_date_offset($data->timedue);"
(#49) Inline comments must end in full-stops, exclamation marks, or question marks
(#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) This comment is 58% valid code; is this commented out code?
(#71) This comment is 55% valid code; is this commented out code?
(#71) Inline comments must start with a capital letter, digit or 3-dots sequence
(#78) Inline comments must end in full-stops, exclamation marks, or question marks
(#82) Inline comments must end in full-stops, exclamation marks, or question marks
mod/swf/content.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#2) Line 1 of the opening comment must start "// This file is part of".
(#4) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#5) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#6) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#7) Line 6 of the opening comment must start "// (at your option) any later version.".
(#9) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#10) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#12) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#14) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#26) Inline comments must start with a capital letter, digit or 3-dots sequence
(#26) Inline comments must end in full-stops, exclamation marks, or question marks
(#26) This comment is 50% valid code; is this commented out code?
(#28) Inline comments must end in full-stops, exclamation marks, or question marks
(#32) This comment is 48% valid code; is this commented out code?
(#32) Inline comments must start with a capital letter, digit or 3-dots sequence
(#32) No space found before comment text; expected "// $CFG->swf_data_dir = clean_param($CFG->swf_data_dir, PARAM_PATH); // (Optional) Clean the directory setting." but found "//$CFG->swf_data_dir = clean_param($CFG->swf_data_dir, PARAM_PATH); // (Optional) Clean the directory setting."
(#34) Variable "swf_relative_path" must not contain underscores.
(#36) Variable "swf_relative_path" must not contain underscores.
(#38) Commas (,) must be followed by white space.
(#39) Variable "swf_relative_path" must not contain underscores.
(#42) Commas (,) must be followed by white space.
(#44) Variable "swf_data_path" must not contain underscores.
(#44) Variable "swf_relative_path" must not contain underscores.
(#45) This comment is 56% valid code; is this commented out code?
(#49) Inline comments must start with a capital letter, digit or 3-dots sequence
(#50) Variable "swf_data_path" must not contain underscores.
(#51) Variable "swf_data_info" must not contain underscores.
(#51) Variable "swf_data_path" must not contain underscores.
(#52) Variable "swf_mime_type" must not contain underscores.
(#52) Variable "swf_data_info" must not contain underscores.
(#53) Variable "swf_data_path" must not contain underscores.
(#53) Variable "swf_data_info" must not contain underscores.
(#53) Variable "swf_mime_type" must not contain underscores.
(#56) Commas (,) must be followed by white space.
mod/swf/db/access.php
(#2) The opening <?php tag must be followed by exactly one newline.
mod/swf/db/install.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#34) Blank comments are not allowed
(#43) Blank comments are not allowed
mod/swf/db/log.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#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/swf/db/uninstall.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#28) Expected MOODLE_INTERNAL check or config.php inclusion
mod/swf/db/upgrade.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#36) Inline comments must start with a capital letter, digit or 3-dots sequence
(#36) Inline comments must end in full-stops, exclamation marks, or question marks
(#36) This comment is 55% valid code; is this commented out code?
(#36) No space found before comment text; expected "// $dbman = $DB->get_manager(); // loads ddl manager and xmldb classes" but found "//$dbman = $DB->get_manager(); // loads ddl manager and xmldb classes"
(#38) This comment is 44% valid code; is this commented out code?
(#38) Inline comments must start with a capital letter, digit or 3-dots sequence
mod/swf/db/upgradelib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#45) Inline comments must start with a capital letter, digit or 3-dots sequence
(#45) Inline comments must end in full-stops, exclamation marks, or question marks
(#49) This comment is 70% valid code; is this commented out code?
(#49) Inline comments must start with a capital letter, digit or 3-dots sequence
(#49) No space found before comment text; expected "// if (!swf_is_valid_external_fileurl($swf->fileurl)) {" but found "//if (!swf_is_valid_external_fileurl($swf->fileurl)) {"
(#50) Inline comments must end in full-stops, exclamation marks, or question marks
(#53) Line indented incorrectly; expected 12 spaces, found 16
(#54) Variable "file_record" must not contain underscores.
(#54) Expected 1 space before "=>"; 0 found
(#54) Expected 1 space after "=>"; 0 found
(#54) Expected 1 space before "=>"; 0 found
(#54) Expected 1 space after "=>"; 0 found
(#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
(#55) Expected 1 space before "=>"; 0 found
(#55) Expected 1 space after "=>"; 0 found
(#56) Line indented incorrectly; expected 12 spaces, found 20
(#57) Variable "file_record" must not contain underscores.
(#58) Line indented incorrectly; expected 12 spaces, found 20
(#58) Empty CATCH statement detected
(#59) Inline comments must start with a capital letter, digit or 3-dots sequence
(#59) Inline comments must end in full-stops, exclamation marks, or question marks
(#60) Line indented incorrectly; expected 12 spaces, found 20
(#62) Line indented incorrectly; expected 12 spaces, found 16
(#64) Line indented incorrectly; expected 12 spaces, found 16
(#66) Inline comments must start with a capital letter, digit or 3-dots sequence
(#66) Inline comments must end in full-stops, exclamation marks, or question marks
(#66) This comment is 100% valid code; is this commented out code?
(#66) No space found before comment text; expected "// }" but found "//}"
mod/swf/index.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#31) Inline comments must end in full-stops, exclamation marks, or question marks
(#33) Expected "if (...) {\n"; found "if(...)\n{\n"
(#44) Inline comments must end in full-stops, exclamation marks, or question marks
(#51) Inline comments must end in full-stops, exclamation marks, or question marks
(#52) Expected "if (...) {\n"; found "if(...)\n{\n"
(#54) Inline comments must end in full-stops, exclamation marks, or question marks
(#55) Variable "swf_current_user" must not contain underscores.
(#58) Variable "swf_current_user" must not contain underscores.
(#58) Inline comments must end in full-stops, exclamation marks, or question marks
(#61) Inline comments must end in full-stops, exclamation marks, or question marks
(#62) Expected "if (...) {\n"; found "if (...)\n{\n"
(#70) Variable "swf_main_table" must not contain underscores.
(#71) Variable "swf_itemid" must not contain underscores.
(#72) No space found before comment text; expected "// $swf_heatmap_table = swf_init_heatmap_table();" but found "//$swf_heatmap_table = swf_init_heatmap_table();"
(#73) Inline comments must end in full-stops, exclamation marks, or question marks
(#73) No space found before comment text; expected "// $swf_heatmap_weekdays_history = swf_init_heatmap_weekdays_history(); // Stores attempts for heatmap table" but found "//$swf_heatmap_weekdays_history = swf_init_heatmap_weekdays_history(); // Stores attempts for heatmap table"
(#75) Inline comments must end in full-stops, exclamation marks, or question marks
(#76) Expected "foreach (...) {\n"; found "foreach(...)\n{\n"
(#76) Variable "swf_instance" must not contain underscores.
(#78) Inline comments must end in full-stops, exclamation marks, or question marks
(#79) Expected "if (...) {\n"; found "if (...)\n {\n"
(#81) Variable "swf_table_row" must not contain underscores.
(#81) Variable "swf_instance" must not contain underscores.
(#83) Variable "swf_table_row" must not contain underscores.
(#85) Whitespace found at end of line
(#86) Inline comments must end in full-stops, exclamation marks, or question marks
(#87) Variable "swf_table_row" must not contain underscores.
(#87) Variable "swf_instance" must not contain underscores.
(#88) Whitespace found at end of line
(#89) Inline comments must end in full-stops, exclamation marks, or question marks
(#90) Variable "swf_grade_record" must not contain underscores.
(#90) Variable "swf_instance" must not contain underscores.
(#91) Expected "if (...) {\n"; found "if(...)\n {\n"
(#91) Variable "swf_grade_record" must not contain underscores.
(#93) Inline comments must end in full-stops, exclamation marks, or question marks
(#94) Expected 1 space before "=>"; 0 found
(#94) Expected 1 space after "=>"; 0 found
(#95) Expected 1 space before "=>"; 0 found
(#95) Expected 1 space after "=>"; 0 found
(#96) Expected 1 space before "=>"; 0 found
(#96) Expected 1 space after "=>"; 0 found
(#97) Expected 1 space before "=>"; 0 found
(#97) Expected 1 space after "=>"; 0 found
(#97) Variable "swf_instance" must not contain underscores.
(#98) Variable "swf_grade_items" must not contain underscores.
(#99) Expected "foreach (...) {\n"; found "foreach(...)\n {\n"
(#99) Variable "swf_grade_items" must not contain underscores.
(#99) Variable "swf_grade_item" must not contain underscores.
(#101) Variable "swf_itemid" must not contain underscores.
(#101) Variable "swf_grade_item" must not contain underscores.
(#101) Inline comments must end in full-stops, exclamation marks, or question marks
(#103) Whitespace found at end of line
(#104) Inline comments must end in full-stops, exclamation marks, or question marks
(#105) Variable "swf_table_row" must not contain underscores.
(#105) Variable "swf_grade_record" must not contain underscores.
(#106) Whitespace found at end of line
(#107) Inline comments must end in full-stops, exclamation marks, or question marks
(#108) Variable "swf_table_row" must not contain underscores.
(#109) Variable "swf_grade_record" must not contain underscores.
(#110) Variable "swf_grade_record" must not contain underscores.
(#111) Whitespace found at end of line
(#112) Inline comments must end in full-stops, exclamation marks, or question marks
(#113) Variable "swf_table_row" must not contain underscores.
(#114) Whitespace found at end of line
(#115) Inline comments must end in full-stops, exclamation marks, or question marks
(#116) Variable "swf_grade_feedback" must not contain underscores.
(#116) Commas (,) must be followed by white space.
(#116) Variable "swf_grade_record" must not contain underscores.
(#117) Variable "swf_table_row" must not contain underscores.
(#117) Variable "swf_grade_feedback" must not contain underscores.
(#118) Whitespace found at end of line
(#120) Line exceeds 132 characters; contains 133 characters
(#120) Inline comments must end in full-stops, exclamation marks, or question marks
(#120) This comment is 60% valid code; is this commented out code?
(#120) No space found before comment text; expected "// $swf_heatmap_weekdays_history = swf_weekdays_history_push_item_grades($swf_heatmap_weekdays_history, $userid, $swf_itemid);" but found "//$swf_heatmap_weekdays_history = swf_weekdays_history_push_item_grades($swf_heatmap_weekdays_history, $userid, $swf_itemid);"
(#122) Inline comments must end in full-stops, exclamation marks, or question marks
(#123) Variable "swf_table_row" must not contain underscores.
(#124) Expected "for (...) {\n"; found "for(...)\n {\n"
(#126) Variable "swf_table_row" must not contain underscores.
(#129) Variable "swf_main_table" must not contain underscores.
(#129) Variable "swf_table_row" must not contain underscores.
(#132) Variable "swf_current_user" must not contain underscores.
(#132) Variable "swf_current_user" must not contain underscores.
(#135) Inline comments must end in full-stops, exclamation marks, or question marks
(#136) Expected "if (...) {\n"; found "if(...)\n{\n"
(#140) Variable "swf_main_table" must not contain underscores.
(#143) No space found before comment text; expected "// echo $OUTPUT->heading(get_string('heatmap', 'swf'), 3);" but found "//echo $OUTPUT->heading(get_string('heatmap', 'swf'), 3);"
(#144) Inline comments must end in full-stops, exclamation marks, or question marks
(#144) No space found before comment text; expected "// echo html_writer::table(swf_print_heatmap_table($swf_heatmap_table, $swf_heatmap_weekdays_history));" but found "//echo html_writer::table(swf_print_heatmap_table($swf_heatmap_table, $swf_heatmap_weekdays_history));"
(#146) Inline comments must end in full-stops, exclamation marks, or question marks
mod/swf/indexlib.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
(#29) Whitespace found at end of line
(#37) Opening brace should be on the same line as the declaration
(#39) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Expected "if (...) {\n"; found "if(...)\n { // Sort users by last name\n"
(#40) Variable "swf_enrolled_users" must not contain underscores.
(#41) Inline comments must end in full-stops, exclamation marks, or question marks
(#43) Expected "foreach (...) {\n"; found "foreach(...)\n {\n"
(#43) Variable "swf_enrolled_users" must not contain underscores.
(#43) Variable "swf_enrolled_user" must not contain underscores.
(#45) Expected "if (...) {\n"; found "if(...)\n {\n"
(#45) Variable "swf_enrolled_user" must not contain underscores.
(#47) Variable "swf_current_user" must not contain underscores.
(#47) Variable "swf_enrolled_user" must not contain underscores.
(#47) Inline comments must end in full-stops, exclamation marks, or question marks
(#51) Variable "swf_enrolled_user" must not contain underscores.
(#53) Variable "swf_enrolled_user" must not contain underscores.
(#54) Variable "swf_enrolled_user" must not contain underscores.
(#55) Variable "swf_enrolled_user" must not contain underscores.
(#56) Variable "swf_enrolled_user" must not contain underscores.
(#58) Expected "if (...) {\n"; found "if(...)\n { // Sort users by last name\n"
(#59) Inline comments must end in full-stops, exclamation marks, or question marks
(#67) Inline comments must end in full-stops, exclamation marks, or question marks
(#77) Variable "swf_current_user" must not contain underscores.
(#77) Inline comments must end in full-stops, exclamation marks, or question marks
(#79) Variable "swf_current_user" must not contain underscores.
(#83) Whitespace found at end of line
(#87) Variable "course_format" must not contain underscores.
(#88) Opening brace should be on the same line as the declaration
(#89) Inline comments must end in full-stops, exclamation marks, or question marks
(#90) Variable "swf_main_table" must not contain underscores.
(#91) Expected "if (...) {\n"; found "if (...)\n {\n"
(#91) Variable "course_format" must not contain underscores.
(#93) Variable "swf_main_table" must not contain underscores.
(#94) Expected "} else if (...) {\n"; found "} else if (...)\n {\n"
(#94) Expected "if (...) {\n"; found "if (...)\n {\n"
(#94) Variable "course_format" must not contain underscores.
(#96) Variable "swf_main_table" must not contain underscores.
(#98) Variable "swf_main_table" must not contain underscores.
(#100) Variable "swf_main_table" must not contain underscores.
(#101) Variable "swf_main_table" must not contain underscores.
(#102) Variable "swf_main_table" must not contain underscores.
(#103) Variable "swf_main_table" must not contain underscores.
(#103) Inline comments must end in full-stops, exclamation marks, or question marks
(#104) Variable "swf_grade_history_key" must not contain underscores.
(#104) Line exceeds 132 characters; contains 149 characters
(#105) Variable "swf_main_table" must not contain underscores.
(#105) Variable "swf_grade_history_key" must not contain underscores.
(#106) Variable "swf_main_table" must not contain underscores.
(#107) Variable "swf_main_table" must not contain underscores.
(#107) Inline comments must end in full-stops, exclamation marks, or question marks
(#108) Variable "swf_main_table" must not contain underscores.
(#112) Whitespace found at end of line
(#119) Variable "swf_instance" must not contain underscores.
(#120) Opening brace should be on the same line as the declaration
(#122) Expected "if (...) {\n"; found "if (...)\n {\n"
(#122) Variable "swf_instance" must not contain underscores.
(#124) Inline comments must end in full-stops, exclamation marks, or question marks
(#124) No space found before comment text; expected "// Show dimmed if the mod is hidden" but found "//Show dimmed if the mod is hidden"
(#125) Variable "swf_name_column" must not contain underscores.
(#126) Variable "swf_instance" must not contain underscores.
(#127) Variable "swf_instance" must not contain underscores.
(#128) Variable "swf_instance" must not contain underscores.
(#130) Inline comments must end in full-stops, exclamation marks, or question marks
(#130) No space found before comment text; expected "// Show normal if the mod is visible" but found "//Show normal if the mod is visible"
(#131) Variable "swf_name_column" must not contain underscores.
(#132) Variable "swf_instance" must not contain underscores.
(#133) Variable "swf_instance" must not contain underscores.
(#134) Variable "swf_instance" must not contain underscores.
(#136) Whitespace found at end of line
(#137) Inline comments must end in full-stops, exclamation marks, or question marks
(#138) Expected "if (...) {\n"; found "if(...)\n {\n"
(#140) Variable "swf_name_column" must not contain underscores.
(#141) Expected "if (...) {\n"; found "if(...)\n {\n"
(#141) Variable "swf_user_modified" must not contain underscores.
(#141) Variable "swf_instance" must not contain underscores.
(#143) Variable "swf_name_column" must not contain underscores.
(#144) Variable "swf_user_modified" must not contain underscores.
(#146) Variable "swf_user_modified" must not contain underscores.
(#147) Variable "swf_user_modified" must not contain underscores.
(#149) Variable "swf_name_column" must not contain underscores.
(#149) Variable "swf_instance" must not contain underscores.
(#151) Variable "swf_name_column" must not contain underscores.
(#155) Whitespace found at end of line
(#160) Variable "swf_grade_record" must not contain underscores.
(#161) Opening brace should be on the same line as the declaration
(#162) Variable "swf_grade" must not contain underscores.
(#162) Variable "swf_grade_record" must not contain underscores.
(#162) Inline comments must start with a capital letter, digit or 3-dots sequence
(#162) Inline comments must end in full-stops, exclamation marks, or question marks
(#163) Variable "swf_grade_feedback" must not contain underscores.
(#163) Variable "swf_grade_record" must not contain underscores.
(#164) Variable "swf_grade_duration" must not contain underscores.
(#164) Variable "swf_grade_feedback" must not contain underscores.
(#165) Variable "swf_grade_bar" must not contain underscores.
(#165) Variable "swf_grade" must not contain underscores.
(#166) Variable "swf_grade" must not contain underscores.
(#167) Variable "swf_grade" must not contain underscores.
(#168) Variable "swf_grade" must not contain underscores.
(#169) Variable "swf_grade" must not contain underscores.
(#170) Variable "swf_grade" must not contain underscores.
(#171) Blank comments are not allowed
(#172) Variable "swf_grade_duration_date_time" must not contain underscores.
(#172) Variable "swf_grade" must not contain underscores.
(#173) Variable "swf_grade_duration" must not contain underscores.
(#174) Variable "swf_grade_record" must not contain underscores.
(#175) Variable "swf_grade_record" must not contain underscores.
(#176) Variable "swf_grade_bar" must not contain underscores.
(#176) Variable "swf_grade_duration_date_time" must not contain underscores.
(#180) Whitespace found at end of line
(#183) Whitespace found at end of line
(#185) Variable "swf_grade" must not contain underscores.
(#185) Variable "swf_grade_pass" must not contain underscores.
(#186) Opening brace should be on the same line as the declaration
(#187) Expected "if (...) {\n"; found "if(...)\n {\n"
(#187) Variable "swf_grade" must not contain underscores.
(#187) Variable "swf_grade_pass" must not contain underscores.
(#189) Variable "swf_grade_passed" must not contain underscores.
(#193) Variable "swf_grade_passed" must not contain underscores.
(#197) Variable "swf_grade_passed" must not contain underscores.
(#197) Variable "swf_grade_pass" must not contain underscores.
(#201) Whitespace found at end of line
(#209) Variable "swf_grade_items" must not contain underscores.
(#210) Expected "foreach (...) {\n"; found "foreach(...)\n {\n"
(#210) Variable "swf_grade_items" must not contain underscores.
(#210) Variable "swf_grade_item" must not contain underscores.
(#212) Variable "swf_itemid" must not contain underscores.
(#212) Variable "swf_grade_item" must not contain underscores.
(#212) Inline comments must end in full-stops, exclamation marks, or question marks
(#214) Variable "swf_grade_history_records" must not contain underscores.
(#214) Expected 1 space before "=>"; 0 found
(#214) Expected 1 space after "=>"; 0 found
(#214) Variable "swf_itemid" must not contain underscores.
(#214) Expected 1 space before "=>"; 0 found
(#214) Expected 1 space after "=>"; 0 found
(#215) Variable "swf_grade_history_bars" must not contain underscores.
(#216) Variable "swf_grade_history_total_duration" must not contain underscores.
(#217) Variable "swf_grade_history_total_grade" must not contain underscores.
(#218) Variable "swf_count" must not contain underscores.
(#219) Expected "foreach (...) {\n"; found "foreach(...)\n {\n"
(#219) Variable "swf_grade_history_records" must not contain underscores.
(#219) Variable "swf_grade_history_record" must not contain underscores.
(#221) Variable "swf_grade_history_total_grade" must not contain underscores.
(#221) Variable "swf_grade_history_record" must not contain underscores.
(#222) Variable "swf_grade_history_duration" must not contain underscores.
(#222) Variable "swf_grade_history_record" must not contain underscores.
(#223) Variable "swf_grade_history_total_duration" must not contain underscores.
(#223) Variable "swf_grade_history_duration" must not contain underscores.
(#224) Variable "swf_title" must not contain underscores.
(#225) Variable "swf_grade_history_record" must not contain underscores.
(#226) Variable "swf_grade_history_record" must not contain underscores.
(#227) Variable "swf_grade_history_duration" must not contain underscores.
(#228) Variable "swf_grade_history_bars" must not contain underscores.
(#229) Variable "swf_grade_history_record" must not contain underscores.
(#229) Variable "swf_title" must not contain underscores.
(#230) Variable "swf_grade_history_bars" must not contain underscores.
(#231) Variable "swf_grade_history_duration" must not contain underscores.
(#231) Variable "swf_title" must not contain underscores.
(#232) Variable "swf_count" must not contain underscores.
(#234) Expected "if (...) {\n"; found "if(...)\n {\n"
(#234) Variable "swf_count" must not contain underscores.
(#236) Variable "swf_grade_history_bars" must not contain underscores.
(#236) Variable "swf_count" must not contain underscores.
(#237) Variable "swf_grade_history_bars" must not contain underscores.
(#238) Variable "swf_grade_history_total_grade" must not contain underscores.
(#238) Variable "swf_count" must not contain underscores.
(#239) Variable "swf_grade_history_bars" must not contain underscores.
(#240) Variable "swf_grade_history_total_duration" must not contain underscores.
(#240) Variable "swf_count" must not contain underscores.
(#242) Variable "swf_grade_history_bars" must not contain underscores.
(#251) Opening brace should be on the same line as the declaration
(#252) Inline comments must start with a capital letter, digit or 3-dots sequence
(#252) Inline comments must end in full-stops, exclamation marks, or question marks
(#254) Inline comments must start with a capital letter, digit or 3-dots sequence
(#254) Inline comments must end in full-stops, exclamation marks, or question marks
(#255) Variable "divisor_for_minutes" must not contain underscores.
(#256) Variable "divisor_for_minutes" must not contain underscores.
(#257) Expected "if (...) {\n"; found "if(...) {\n"
(#260) Inline comments must start with a capital letter, digit or 3-dots sequence
(#260) Inline comments must end in full-stops, exclamation marks, or question marks
(#261) Variable "divisor_for_seconds" must not contain underscores.
(#261) Variable "divisor_for_minutes" must not contain underscores.
(#262) Variable "divisor_for_seconds" must not contain underscores.
(#263) Expected "if (...) {\n"; found "if(...) {\n"
(#274) Opening brace should be on the same line as the declaration
(#275) Variable "swf_heatmap_table" must not contain underscores.
(#276) Variable "swf_heatmap_table" must not contain underscores.
(#277) Variable "swf_heatmap_table" must not contain underscores.
(#278) Expected "for (...) {\n"; found "for(...)\n {\n"
(#280) Expected "if (...) {\n"; found "if(...)\n {\n"
(#286) Variable "swf_heatmap_table" must not contain underscores.
(#287) Variable "swf_heatmap_table" must not contain underscores.
(#287) Inline comments must end in full-stops, exclamation marks, or question marks
(#289) Whitespace found at end of line
(#290) Variable "swf_heatmap_table" must not contain underscores.
(#298) Opening brace should be on the same line as the declaration
(#299) Variable "swf_weekdays" must not contain underscores.
(#306) Inline comments must end in full-stops, exclamation marks, or question marks
(#307) Expected "for (...) {\n"; found "for(...)\n {\n"
(#309) Variable "swf_heatmap_weekdays_history" must not contain underscores.
(#309) Variable "swf_weekdays" must not contain underscores.
(#310) Expected "for (...) {\n"; found "for(...)\n {\n"
(#312) Variable "swf_heatmap_weekdays_history" must not contain underscores.
(#315) Variable "swf_heatmap_weekdays_history" must not contain underscores.
(#325) Variable "swf_heatmap_weekdays_history" must not contain underscores.
(#325) Variable "swf_itemid" must not contain underscores.
(#326) Opening brace should be on the same line as the declaration
(#328) Variable "swf_grade_history_records" must not contain underscores.
(#328) Expected 1 space before "=>"; 0 found
(#328) Expected 1 space after "=>"; 0 found
(#328) Variable "swf_itemid" must not contain underscores.
(#328) Expected 1 space before "=>"; 0 found
(#328) Expected 1 space after "=>"; 0 found
(#329) Expected "foreach (...) {\n"; found "foreach(...)\n {\n"
(#329) Variable "swf_grade_history_records" must not contain underscores.
(#329) Variable "swf_grade_history_record" must not contain underscores.
(#331) Variable "swf_grade_history_record" must not contain underscores.
(#332) Variable "swf_grade_history_record" must not contain underscores.
(#333) Variable "swf_heatmap_weekdays_history" must not contain underscores.
(#333) Inline comments must end in full-stops, exclamation marks, or question marks
(#335) Variable "swf_heatmap_weekdays_history" must not contain underscores.
(#344) Variable "swf_heatmap_table" must not contain underscores.
(#344) Variable "swf_heatmap_weekdays_history" must not contain underscores.
(#345) Opening brace should be on the same line as the declaration
(#348) Expected "for (...) {\n"; found "for(...) // 7 days (rows)\n { \n"
(#348) Inline comments must end in full-stops, exclamation marks, or question marks
(#349) Whitespace found at end of line
(#350) Expected "for (...) {\n"; found "for(...) // 24 hours (columns)\n { \n"
(#350) Inline comments must end in full-stops, exclamation marks, or question marks
(#351) Whitespace found at end of line
(#352) Expected "if (...) {\n"; found "if(...)\n {\n"
(#352) Variable "swf_heatmap_weekdays_history" must not contain underscores.
(#354) Variable "swf_heatmap_weekdays_history" must not contain underscores.
(#354) Inline comments must end in full-stops, exclamation marks, or question marks
(#356) Inline comments must end in full-stops, exclamation marks, or question marks
(#357) Variable "swf_heatmap_weekdays_history" must not contain underscores.
(#358) Variable "swf_block_size" must not contain underscores.
(#358) Inline comments must start with a capital letter, digit or 3-dots sequence
(#358) Inline comments must end in full-stops, exclamation marks, or question marks
(#359) Variable "swf_heatmap_weekdays_history" must not contain underscores.
(#360) Variable "swf_block_size" must not contain underscores.
(#361) Variable "swf_block_size" must not contain underscores.
(#365) Variable "swf_heatmap_table" must not contain underscores.
(#365) Variable "swf_heatmap_weekdays_history" must not contain underscores.
(#365) Inline comments must end in full-stops, exclamation marks, or question marks
(#367) Variable "swf_heatmap_table" must not contain underscores.
mod/swf/lang/en/swf.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
(#28) Variable "swf_docs" must not contain underscores.
(#32) Inline comments must end in full-stops, exclamation marks, or question marks
(#32) No space found before comment text; expected "// General values" but found "//General values"
(#36) Whitespace found at end of line within string
(#40) Whitespace found at end of line within string
(#44) Whitespace found at end of line within string
(#54) Inline comments must start with a capital letter, digit or 3-dots sequence
(#55) Inline comments must end in full-stops, exclamation marks, or question marks
(#55) No space found before comment text; expected "// Learning App" but found "//Learning App"
(#59) Whitespace found at end of line within string
(#60) Variable "swf_docs" must not contain underscores.
(#67) Expected 1 space before "="; 0 found
(#67) Expected 1 space after "="; 0 found
(#68) Expected 1 space before "="; 0 found
(#68) 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) 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
(#74) Expected 1 space before "="; 0 found
(#74) Expected 1 space after "="; 0 found
(#75) Expected 1 space before "="; 0 found
(#75) Expected 1 space after "="; 0 found
(#76) Expected 1 space before "="; 0 found
(#76) 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
(#80) Inline comments must end in full-stops, exclamation marks, or question marks
(#88) Inline comments must end in full-stops, exclamation marks, or question marks
(#88) No space found before comment text; expected "// Learning Content Data" but found "//Learning Content Data"
(#89) Expected 1 space before "="; 0 found
(#89) Expected 1 space after "="; 0 found
(#123) Variable "swf_docs" must not contain underscores.
(#131) Whitespace found at end of line within string
(#135) Inline comments must end in full-stops, exclamation marks, or question marks
(#144) Inline comments must start with a capital letter, digit or 3-dots sequence
(#145) Inline comments must end in full-stops, exclamation marks, or question marks
(#145) No space found before comment text; expected "// Navigation:" but found "//Navigation:"
(#151) Inline comments must end in full-stops, exclamation marks, or question marks
(#154) Inline comments must start with a capital letter, digit or 3-dots sequence
(#154) Inline comments must end in full-stops, exclamation marks, or question marks
(#194) Inline comments must start with a capital letter, digit or 3-dots sequence
(#194) Inline comments must end in full-stops, exclamation marks, or question marks
(#197) Blank comments are not allowed
(#226) Blank comments are not allowed
mod/swf/lib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#27) Inline doc block comments are not allowed; use "// Comment." instead
(#29) Inline doc block comments are not allowed; use "// Comment." instead
(#31) Inline doc block comments are not allowed; use "// Comment." instead
(#35) 80 slashes comments are not allowed; use "// Comment." instead
(#37) Inline comments must end in full-stops, exclamation marks, or question marks
(#37) 80 slashes comments are not allowed; use "// Comment." instead
(#41) Whitespace found at end of line
(#50) This comment is 47% valid code; is this commented out code?
(#50) Inline comments must start with a capital letter, digit or 3-dots sequence
(#50) Line indented incorrectly; expected at least 8 spaces, found 0
(#50) Expected 1 space before comment text but found 8; use block comment if you need indentation
(#51) Line indented incorrectly; expected at least 8 spaces, found 0
(#51) Expected 1 space before comment text but found 8; use block comment if you need indentation
(#52) Inline comments must end in full-stops, exclamation marks, or question marks
(#52) Line indented incorrectly; expected at least 8 spaces, found 0
(#52) Expected 1 space before comment text but found 8; use block comment if you need indentation
(#53) Closing brace must be on a line by itself
(#54) This comment is 48% valid code; is this commented out code?
(#54) Inline comments must start with a capital letter, digit or 3-dots sequence
(#54) Line indented incorrectly; expected at least 8 spaces, found 0
(#54) Expected 1 space before comment text but found 8; use block comment if you need indentation
(#55) Inline comments must end in full-stops, exclamation marks, or question marks
(#55) Line indented incorrectly; expected at least 8 spaces, found 0
(#55) Expected 1 space before comment text but found 8; use block comment if you need indentation
(#56) Closing brace must be on a line by itself
(#57) This comment is 48% valid code; is this commented out code?
(#57) Inline comments must start with a capital letter, digit or 3-dots sequence
(#57) Line indented incorrectly; expected at least 8 spaces, found 0
(#57) Expected 1 space before comment text but found 8; use block comment if you need indentation
(#58) Inline comments must end in full-stops, exclamation marks, or question marks
(#58) Line indented incorrectly; expected at least 8 spaces, found 0
(#58) Expected 1 space before comment text but found 8; use block comment if you need indentation
(#59) Closing brace must be on a line by itself
(#60) This comment is 48% valid code; is this commented out code?
(#60) Inline comments must start with a capital letter, digit or 3-dots sequence
(#60) Line indented incorrectly; expected at least 8 spaces, found 0
(#60) Expected 1 space before comment text but found 8; use block comment if you need indentation
(#61) Inline comments must end in full-stops, exclamation marks, or question marks
(#61) Line indented incorrectly; expected at least 8 spaces, found 0
(#61) Expected 1 space before comment text but found 8; use block comment if you need indentation
(#62) Whitespace found at end of line
(#63) Line indented incorrectly; expected at least 12 spaces, found 10
(#63) Inline control structures are not allowed
(#64) Line indented incorrectly; expected at least 12 spaces, found 10
(#64) Inline control structures are not allowed
(#75) Whitespace found at end of line
(#82) Opening brace must be the last content on the line
(#82) Line exceeds 132 characters; contains 134 characters
(#82) Inline comments must end in full-stops, exclamation marks, or question marks
(#88) Expected 1 space after ">="; 0 found
(#92) Inline comments must start with a capital letter, digit or 3-dots sequence
(#92) Inline comments must end in full-stops, exclamation marks, or question marks
(#93) Expected 1 space before "=>"; 0 found
(#93) Expected 1 space after "=>"; 0 found
(#94) Inline comments must end in full-stops, exclamation marks, or question marks
(#101) Whitespace found at end of line
(#120) Expected 1 space after ">="; 0 found
(#129) Expected "if (...) {\n"; found "if (...){\n"
(#130) Inline comments must start with a capital letter, digit or 3-dots sequence
(#130) Inline comments must end in full-stops, exclamation marks, or question marks
(#142) Whitespace found at end of line
(#150) Expected 1 space before "=>"; 0 found
(#150) Expected 1 space after "=>"; 0 found
(#154) Inline comments must end in full-stops, exclamation marks, or question marks
(#171) Whitespace found at end of line
(#180) Inline comments must start with a capital letter, digit or 3-dots sequence
(#180) Inline comments must end in full-stops, exclamation marks, or question marks
(#180) No space found before comment text; expected "// if grade was last modified by the user themselves use date graded. Otherwise use date submitted" but found "//if grade was last modified by the user themselves use date graded. Otherwise use date submitted"
(#187) Whitespace found at end of line
(#193) Whitespace found at end of line
(#200) The use of function print_r() is forbidden
(#209) Whitespace found at end of line
(#215) Inline comments must end in full-stops, exclamation marks, or question marks
(#215) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#220) Whitespace found at end of line
(#238) Whitespace found at end of line
(#240) Whitespace found at end of line
(#267) Whitespace found at end of line
(#285) 80 slashes comments are not allowed; use "// Comment." instead
(#287) Inline comments must end in full-stops, exclamation marks, or question marks
(#287) 80 slashes comments are not allowed; use "// Comment." instead
(#303) Expected 1 space before "=>"; 0 found
(#303) Expected 1 space after "=>"; 0 found
(#303) Commas (,) must be followed by white space.
(#303) Expected 1 space before "=>"; 0 found
(#303) Expected 1 space after "=>"; 0 found
(#320) Expected 1 space before "=>"; 0 found
(#320) Expected 1 space after "=>"; 0 found
(#339) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#352) This comment is 53% valid code; is this commented out code?
(#352) Inline comments must start with a capital letter, digit or 3-dots sequence
(#356) Inline comments must end in full-stops, exclamation marks, or question marks
(#357) Line indented incorrectly; expected 0 spaces, found 4
(#357) Closing brace indented incorrectly; expected 0 spaces, found 4
(#358) Line indented incorrectly; expected 0 spaces, found 4
(#358) Expected 1 space before "==="; 2 found
(#360) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#361) Line indented incorrectly; expected 0 spaces, found 4
(#370) Whitespace found at end of line
(#376) Expected 1 space before "=>"; 0 found
(#376) Expected 1 space after "=>"; 0 found
(#385) Whitespace found at end of line
(#392) Whitespace found at end of line
(#393) Inline comments must start with a capital letter, digit or 3-dots sequence
(#393) Inline comments must end in full-stops, exclamation marks, or question marks
(#397) Commas (,) must be followed by white space.
(#397) Commas (,) must be followed by white space.
(#397) Commas (,) must be followed by white space.
(#397) Variable "swf_instance" must not contain underscores.
(#397) Commas (,) must be followed by white space.
(#405) Whitespace found at end of line
(#420) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#420) Expected 1 space before "=>"; 0 found
(#420) Expected 1 space after "=>"; 0 found
(#420) Expected 1 space before "=>"; 0 found
(#420) Expected 1 space after "=>"; 0 found
(#429) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#436) 80 slashes comments are not allowed; use "// Comment." instead
(#438) Inline comments must end in full-stops, exclamation marks, or question marks
(#438) 80 slashes comments are not allowed; use "// Comment." instead
(#473) Inline comments must start with a capital letter, digit or 3-dots sequence
(#485) Inline comments must start with a capital letter, digit or 3-dots sequence
(#485) Inline comments must end in full-stops, exclamation marks, or question marks
(#491) Inline comments must start with a capital letter, digit or 3-dots sequence
(#491) Inline comments must end in full-stops, exclamation marks, or question marks
(#517) Inline comments must start with a capital letter, digit or 3-dots sequence
(#517) Inline comments must end in full-stops, exclamation marks, or question marks
(#520) Inline comments must start with a capital letter, digit or 3-dots sequence
(#520) Inline comments must end in full-stops, exclamation marks, or question marks
(#529) Inline comments must start with a capital letter, digit or 3-dots sequence
(#529) Inline comments must end in full-stops, exclamation marks, or question marks
(#530) Whitespace found at end of line
(#533) 80 slashes comments are not allowed; use "// Comment." instead
(#535) Inline comments must end in full-stops, exclamation marks, or question marks
(#535) 80 slashes comments are not allowed; use "// Comment." instead
(#548) Blank comments are not allowed
(#561) Blank comments are not allowed
(#564) 80 slashes comments are not allowed; use "// Comment." instead
(#566) Inline comments must end in full-stops, exclamation marks, or question marks
(#566) 80 slashes comments are not allowed; use "// Comment." instead
(#576) Expected 1 space before "=>"; 0 found
(#576) Expected 1 space after "=>"; 0 found
(#599) Inline comments must start with a capital letter, digit or 3-dots sequence
(#599) Inline comments must end in full-stops, exclamation marks, or question marks
(#603) Expected 1 space before "=>"; 0 found
(#603) Expected 1 space after "=>"; 0 found
(#603) Expected 1 space before "=>"; 0 found
(#603) Expected 1 space after "=>"; 0 found
(#603) Expected 1 space before "=>"; 0 found
(#603) Expected 1 space after "=>"; 0 found
(#605) Line indented incorrectly; expected at least 4 spaces, found 3
(#632) Expected "if (...) {\n"; found "if(...)\n {\n"
(#636) Expected "if (...) {\n"; found "if(...) // repository dir is not created by Moodle by default\n {\n"
(#636) Inline comments must start with a capital letter, digit or 3-dots sequence
(#636) Inline comments must end in full-stops, exclamation marks, or question marks
(#640) Expected "if (...) {\n"; found "if(...) {\n"
mod/swf/locallib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#27) Inline comments must start with a capital letter, digit or 3-dots sequence
(#27) Inline comments must end in full-stops, exclamation marks, or question marks
(#27) This comment is 100% valid code; is this commented out code?
(#27) No space found before comment text; expected "// require_once("$CFG->libdir/filelib.php");" but found "//require_once("$CFG->libdir/filelib.php");"
(#29) Inline doc block comments are not allowed; use "// Comment." instead
(#32) Inline doc block comments are not allowed; use "// Comment." instead
(#37) This comment is 61% valid code; is this commented out code?
(#44) Inline doc block comments are not allowed; use "// Comment." instead
(#49) This comment is 60% valid code; is this commented out code?
(#59) Whitespace found at end of line
(#60) Inline doc block comments are not allowed; use "// Comment." instead
(#65) This comment is 63% valid code; is this commented out code?
(#70) Inline doc block comments are not allowed; use "// Comment." instead
(#75) This comment is 62% valid code; is this commented out code?
(#81) Inline doc block comments are not allowed; use "// Comment." instead
(#84) Whitespace found at end of line
(#86) This comment is 62% valid code; is this commented out code?
(#92) Inline doc block comments are not allowed; use "// Comment." instead
(#95) Whitespace found at end of line
(#97) This comment is 62% valid code; is this commented out code?
(#102) Whitespace found at end of line
(#103) Inline doc block comments are not allowed; use "// Comment." instead
(#104) Whitespace found at end of line
(#110) This comment is 58% valid code; is this commented out code?
(#124) Whitespace found at end of line
(#125) Inline doc block comments are not allowed; use "// Comment." instead
(#130) This comment is 66% valid code; is this commented out code?
(#160) Whitespace found at end of line
(#161) Inline doc block comments are not allowed; use "// Comment." instead
(#165) This comment is 71% valid code; is this commented out code?
(#175) Whitespace found at end of line
(#176) Inline doc block comments are not allowed; use "// Comment." instead
(#181) This comment is 53% valid code; is this commented out code?
mod/swf/mod_form.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#40) Whitespace found at end of line
(#42) Whitespace found at end of line
(#43) Inline comments must end in full-stops, exclamation marks, or question marks
(#44) Commas (,) must be followed by white space.
(#44) Commas (,) must be followed by white space.
(#45) Expected "if (...) {\n"; found "if(...) {\n"
(#46) Variable "swf_module" must not contain underscores.
(#46) Commas (,) must be followed by white space.
(#46) Inline comments must start with a capital letter, digit or 3-dots sequence
(#46) Inline comments must end in full-stops, exclamation marks, or question marks
(#47) Expected 1 space before "=>"; 0 found
(#47) Expected 1 space after "=>"; 0 found
(#47) Variable "swf_module" must not contain underscores.
(#48) Commas (,) must be followed by white space.
(#48) Inline comments must start with a capital letter, digit or 3-dots sequence
(#48) Inline comments must end in full-stops, exclamation marks, or question marks
(#49) Commas (,) must be followed by white space.
(#49) Commas (,) must be followed by white space.
(#49) Commas (,) must be followed by white space.
(#50) Variable "swf_created" must not contain underscores.
(#50) Commas (,) must be followed by white space.
(#50) Commas (,) must be followed by white space.
(#51) Variable "swf_modified" must not contain underscores.
(#51) Commas (,) must be followed by white space.
(#51) Commas (,) must be followed by white space.
(#51) Line exceeds 132 characters; contains 153 characters
(#52) Commas (,) must be followed by white space.
(#52) Variable "swf_created" must not contain underscores.
(#52) Variable "swf_modified" must not contain underscores.
(#54) Inline comments must start with a capital letter, digit or 3-dots sequence
(#54) No space found before comment text; expected "// -------------------------------------------------------------------------------" but found "//-------------------------------------------------------------------------------"
(#55) Inline comments must end in full-stops, exclamation marks, or question marks
(#57) Whitespace found at end of line
(#58) Inline comments must end in full-stops, exclamation marks, or question marks
(#59) Expected 1 space before "=>"; 0 found
(#59) Expected 1 space after "=>"; 0 found
(#67) Whitespace found at end of line
(#68) Inline comments must end in full-stops, exclamation marks, or question marks
(#70) Whitespace found at end of line
(#76) Inline comments must end in full-stops, exclamation marks, or question marks
(#82) Inline comments must end in full-stops, exclamation marks, or question marks
(#83) Expected 1 space before "=>"; 0 found
(#83) Expected 1 space after "=>"; 0 found
(#87) Expected 1 space before "=>"; 0 found
(#87) Expected 1 space after "=>"; 0 found
(#91) Expected 1 space before "=>"; 0 found
(#91) Expected 1 space after "=>"; 0 found
(#101) Expected 1 space before "=>"; 0 found
(#101) Expected 1 space after "=>"; 0 found
(#104) Expected 1 space before "=>"; 0 found
(#104) Expected 1 space after "=>"; 0 found
(#116) Inline comments must end in full-stops, exclamation marks, or question marks
(#121) Whitespace found at end of line
(#127) Inline comments must end in full-stops, exclamation marks, or question marks
(#132) Inline comments must end in full-stops, exclamation marks, or question marks
(#133) Expected 1 space before "=>"; 0 found
(#133) Expected 1 space after "=>"; 0 found
(#134) Inline comments must start with a capital letter, digit or 3-dots sequence
(#134) Inline comments must end in full-stops, exclamation marks, or question marks
(#137) Whitespace found at end of line
(#142) Inline comments must start with a capital letter, digit or 3-dots sequence
(#142) Inline comments must end in full-stops, exclamation marks, or question marks
(#149) Inline comments must end in full-stops, exclamation marks, or question marks
(#154) Inline comments must end in full-stops, exclamation marks, or question marks
(#155) Expected 1 space before "=>"; 0 found
(#155) Expected 1 space after "=>"; 0 found
(#159) Inline comments must start with a capital letter, digit or 3-dots sequence
(#159) Inline comments must end in full-stops, exclamation marks, or question marks
(#160) Expected 1 space before "=>"; 0 found
(#160) Expected 1 space after "=>"; 0 found
(#166) Line exceeds 132 characters; contains 144 characters
(#166) This comment is 72% valid code; is this commented out code?
(#166) No space found before comment text; expected "// $mform->addElement('filemanager', 'fileurl', get_string('fileurl', 'swf'), array('optional'=>true), swf_get_filemanager_options());" but found "//$mform->addElement('filemanager', 'fileurl', get_string('fileurl', 'swf'), array('optional'=>true), swf_get_filemanager_options());"
(#166) Whitespace found at end of line
(#167) This comment is 77% valid code; is this commented out code?
(#167) No space found before comment text; expected "// $mform->addHelpButton('fileurl', 'fileurl', 'swf');" but found "//$mform->addHelpButton('fileurl', 'fileurl', 'swf');"
(#168) Inline comments must end in full-stops, exclamation marks, or question marks
(#169) Expected 1 space before "=>"; 0 found
(#169) Expected 1 space after "=>"; 0 found
(#173) Inline comments must end in full-stops, exclamation marks, or question marks
(#174) Expected 1 space before "=>"; 0 found
(#174) Expected 1 space after "=>"; 0 found
(#179) Inline comments must end in full-stops, exclamation marks, or question marks
(#180) Variable "swf_name_settings" must not contain underscores.
(#180) Expected 1 space before "=>"; 0 found
(#180) Expected 1 space after "=>"; 0 found
(#181) Variable "swf_value_settings" must not contain underscores.
(#182) Variable "swf_name_settings" must not contain underscores.
(#185) Variable "swf_value_settings" must not contain underscores.
(#187) Variable "swf_name_settings" must not contain underscores.
(#189) Variable "swf_value_settings" must not contain underscores.
(#191) Variable "swf_name_settings" must not contain underscores.
(#193) Variable "swf_value_settings" must not contain underscores.
(#195) Inline comments must end in full-stops, exclamation marks, or question marks
(#196) Variable "swf_value_settings" must not contain underscores.
(#200) Inline comments must end in full-stops, exclamation marks, or question marks
(#201) Expected 1 space before "=>"; 0 found
(#201) Expected 1 space after "=>"; 0 found
(#206) Inline comments must end in full-stops, exclamation marks, or question marks
(#206) Whitespace found at end of line
(#211) Inline comments must end in full-stops, exclamation marks, or question marks
(#212) Expected 1 space before "=>"; 0 found
(#212) Expected 1 space after "=>"; 0 found
(#218) Inline comments must start with a capital letter, digit or 3-dots sequence
(#218) Inline comments must end in full-stops, exclamation marks, or question marks
(#218) No space found before comment text; expected "// -------------------------------------------------------------------------------" but found "//-------------------------------------------------------------------------------"
(#220) Inline comments must end in full-stops, exclamation marks, or question marks
(#230) Whitespace found at end of line
(#231) Inline comments must end in full-stops, exclamation marks, or question marks
(#233) Inline comments must start with a capital letter, digit or 3-dots sequence
(#233) No space found before comment text; expected "// -------------------------------------------------------------------------------" but found "//-------------------------------------------------------------------------------"
(#234) Inline comments must end in full-stops, exclamation marks, or question marks
(#237) Whitespace found at end of line
(#238) Inline doc block comments are not allowed; use "// Comment." instead
(#240) Whitespace found at end of line
(#242) Whitespace found at end of line
(#246) Whitespace found at end of line
(#250) Whitespace found at end of line
(#251) Inline doc block comments are not allowed; use "// Comment." instead
(#257) Whitespace found at end of line
mod/swf/modformlib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#26) Inline comments must start with a capital letter, digit or 3-dots sequence
(#26) Inline comments must end in full-stops, exclamation marks, or question marks
(#26) This comment is 84% valid code; is this commented out code?
(#26) No space found before comment text; expected "// require_once('../../lib/filelib.php'); // For HTML5 embed params" but found "//require_once('../../lib/filelib.php'); // For HTML5 embed params"
(#28) Inline comments must end in full-stops, exclamation marks, or question marks
(#37) Variable "swf_urls" must not contain underscores.
(#42) Variable "swf_filename" must not contain underscores.
(#43) Variable "swf_path_parts" must not contain underscores.
(#43) Variable "swf_filename" must not contain underscores.
(#44) Variable "swf_filename" must not contain underscores.
(#44) Variable "swf_path_parts" must not contain underscores.
(#45) Variable "swf_urls" must not contain underscores.
(#45) Variable "swf_filename" must not contain underscores.
(#45) Variable "swf_path_parts" must not contain underscores.
(#47) Variable "swf_urls" 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
(#53) Expected 1 space before "=>"; 0 found
(#53) Expected 1 space after "=>"; 0 found
(#54) Inline comments must start with a capital letter, digit or 3-dots sequence
(#54) Inline comments must end in full-stops, exclamation marks, or question marks
(#54) This comment is 84% valid code; is this commented out code?
(#54) No space found before comment text; expected "// 'strobe_captioning'=>'Strobe Captioning'); // Not yet implemented" but found "//'strobe_captioning'=>'Strobe Captioning'); // Not yet implemented"
(#58) Expected 1 space(s) before asterisk; 0 found
(#59) Expected 1 space(s) before asterisk; 0 found
(#60) Expected 1 space(s) before asterisk; 0 found
(#61) Expected 1 space(s) before asterisk; 0 found
(#62) Expected 1 space after closing parenthesis; found 0
(#63) Line indented incorrectly; expected at least 4 spaces, found 2
(#67) Whitespace found at end of line
(#70) Expected 1 space(s) before asterisk; 0 found
(#71) Expected 1 space(s) before asterisk; 0 found
(#72) Expected 1 space(s) before asterisk; 0 found
(#73) Expected 1 space(s) before asterisk; 0 found
(#74) Expected 1 space after closing parenthesis; found 0
(#75) Line indented incorrectly; expected at least 4 spaces, found 2
(#86) Expected 1 space(s) before asterisk; 0 found
(#87) Expected 1 space(s) before asterisk; 0 found
(#88) Expected 1 space(s) before asterisk; 0 found
(#89) Expected 1 space(s) before asterisk; 0 found
(#90) Expected 1 space after closing parenthesis; found 0
(#91) Line indented incorrectly; expected at least 4 spaces, found 2
(#93) Whitespace found at end of line
(#96) Expected 1 space(s) before asterisk; 0 found
(#97) Expected 1 space(s) before asterisk; 0 found
(#98) Expected 1 space(s) before asterisk; 0 found
(#99) Expected 1 space(s) before asterisk; 0 found
(#100) Expected 1 space after closing parenthesis; found 0
(#101) Line indented incorrectly; expected at least 4 spaces, found 2
(#104) Whitespace found at end of line
(#107) Expected 1 space(s) before asterisk; 0 found
(#108) Expected 1 space(s) before asterisk; 0 found
(#109) Expected 1 space(s) before asterisk; 0 found
(#109) Whitespace found at end of line
(#110) Expected 1 space(s) before asterisk; 0 found
(#111) Expected 1 space after closing parenthesis; found 0
(#112) Line indented incorrectly; expected at least 4 spaces, found 2
(#115) Whitespace found at end of line
(#118) Expected 1 space(s) before asterisk; 0 found
(#119) Expected 1 space(s) before asterisk; 0 found
(#120) Expected 1 space(s) before asterisk; 0 found
(#120) Whitespace found at end of line
(#121) Expected 1 space(s) before asterisk; 0 found
(#122) Expected 1 space after closing parenthesis; found 0
(#123) Line indented incorrectly; expected at least 4 spaces, found 2
(#130) Whitespace found at end of line
(#147) Variable "swf_content_files" must not contain underscores.
(#148) Inline comments must end in full-stops, exclamation marks, or question marks
(#149) Variable "swf_content_filename" must not contain underscores.
(#150) Variable "swf_content_path" must not contain underscores.
(#150) Commas (,) must be followed by white space.
(#150) Variable "swf_content_filename" must not contain underscores.
(#151) Variable "swf_content_files" must not contain underscores.
(#151) Variable "swf_content_path" must not contain underscores.
(#151) Variable "swf_content_path" must not contain underscores.
(#153) Variable "swf_content_files" must not contain underscores.
(#164) Variable "swf_xml_urls" must not contain underscores.
(#165) Inline comments must end in full-stops, exclamation marks, or question marks
(#166) Variable "swf_xml_filename" must not contain underscores.
(#167) Inline comments must start with a capital letter, digit or 3-dots sequence
(#167) Inline comments must end in full-stops, exclamation marks, or question marks
(#167) This comment is 56% valid code; is this commented out code?
(#167) No space found before comment text; expected "// $swf_xml_path_parts = pathinfo($swf_xml_filename);" but found "//$swf_xml_path_parts = pathinfo($swf_xml_filename);"
(#168) Variable "swf_xml_path" must not contain underscores.
(#168) Commas (,) must be followed by white space.
(#168) Commas (,) must be followed by white space.
(#168) Variable "swf_xml_filename" must not contain underscores.
(#169) Variable "swf_xml_urls" must not contain underscores.
(#169) Variable "swf_xml_path" must not contain underscores.
(#169) Variable "swf_xml_path" must not contain underscores.
(#171) Variable "swf_xml_urls" must not contain underscores.
(#182) Variable "swf_xml_urls" must not contain underscores.
(#183) Inline comments must end in full-stops, exclamation marks, or question marks
(#184) Variable "swf_xml_filename" must not contain underscores.
(#185) Variable "swf_xml_path_parts" must not contain underscores.
(#185) Variable "swf_xml_filename" must not contain underscores.
(#186) Variable "swf_xml_path" must not contain underscores.
(#186) Commas (,) must be followed by white space.
(#186) Commas (,) must be followed by white space.
(#186) Variable "swf_xml_filename" must not contain underscores.
(#187) Variable "swf_xml_urls" must not contain underscores.
(#187) Variable "swf_xml_path" must not contain underscores.
(#187) Variable "swf_xml_path" must not contain underscores.
(#189) Variable "swf_xml_urls" must not contain underscores.
(#198) Expected 1 space after closing parenthesis; found 0
(#200) Inline comments must start with a capital letter, digit or 3-dots sequence
(#200) Inline comments must end in full-stops, exclamation marks, or question marks
(#200) This comment is 85% valid code; is this commented out code?
(#200) No space found before comment text; expected "// 'accepted_types'=> array('audio','video','.xml','.smil','.swf','.txt'), // default is '*'" but found "//'accepted_types'=> array('audio','video','.xml','.smil','.swf','.txt'), // default is '*'"
(#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
(#203) Expected 1 space before "=>"; 0 found
(#203) Expected 1 space after "=>"; 0 found
(#204) Expected 1 space before "=>"; 0 found
(#204) Expected 1 space after "=>"; 0 found
(#224) Inline comments must start with a capital letter, digit or 3-dots sequence
(#224) Inline comments must end in full-stops, exclamation marks, or question marks
mod/swf/scripts/gradeupdate.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#2) Line 1 of the opening comment must start "// This file is part of".
(#4) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#5) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#6) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#7) Line 6 of the opening comment must start "// (at your option) any later version.".
(#9) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#10) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#12) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#14) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#30) Variable "swf_rawgrade" must not contain underscores.
(#31) Variable "swf_elapsed_time" must not contain underscores.
(#32) Variable "swf_feedback" must not contain underscores.
(#38) Usage of ELSEIF not allowed; use ELSE IF instead
(#43) Commas (,) must be followed by white space.
(#43) Commas (,) must be followed by white space.
(#52) Expected "if (...) {\n"; found "if(...)\n{\n"
(#52) Variable "swf_rawgrade" must not contain underscores.
(#54) Commas (,) must be followed by white space.
(#54) Commas (,) must be followed by white space.
(#58) Expected "if (...) {\n"; found "if(...)\n{\n"
(#58) Variable "swf_feedback" must not contain underscores.
(#58) Variable "swf_feedback" must not contain underscores.
(#58) Variable "swf_feedback" must not contain underscores.
(#58) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#60) Variable "swf_feedback" must not contain underscores.
(#60) Commas (,) must be followed by white space.
(#64) Inline comments must end in full-stops, exclamation marks, or question marks
(#65) Expected "if (...) {\n"; found "if(...) {\n"
(#65) Variable "swf_elapsed_time" must not contain underscores.
(#66) Variable "swf_elapsed_time" must not contain underscores.
(#66) Variable "swf_elapsed_time" must not contain underscores.
(#69) Inline comments must end in full-stops, exclamation marks, or question marks
(#70) Variable "swf_return" must not contain underscores.
(#72) Variable "swf_elapsed_time" must not contain underscores.
(#72) Variable "swf_feedback" must not contain underscores.
(#72) Inline comments must start with a capital letter, digit or 3-dots sequence
(#73) Inline comments must end in full-stops, exclamation marks, or question marks
(#74) Variable "swf_rawgrade" must not contain underscores.
(#81) Inline comments must end in full-stops, exclamation marks, or question marks
(#83) Expected "if (...) {\n"; found "if(...) {\n"
(#87) Inline comments must end in full-stops, exclamation marks, or question marks
(#92) Inline comments must end in full-stops, exclamation marks, or question marks
(#93) Variable "grade_update_return" must not contain underscores.
(#93) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#94) Variable "grade_update_return" must not contain underscores.
(#97) Commas (,) must be followed by white space.
(#100) Commas (,) must be followed by white space.
(#103) Commas (,) must be followed by white space.
(#106) Commas (,) must be followed by white space.
(#109) Commas (,) must be followed by white space.
mod/swf/settings.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#29) Whitespace found at end of line
(#30) Variable "swf_width" must not contain underscores.
(#31) Whitespace found at end of line
(#33) Variable "swf_data_dir" must not contain underscores.
(#34) Expected "if (...) {\n"; found "if(...) {\n"
(#35) Variable "swf_data_dir" must not contain underscores.
(#37) Whitespace found at end of line
(#38) Variable "swf_data_dir" must not contain underscores.
(#38) Variable "swf_width" must not contain underscores.
(#38) Line exceeds maximum limit of 180 characters; contains 211 characters
(#39) Whitespace found at end of line
(#40) Variable "swf_width" must not contain underscores.
(#40) Line exceeds maximum limit of 180 characters; contains 197 characters
(#41) Whitespace found at end of line
(#42) Variable "swf_width" must not contain underscores.
(#42) Line exceeds maximum limit of 180 characters; contains 191 characters
(#43) Whitespace found at end of line
mod/swf/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/swf/view.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#28) Inline comments must start with a capital letter, digit or 3-dots sequence
(#29) Inline comments must end in full-stops, exclamation marks, or question marks
(#35) Usage of ELSEIF not allowed; use ELSE IF instead
(#50) No space found before comment text; expected "// $completion = new completion_info($course);" but found "//$completion = new completion_info($course);"
(#51) Inline comments must end in full-stops, exclamation marks, or question marks
(#51) No space found before comment text; expected "// $completion->set_module_viewed($cm);" but found "//$completion->set_module_viewed($cm);"
(#53) Inline comments must start with a capital letter, digit or 3-dots sequence
(#53) Inline comments must end in full-stops, exclamation marks, or question marks
(#53) This comment is 50% valid code; is this commented out code?
(#53) No space found before comment text; expected "// $swf->instance = $id;" but found "//$swf->instance = $id;"
(#58) Variable "swf_namevaluepairs" must not contain underscores.
(#65) Inline comments must end in full-stops, exclamation marks, or question marks
(#66) Variable "swf_xmlurl" must not contain underscores.
(#68) This comment is 42% valid code; is this commented out code?
(#73) Inline comments must end in full-stops, exclamation marks, or question marks
(#74) Variable "swf_xmlurl" must not contain underscores.
(#77) Inline comments must end in full-stops, exclamation marks, or question marks
(#78) Variable "swf_xmlurl" must not contain underscores.
(#81) Inline comments must end in full-stops, exclamation marks, or question marks
(#82) Variable "swf_xmlurl" must not contain underscores.
(#85) Variable "swf_contenturl" must not contain underscores.
(#85) Inline comments must end in full-stops, exclamation marks, or question marks
(#86) Expected "if (...) {\n"; found "if(...) {\n"
(#87) Variable "swf_contenturl" must not contain underscores.
(#87) Inline comments must start with a capital letter, digit or 3-dots sequence
(#87) Inline comments must end in full-stops, exclamation marks, or question marks
(#90) Variable "swf_videourlname" must not contain underscores.
(#90) Inline comments must end in full-stops, exclamation marks, or question marks
(#90) This comment is 50% valid code; is this commented out code?
(#92) Inline comments must end in full-stops, exclamation marks, or question marks
(#93) Variable "swf_alternative_content" must not contain underscores.
(#93) Variable "swf_contenturl" must not contain underscores.
(#94) Variable "swf_url" must not contain underscores.
(#96) Inline comments must end in full-stops, exclamation marks, or question marks
(#97) Variable "swf_videourlname" must not contain underscores.
(#98) Variable "swf_alternative_content" must not contain underscores.
(#98) Variable "swf_contenturl" must not contain underscores.
(#99) Variable "swf_url" must not contain underscores.
(#101) Inline comments must end in full-stops, exclamation marks, or question marks
(#102) Variable "swf_alternative_content" must not contain underscores.
(#103) Variable "swf_url" must not contain underscores.
(#105) Inline comments must end in full-stops, exclamation marks, or question marks
(#106) Variable "swf_alternative_content" must not contain underscores.
(#107) Variable "swf_url" must not contain underscores.
(#110) Variable "swf_alternative_content" must not contain underscores.
(#111) Variable "swf_url" must not contain underscores.
(#114) Inline comments must end in full-stops, exclamation marks, or question marks
(#115) Variable "swf_plugin" must not contain underscores.
(#117) Inline comments must end in full-stops, exclamation marks, or question marks
(#118) Variable "swf_allowfullscreen" must not contain underscores.
(#120) Inline comments must end in full-stops, exclamation marks, or question marks
(#121) Variable "swf_navbar" must not contain underscores.
(#122) Variable "swf_fullbrowser" must not contain underscores.
(#123) Expected "if (...) {\n"; found "if(...)\n{\n"
(#125) Variable "swf_fullbrowser" must not contain underscores.
(#131) Inline comments must end in full-stops, exclamation marks, or question marks
(#132) Variable "swf_html" must not contain underscores.
(#148) Variable "swf_fullbrowser" must not contain underscores.
(#156) Variable "swf_plugin" must not contain underscores.
(#158) Variable "swf_videourlname" must not contain underscores.
(#158) Variable "swf_contenturl" must not contain underscores.
(#164) Variable "swf_xmlurl" must not contain underscores.
(#165) Variable "swf_namevaluepairs" must not contain underscores.
(#167) Variable "swf_allowfullscreen" must not contain underscores.
(#177) Variable "swf_url" must not contain underscores.
(#177) Line exceeds maximum limit of 180 characters; contains 191 characters
(#221) Variable "swf_navbar" must not contain underscores.
(#223) Variable "swf_alternative_content" must not contain underscores.
(#228) Variable "swf_html" must not contain underscores.
mod/swf/viewlib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#26) Inline comments must end in full-stops, exclamation marks, or question marks
(#28) Inline comments must end in full-stops, exclamation marks, or question marks
(#36) Inline comments must end in full-stops, exclamation marks, or question marks
(#37) Variable "swf_namevaluepairs" must not contain underscores.
(#38) Expected "if (...) {\n"; found "if(...) {\n"
(#39) Variable "swf_namevaluepairs" must not contain underscores.
(#42) Expected "if (...) {\n"; found "if(...) {\n"
(#43) Variable "swf_namevaluepairs" must not contain underscores.
(#46) Expected "if (...) {\n"; found "if(...) {\n"
(#47) Variable "swf_namevaluepairs" must not contain underscores.
(#50) Variable "swf_namevaluepairs" must not contain underscores.
(#54) Inline comments must end in full-stops, exclamation marks, or question marks
(#55) Expected "if (...) {\n"; found "if(...) {\n"
(#55) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#58) Expected "if (...) {\n"; found "if(...) {\n"
(#58) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#61) Expected "if (...) {\n"; found "if(...) {\n"
(#61) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#64) Expected "if (...) {\n"; found "if(...) {\n"
(#64) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#76) Expected 1 space after closing parenthesis; found 0
(#87) Variable "swf_fileurl" must not contain underscores.
(#88) Variable "swf_fileurl" must not contain underscores.
(#99) Commas (,) must be followed by white space.
(#101) Commas (,) must be followed by white space.
(#102) Commas (,) must be followed by white space.
(#102) Commas (,) must be followed by white space.
(#103) Commas (,) must be followed by white space.
(#104) Commas (,) must be followed by white space.
(#106) Commas (,) must be followed by white space.
(#107) Commas (,) must be followed by white space.
(#109) Commas (,) must be followed by white space.
(#109) Commas (,) must be followed by white space.
(#109) Line exceeds maximum limit of 180 characters; contains 220 characters
(#113) Line exceeds 132 characters; contains 133 characters
(#122) Variable "swf_xmlurl" must not contain underscores.
(#123) Variable "swf_path_info" must not contain underscores.
(#123) Variable "swf_xmlurl" must not contain underscores.
(#124) Variable "swf_mime_type" must not contain underscores.
(#124) Variable "swf_path_info" must not contain underscores.
(#127) Variable "swf_xmlurl" must not contain underscores.
(#127) Variable "swf_mime_type" must not contain underscores.
(#128) Commas (,) must be followed by white space.
(#130) Variable "swf_xmlurl" must not contain underscores.
(#130) Commas (,) must be followed by white space.
(#130) Commas (,) must be followed by white space.
(#142) Variable "swf_plugin" must not contain underscores.
(#142) Inline comments must end in full-stops, exclamation marks, or question marks
(#145) Variable "swf_plugin" must not contain underscores.
(#147) This comment is 54% valid code; is this commented out code?
(#151) Variable "swf_plugin" must not contain underscores.
(#153) Variable "swf_plugin" must not contain underscores.
(#162) Expected "if (...) {\n"; found "if(...) {\n"
(#165) Expected "if (...) {\n"; found "if(...) {\n"
(#168) Inline comments must start with a capital letter, digit or 3-dots sequence
(#168) Inline comments must end in full-stops, exclamation marks, or question marks
(#180) Expected "if (...) {\n"; found "if(...)\n {\n"
(#183) Variable "swf_usermodified" must not contain underscores.
(#185) Expected "if (...) {\n"; found "if(...) {\n"
(#185) Commas (,) must be followed by white space.
(#185) Commas (,) must be followed by white space.
(#185) Commas (,) must be followed by white space.
(#186) Variable "swf_usermodified" must not contain underscores.
(#186) Commas (,) must be followed by white space.
(#186) Commas (,) must be followed by white space.
(#186) Line exceeds 132 characters; contains 165 characters
(#188) Expected "if (...) {\n"; found "if(...) {\n"
(#189) Variable "swf_right_links" must not contain underscores.
(#190) Commas (,) must be followed by white space.
(#190) Commas (,) must be followed by white space.
(#190) Commas (,) must be followed by white space.
(#190) Commas (,) must be followed by white space.
(#190) Commas (,) must be followed by white space.
(#190) Commas (,) must be followed by white space.
(#190) Line exceeds maximum limit of 180 characters; contains 457 characters
(#193) Variable "swf_right_links" must not contain underscores.
(#194) Commas (,) must be followed by white space.
(#194) Commas (,) must be followed by white space.
(#194) Commas (,) must be followed by white space.
(#194) Commas (,) must be followed by white space.
(#194) Line exceeds maximum limit of 180 characters; contains 293 characters
(#198) Variable "swf_usermodified" must not contain underscores.
(#198) Line exceeds maximum limit of 180 characters; contains 301 characters
(#199) Variable "swf_right_links" must not contain underscores.
(#202) Inline comments must start with a capital letter, digit or 3-dots sequence
(#202) Inline comments must end in full-stops, exclamation marks, or question marks

Javascript coding style problems

(0 errors, 183 warnings)

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

mod/swf/js/swfobject.js
(#4) Line is too long.
(#4) Confusing use of '!'.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Wrap an immediate function invocation in parens to assist the reader in understanding that the expression is the result of a function, and not the function itself.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Avoid arguments.callee.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Avoid arguments.callee.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Avoid arguments.callee.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Wrap an immediate function invocation in parens to assist the reader in understanding that the expression is the result of a function, and not the function itself.
(#4) Missing semicolon.
(#4) Missing 'new' prefix when invoking a constructor.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing 'new' prefix when invoking a constructor.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing 'new' prefix when invoking a constructor.
(#4) Missing 'new' prefix when invoking a constructor.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) 'h' was used before it was defined.
(#4) Missing 'new' prefix when invoking a constructor.
(#4) Missing semicolon.
(#4) Missing 'new' prefix when invoking a constructor.
(#4) Missing semicolon.
(#4) Missing 'new' prefix when invoking a constructor.
(#4) Missing semicolon.
(#4) Avoid arguments.callee.
(#4) Missing semicolon.
(#4) Missing 'new' prefix when invoking a constructor.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing 'new' prefix when invoking a constructor.
(#4) Missing semicolon.
(#4) Missing 'new' prefix when invoking a constructor.
(#4) Missing semicolon.
(#4) Missing 'new' prefix when invoking a constructor.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing 'new' prefix when invoking a constructor.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing 'new' prefix when invoking a constructor.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing 'new' prefix when invoking a constructor.
(#4) Missing semicolon.
(#4) Avoid arguments.callee.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing 'new' prefix when invoking a constructor.
(#4) Missing semicolon.
(#4) Avoid arguments.callee.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing 'new' prefix when invoking a constructor.
(#4) Missing semicolon.
(#4) Confusing use of '!'.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing 'new' prefix when invoking a constructor.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing 'new' prefix when invoking a constructor.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Avoid arguments.callee.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing 'new' prefix when invoking a constructor.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Use '!==' to compare with 'null'.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Wrap an immediate function invocation in parens to assist the reader in understanding that the expression is the result of a function, and not the function itself.
(#4) Missing semicolon.
(#4) Missing 'new' prefix when invoking a constructor.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing 'new' prefix when invoking a constructor.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing 'new' prefix when invoking a constructor.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing 'new' prefix when invoking a constructor.
(#4) Missing 'new' prefix when invoking a constructor.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing 'new' prefix when invoking a constructor.
(#4) Missing 'new' prefix when invoking a constructor.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Use '===' to compare with 'null'.
(#4) Missing 'new' prefix when invoking a constructor.
(#4) Missing semicolon.
(#4) Missing 'new' prefix when invoking a constructor.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Wrap an immediate function invocation in parens to assist the reader in understanding that the expression is the result of a function, and not the function itself.
(#4) 'ActiveXObject' is not defined.
(#4) 'k' is defined but never used.
(#4) 'd' is defined but never used.

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(93 errors, 41 warnings)

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

mod/swf/backup/moodle2/backup_swf_activity_task.class.php
(#2) Empty line found after PHP open tag
(#35) Function backup_swf_activity_task::define_my_settings is not documented
(#40) Function backup_swf_activity_task::define_my_steps is not documented
(#18) No one-line description found in phpdocs for file
(#28) No one-line description found in phpdocs for class backup_swf_activity_task
(#49) Phpdocs for function backup_swf_activity_task::encode_content_links has incomplete parameters list
(#28) Class backup_swf_activity_task does not have @copyright tag
(#28) Class backup_swf_activity_task does not have @license tag
(#48) Not recommended phpdocs tag @global used
mod/swf/backup/moodle2/backup_swf_stepslib.php
(#2) Empty line found after PHP open tag
(#30) Function backup_swf_activity_structure_step::define_structure is not documented
(#18) No one-line description found in phpdocs for file
(#25) Class backup_swf_activity_structure_step does not have @copyright tag
(#25) Class backup_swf_activity_structure_step does not have @license tag
mod/swf/backup/moodle2/restore_swf_activity_task.class.php
(#2) Empty line found after PHP open tag
(#18) No one-line description found in phpdocs for file
(#30) No one-line description found in phpdocs for class restore_swf_activity_task
(#30) Class restore_swf_activity_task does not have @copyright tag
(#30) Class restore_swf_activity_task does not have @license tag
mod/swf/backup/moodle2/restore_swf_stepslib.php
(#2) Empty line found after PHP open tag
(#30) Function restore_swf_activity_structure_step::define_structure is not documented
(#42) Function restore_swf_activity_structure_step::process_swf is not documented
(#55) Function restore_swf_activity_structure_step::process_swf_session is not documented
(#70) Function restore_swf_activity_structure_step::process_swf_session_activity is not documented
(#81) Function restore_swf_activity_structure_step::after_execute is not documented
(#18) No one-line description found in phpdocs for file
(#25) Class restore_swf_activity_structure_step does not have @copyright tag
(#25) Class restore_swf_activity_structure_step does not have @license tag
mod/swf/content.php
(#2) Empty line found after PHP open tag
(#18) No one-line description found in phpdocs for file
mod/swf/db/access.php
(#2) Empty line found after PHP open tag
(#18) No one-line description found in phpdocs for file
mod/swf/db/install.php
(#2) Empty line found after PHP open tag
(#18) No one-line description found in phpdocs for file
(#19) Package mod is not valid
mod/swf/db/log.php
(#2) Empty line found after PHP open tag
(#18) No one-line description found in phpdocs for file
mod/swf/db/uninstall.php
(#2) Empty line found after PHP open tag
(#18) No one-line description found in phpdocs for file
mod/swf/db/upgrade.php
(#2) Empty line found after PHP open tag
(#18) No one-line description found in phpdocs for file
mod/swf/db/upgradelib.php
(#2) Empty line found after PHP open tag
(#18) No one-line description found in phpdocs for file
mod/swf/index.php
(#2) Empty line found after PHP open tag
(#18) No one-line description found in phpdocs for file
mod/swf/indexlib.php
(#2) Empty line found after PHP open tag
(#18) No one-line description found in phpdocs for file
(#28) There is no description in phpdocs for function swf_print_enrolled_users
(#82) There is no description in phpdocs for function swf_init_main_table
(#111) There is no description in phpdocs for function swf_print_name_column
(#154) There is no description in phpdocs for function swf_print_final_grade_column
(#179) There is no description in phpdocs for function swf_print_passed_column
(#200) There is no description in phpdocs for function swf_print_grade_history_graph
(#341) Phpdocs for function swf_print_heatmap_table has incomplete parameters list
(#113) Not recommended phpdocs tag @global used
(#113) Not recommended phpdocs tag @global used
(#202) Not recommended phpdocs tag @global used
(#340) Not recommended phpdocs tag @global used
mod/swf/lang/en/swf.php
(#2) Empty line found after PHP open tag
(#18) No one-line description found in phpdocs for file
mod/swf/lib.php
(#2) Empty line found after PHP open tag
(#35) Found comment starting with three or more slashes
(#37) Found comment starting with three or more slashes
(#285) Found comment starting with three or more slashes
(#287) Found comment starting with three or more slashes
(#436) Found comment starting with three or more slashes
(#438) Found comment starting with three or more slashes
(#533) Found comment starting with three or more slashes
(#535) Found comment starting with three or more slashes
(#564) Found comment starting with three or more slashes
(#566) Found comment starting with three or more slashes
(#18) No one-line description found in phpdocs for file
(#78) Phpdocs for function swf_add_instance has incomplete parameters list
(#111) Phpdocs for function swf_update_instance has incomplete parameters list
(#190) Phpdocs for function swf_user_complete has incomplete parameters list
(#205) Phpdocs for function swf_print_recent_activity has incomplete parameters list
(#236) Phpdocs for function swf_print_recent_mod_activity has incomplete parameters list
(#297) Phpdocs for function swf_scale_used has incomplete parameters list
(#315) Phpdocs for function swf_scale_used_anywhere has incomplete parameters list
(#542) Phpdocs for function swf_extend_navigation has incomplete parameters list
(#571) Phpdocs for function swf_reset_gradebook has incomplete parameters list
(#591) Phpdocs for function swf_reset_userdata has incomplete parameters list
(#611) Phpdocs for function swf_reset_course_form_definition has incomplete parameters list
(#618) Phpdocs for function swf_reset_course_form_defaults has incomplete parameters list
(#42) Invalid phpdocs tag @todo: used
(#76) Invalid phpdocs tag @todo: used
(#143) Invalid phpdocs tag @todo: used
(#194) Invalid phpdocs tag @todo: used
(#210) Invalid phpdocs tag @todo: used
(#221) Invalid phpdocs tag @todo: used
(#239) Invalid phpdocs tag @todo: used
(#383) Invalid phpdocs tag @todo: used
(#383) Invalid phpdocs tag @todo: used
(#406) Invalid phpdocs tag @todo: used
(#278) Not recommended phpdocs tag @example used
(#369) Not recommended phpdocs tag @global used
(#627) Not recommended phpdocs tag @global used
(#237) Invalid inline phpdocs tag @see found
mod/swf/locallib.php
(#2) Empty line found after PHP open tag
(#18) No one-line description found in phpdocs for file
(#105) Not recommended phpdocs tag @global used
(#127) Not recommended phpdocs tag @global used
mod/swf/mod_form.php
(#2) Empty line found after PHP open tag
(#18) No one-line description found in phpdocs for file
(#30) Class mod_swf_mod_form does not have @copyright tag
(#30) Class mod_swf_mod_form does not have @license tag
(#253) Not recommended phpdocs tag @global used
mod/swf/modformlib.php
(#2) Empty line found after PHP open tag
(#50) Function swf_get_plugins is not documented
(#18) No one-line description found in phpdocs for file
(#32) Not recommended phpdocs tag @global used
(#142) Not recommended phpdocs tag @global used
(#159) Not recommended phpdocs tag @global used
(#177) Not recommended phpdocs tag @global used
mod/swf/scripts/gradeupdate.php
(#2) Empty line found after PHP open tag
(#18) No one-line description found in phpdocs for file
(#92) Invalid inline phpdocs tag @return found
mod/swf/settings.php
(#2) Empty line found after PHP open tag
(#18) No one-line description found in phpdocs for file
mod/swf/version.php
(#2) Empty line found after PHP open tag
(#18) No one-line description found in phpdocs for file
mod/swf/view.php
(#2) Empty line found after PHP open tag
(#18) No one-line description found in phpdocs for file
mod/swf/viewlib.php
(#2) Empty line found after PHP open tag
(#53) Function swf_check_customised_flashvars_names is not documented
(#18) No one-line description found in phpdocs for file
(#72) Phpdocs for function swf_get_fileurl has incomplete parameters list
(#93) Phpdocs for function swf_get_alternative_content has incomplete parameters list
(#136) Phpdocs for function swf_get_plugins has incomplete parameters list
(#158) Phpdocs for function swf_get_allowfullscreen has incomplete parameters list
(#176) Phpdocs for function swf_get_navbar has incomplete parameters list
(#71) Not recommended phpdocs tag @global used
(#174) Not recommended phpdocs tag @global used
(#174) Not recommended phpdocs tag @global used

Update savepoints problems

(2 errors, 0 warnings)

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

mod/swf/db/upgrade.php
Detected more 'if' blocks (1) than 'savepoint' calls (0)
version 2014090500 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]