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

(477 errors, 195 warnings)

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

mod/tab/backup/moodle1/lib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#44) Opening brace should be on the same line as the declaration
(#54) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#67) Opening brace should be on the same line as the declaration
(#69) Inline comments must start with a capital letter, digit or 3-dots sequence
(#69) Inline comments must end in full-stops, exclamation marks, or question marks
(#75) Inline comments must start with a capital letter, digit or 3-dots sequence
(#75) Inline comments must end in full-stops, exclamation marks, or question marks
(#78) Inline comments must start with a capital letter, digit or 3-dots sequence
(#79) This comment is 50% valid code; is this commented out code?
(#79) No space found before comment text; expected "// $this->fileman->filearea = 'tabcontent';" but found "//$this->fileman->filearea = 'tabcontent';"
(#80) This comment is 50% valid code; is this commented out code?
(#80) No space found before comment text; expected "// $this->fileman->itemid = 0;" but found "//$this->fileman->itemid = 0;"
(#81) This comment is 69% valid code; is this commented out code?
(#81) No space found before comment text; expected "// $data['tabcontent'] = moodle1_converter::migrate_referenced_files($data['tabcontent'], $this->fileman);" but found "//$data['tabcontent'] = moodle1_converter::migrate_referenced_files($data['tabcontent'], $this->fileman);"
(#82) Inline comments must end in full-stops, exclamation marks, or question marks
(#88) Expected "foreach (...) {\n"; found "foreach (...)\n {\n"
(#90) Expected "if (...) {\n"; found "if (...)\n {\n"
(#103) Opening brace should be on the same line as the declaration
(#112) Opening brace should be on the same line as the declaration
(#120) Opening brace should be on the same line as the declaration
(#128) Opening brace should be on the same line as the declaration
(#129) Inline comments must start with a capital letter, digit or 3-dots sequence
(#129) Inline comments must end in full-stops, exclamation marks, or question marks
(#135) This comment is 69% valid code; is this commented out code?
mod/tab/backup/moodle2/backup_tab_activity_task.class.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#17) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#18) Inline comments must end in full-stops, exclamation marks, or question marks
(#30) Inline comments must end in full-stops, exclamation marks, or question marks
(#49) Commas (,) must be followed by white space.
(#51) Inline comments must end in full-stops, exclamation marks, or question marks
(#52) Expected 1 space before "="; 0 found
(#52) Expected 1 space after "="; 0 found
(#53) Expected 1 space before "="; 0 found
mod/tab/backup/moodle2/backup_tab_settingslib.php
(#1) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#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".
(#3) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#4) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#4) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#4) Line 6 of the opening comment must start "// (at your option) any later version.".
(#4) Line 7 of the opening comment must start "//".
(#4) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#5) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#5) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#5) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#5) Line 12 of the opening comment must start "//".
(#5) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#6) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#18) Inline comments must end in full-stops, exclamation marks, or question marks
mod/tab/backup/moodle2/backup_tab_stepslib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#20) Expected MOODLE_INTERNAL check or config.php inclusion
(#24) Opening brace should be on the same line as the declaration
(#26) Inline comments must end in full-stops, exclamation marks, or question marks
(#29) Inline comments must end in full-stops, exclamation marks, or question marks
(#30) Whitespace found at end of line
(#31) Line exceeds 132 characters; contains 143 characters
(#33) Variable "tab_contents" must not contain underscores.
(#35) Variable "tab_content" must not contain underscores.
(#38) Inline comments must end in full-stops, exclamation marks, or question marks
(#39) Variable "tab_contents" must not contain underscores.
(#40) Variable "tab_contents" must not contain underscores.
(#40) Variable "tab_content" must not contain underscores.
(#41) Inline comments must end in full-stops, exclamation marks, or question marks
(#44) Variable "tab_content" must not contain underscores.
(#49) This comment is 80% valid code; is this commented out code?
(#49) No space found before comment text; expected "// $tab_content->annotate_ids('tabid', 'tabid');" but found "//$tab_content->annotate_ids('tabid', 'tabid');"
(#50) Inline comments must end in full-stops, exclamation marks, or question marks
(#52) Variable "tab_content" must not contain underscores.
(#54) Inline comments must end in full-stops, exclamation marks, or question marks
mod/tab/backup/moodle2/restore_tab_activity_task.class.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#18) Inline comments must end in full-stops, exclamation marks, or question marks
(#31) Opening brace should be on the same line as the declaration
(#32) Inline comments must end in full-stops, exclamation marks, or question marks
(#39) Opening brace should be on the same line as the declaration
(#40) Inline comments must end in full-stops, exclamation marks, or question marks
(#49) Opening brace should be on the same line as the declaration
(#54) Whitespace found at end of line
mod/tab/backup/moodle2/restore_tab_stepslib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#23) Expected MOODLE_INTERNAL check or config.php inclusion
(#27) Opening brace should be on the same line as the declaration
(#34) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#36) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) Opening brace should be on the same line as the declaration
(#49) Inline comments must start with a capital letter, digit or 3-dots sequence
(#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) Opening brace should be on the same line as the declaration
(#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) No space found before comment text; expected "// has related files" but found "//has related files"
(#70) Opening brace should be on the same line as the declaration
(#72) Inline comments must end in full-stops, exclamation marks, or question marks
mod/tab/classes/event/course_module_instance_list_viewed.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#2) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#2) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#2) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#2) Line 6 of the opening comment must start "// (at your option) any later version.".
(#2) Line 7 of the opening comment must start "//".
(#3) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#4) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) Line 12 of the opening comment must start "//".
(#4) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#4) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#18) Closing brace must be on a line by itself
mod/tab/classes/output/renderer.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#24) Expected MOODLE_INTERNAL check or config.php inclusion
mod/tab/classes/output/view.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#3) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#3) Line 7 of the opening comment must start "//".
(#4) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#4) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) Line 12 of the opening comment must start "//".
(#5) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#5) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#19) Whitespace found at end of line
(#24) Expected MOODLE_INTERNAL check or config.php inclusion
(#27) Member variable "courseId" must be all lower-case
(#28) Member variable "courseContext" must be all lower-case
(#32) Whitespace found at end of line
(#40) Variable "courseId" must be all lower-case
(#44) Variable "courseId" must be all lower-case
(#45) Variable "courseId" must be all lower-case
(#50) Whitespace found at end of line
(#77) Private method name "view::getTabMenuContent" must be in lower-case letters only
(#80) Variable "contentSql" must be all lower-case
(#81) Whitespace found at end of line within string
(#82) Whitespace found at end of line within string
(#84) Whitespace found at end of line within string
(#86) Whitespace found at end of line within string
(#90) Variable "contentSql" must be all lower-case
(#94) Inline comments must start with a capital letter, digit or 3-dots sequence
(#94) 3 slashes comments are not allowed; use "// Comment." instead
(#95) Inline comments must end in full-stops, exclamation marks, or question marks
(#95) No space found before comment text; expected "// only print the tabs that have the same menu name" but found "//only print the tabs that have the same menu name"
(#97) Inline comments must start with a capital letter, digit or 3-dots sequence
(#97) Inline comments must end in full-stops, exclamation marks, or question marks
(#97) No space found before comment text; expected "// only print visible tabs within the menu" but found "//only print visible tabs within the menu"
(#115) Private method name "view::getTabContent" must be in lower-case letters only
(#117) Whitespace found at end of line
(#119) Line exceeds 132 characters; contains 176 characters
(#125) No space found before comment text; expected "// New conditions now exist. Must verify if embedding a pdf or url" but found "//New conditions now exist. Must verify if embedding a pdf or url"
(#126) No space found before comment text; expected "// Content must change accordingly" but found "//Content must change accordingly"
(#127) Inline comments must end in full-stops, exclamation marks, or question marks
(#127) This comment is 72% valid code; is this commented out code?
(#127) No space found before comment text; expected "// $pdffile[$key] = $options[$key]->pdffile;" but found "//$pdffile[$key] = $options[$key]->pdffile;"
(#128) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#131) No space found before comment text; expected "// Eventually give option for height within the form. Pass this by others, because it could be confusing." but found "//Eventually give option for height within the form. Pass this by others, because it could be confusing."
(#135) Inline comments must start with a capital letter, digit or 3-dots sequence
(#135) Inline comments must end in full-stops, exclamation marks, or question marks
(#135) No space found before comment text; expected "// todo check url" but found "//todo check url"
(#143) Line exceeds 132 characters; contains 144 characters
(#145) Inline comments must end in full-stops, exclamation marks, or question marks
(#145) No space found before comment text; expected "// PDF" but found "//PDF"
(#158) No space found before comment text; expected "// Enter into proper div" but found "//Enter into proper div"
(#159) Inline comments must end in full-stops, exclamation marks, or question marks
(#159) No space found before comment text; expected "// Check for pdf" but found "//Check for pdf"
(#161) Line exceeds maximum limit of 180 characters; contains 247 characters
(#162) Usage of ELSEIF not allowed; use ELSE IF instead
(#163) Line exceeds maximum limit of 180 characters; contains 241 characters
(#170) Line indented incorrectly; expected at least 16 spaces, found 15
(#170) Whitespace found at end of line
(#176) Whitespace found at end of line
mod/tab/db/access.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".
(#3) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#4) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#4) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#4) Line 6 of the opening comment must start "// (at your option) any later version.".
(#4) Line 7 of the opening comment must start "//".
(#4) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#5) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#5) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#5) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#5) Line 12 of the opening comment must start "//".
(#5) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#6) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
mod/tab/db/upgrade.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#3) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#3) Line 7 of the opening comment must start "//".
(#4) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#4) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) Line 12 of the opening comment must start "//".
(#5) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#5) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#15) Whitespace found at end of line
(#25) Opening brace should be on the same line as the declaration
(#31) Expected "if (...) {\n"; found "if (...)\n {\n"
(#33) Inline comments must end in full-stops, exclamation marks, or question marks
(#33) No space found before comment text; expected "// I changed the menu css. So let's upgrade the code" but found "//I changed the menu css. So let's upgrade the code"
(#62) Inline comments must start with a capital letter, digit or 3-dots sequence
(#62) Inline comments must end in full-stops, exclamation marks, or question marks
(#66) Expected "if (...) {\n"; found "if (...)\n {\n"
(#68) No space found before comment text; expected "// This version empplies that the view.php file has been modified" but found "//This version empplies that the view.php file has been modified"
(#69) No space found before comment text; expected "// No modificsations to the DB have been done" but found "//No modificsations to the DB have been done"
(#70) Inline comments must end in full-stops, exclamation marks, or question marks
(#74) Expected "if (...) {\n"; found "if (...)\n {\n"
(#77) 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 "if (...) {\n"; found "if (...)\n {\n"
(#87) Inline comments must end in full-stops, exclamation marks, or question marks
(#88) Expected "if (...) {\n"; found "if (...)\n {\n"
(#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
(#96) Expected "if (...) {\n"; found "if (...)\n {\n"
(#99) Inline comments must end in full-stops, exclamation marks, or question marks
(#104) Inline comments must end in full-stops, exclamation marks, or question marks
(#105) Expected "if (...) {\n"; found "if (...)\n {\n"
(#109) Expected "if (...) {\n"; found "if (...)\n {\n"
(#114) Inline comments must start with a capital letter, digit or 3-dots sequence
(#114) Inline comments must end in full-stops, exclamation marks, or question marks
(#118) Expected "if (...) {\n"; found "if (...)\n {\n"
(#121) Inline comments must end in full-stops, exclamation marks, or question marks
(#125) Inline comments must end in full-stops, exclamation marks, or question marks
(#128) Inline comments must start with a capital letter, digit or 3-dots sequence
(#128) Inline comments must end in full-stops, exclamation marks, or question marks
(#132) Expected "if (...) {\n"; found "if (...)\n {\n"
(#136) No space found before comment text; expected "// Changes where done in the view.php file" but found "//Changes where done in the view.php file"
(#137) Inline comments must end in full-stops, exclamation marks, or question marks
(#141) Expected "if (...) {\n"; found "if (...)\n {\n"
(#144) Inline comments must end in full-stops, exclamation marks, or question marks
(#148) Inline comments must end in full-stops, exclamation marks, or question marks
(#149) Expected "if (...) {\n"; found "if (...)\n {\n"
(#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
(#157) Expected "if (...) {\n"; found "if (...)\n {\n"
(#160) Inline comments must end in full-stops, exclamation marks, or question marks
(#164) Inline comments must end in full-stops, exclamation marks, or question marks
(#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
(#170) Expected "if (...) {\n"; found "if (...)\n {\n"
(#174) Inline comments must end in full-stops, exclamation marks, or question marks
(#177) Expected "if (...) {\n"; found "if (...)\n {\n"
(#181) Inline comments must end in full-stops, exclamation marks, or question marks
(#184) Expected "if (...) {\n"; found "if (...)\n {\n"
(#187) Inline comments must end in full-stops, exclamation marks, or question marks
(#192) Inline comments must end in full-stops, exclamation marks, or question marks
(#193) Expected "if (...) {\n"; found "if (...)\n {\n"
(#197) Expected "if (...) {\n"; found "if (...)\n {\n"
(#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
(#206) Expected "if (...) {\n"; found "if (...)\n {\n"
(#208) Inline comments must end in full-stops, exclamation marks, or question marks
(#212) Expected "if (...) {\n"; found "if (...)\n {\n"
(#214) Inline comments must end in full-stops, exclamation marks, or question marks
(#218) Expected "if (...) {\n"; found "if (...)\n {\n"
(#220) Inline comments must end in full-stops, exclamation marks, or question marks
(#224) Expected "if (...) {\n"; found "if (...)\n {\n"
(#226) Inline comments must end in full-stops, exclamation marks, or question marks
(#230) Expected "if (...) {\n"; found "if (...)\n {\n"
(#232) Inline comments must start with a capital letter, digit or 3-dots sequence
(#233) Inline comments must end in full-stops, exclamation marks, or question marks
(#234) Whitespace found at end of line
(#235) Inline comments must start with a capital letter, digit or 3-dots sequence
(#235) Inline comments must end in full-stops, exclamation marks, or question marks
(#238) Whitespace found at end of line
(#239) Expected "if (...) {\n"; found "if (...)\n {\n"
(#241) Inline comments must start with a capital letter, digit or 3-dots sequence
(#241) Inline comments must end in full-stops, exclamation marks, or question marks
(#242) Whitespace found at end of line
(#243) Inline comments must start with a capital letter, digit or 3-dots sequence
(#243) Inline comments must end in full-stops, exclamation marks, or question marks
(#246) Whitespace found at end of line
(#247) Expected "if (...) {\n"; found "if (...)\n {\n"
(#249) Inline comments must start with a capital letter, digit or 3-dots sequence
(#249) Inline comments must end in full-stops, exclamation marks, or question marks
(#250) Whitespace found at end of line
(#251) Inline comments must start with a capital letter, digit or 3-dots sequence
(#251) Inline comments must end in full-stops, exclamation marks, or question marks
(#254) Whitespace found at end of line
(#255) Expected "if (...) {\n"; found "if (...)\n {\n"
(#257) Line exceeds 132 characters; contains 142 characters
(#257) Inline comments must start with a capital letter, digit or 3-dots sequence
(#257) Inline comments must end in full-stops, exclamation marks, or question marks
(#258) Whitespace found at end of line
(#259) Inline comments must start with a capital letter, digit or 3-dots sequence
(#259) Inline comments must end in full-stops, exclamation marks, or question marks
(#262) Whitespace found at end of line
(#263) Expected "if (...) {\n"; found "if (...)\n {\n"
(#265) Inline comments must start with a capital letter, digit or 3-dots sequence
(#265) Inline comments must end in full-stops, exclamation marks, or question marks
(#266) Whitespace found at end of line
(#267) Inline comments must start with a capital letter, digit or 3-dots sequence
(#267) Inline comments must end in full-stops, exclamation marks, or question marks
(#270) Whitespace found at end of line
(#271) Expected "if (...) {\n"; found "if (...)\n {\n"
(#273) Inline comments must start with a capital letter, digit or 3-dots sequence
(#273) Inline comments must end in full-stops, exclamation marks, or question marks
(#276) Whitespace found at end of line
(#277) Expected "if (...) {\n"; found "if (...)\n {\n"
(#279) Inline comments must start with a capital letter, digit or 3-dots sequence
(#279) No space found before comment text; expected "// +Patch on backups" but found "//+Patch on backups"
(#280) Inline comments must end in full-stops, exclamation marks, or question marks
(#283) Whitespace found at end of line
(#284) Expected "if (...) {\n"; found "if (...)\n {\n"
(#286) Inline comments must start with a capital letter, digit or 3-dots sequence
(#286) No space found before comment text; expected "// +Patch on filters" but found "//+Patch on filters"
(#287) Inline comments must end in full-stops, exclamation marks, or question marks
(#290) Whitespace found at end of line
(#291) Expected "if (...) {\n"; found "if (...)\n {\n"
(#293) Inline comments must start with a capital letter, digit or 3-dots sequence
(#293) No space found before comment text; expected "// + Moodle 2.6 Update" but found "//+ Moodle 2.6 Update"
(#294) Inline comments must end in full-stops, exclamation marks, or question marks
(#297) Expected "if (...) {\n"; found "if (...)\n {\n"
(#299) Inline comments must start with a capital letter, digit or 3-dots sequence
(#299) No space found before comment text; expected "// + Moodle 3.0 Update" but found "//+ Moodle 3.0 Update"
(#300) Inline comments must end in full-stops, exclamation marks, or question marks
(#303) Expected "if (...) {\n"; found "if (...)\n {\n"
(#305) Inline comments must start with a capital letter, digit or 3-dots sequence
(#305) No space found before comment text; expected "// + Moodle 3.7 Update" but found "//+ Moodle 3.7 Update"
(#306) Inline comments must end in full-stops, exclamation marks, or question marks
mod/tab/index.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#18) Inline comments must start with a capital letter, digit or 3-dots sequence
(#18) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Inline comments must start with a capital letter, digit or 3-dots sequence
(#40) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) No space found before comment text; expected "// log the view information" but found "//log the view information"
(#51) Expected "if (...) {\n"; found "if (...)\n{\n"
(#59) Expected "if (...) {\n"; found "if (...)\n{\n"
(#67) Expected "if (...) {\n"; found "if (...)\n{\n"
(#72) Expected "} else {\n"; found "}\nelse\n{\n"
(#80) Expected "foreach (...) {\n"; found "foreach (...)\n{\n"
(#83) Expected "if (...) {\n"; found "if (...)\n {\n"
(#86) Expected "if (...) {\n"; found "if (...)\n {\n"
(#88) Expected "if (...) {\n"; found "if (...)\n {\n"
(#92) Expected "if (...) {\n"; found "if (...)\n {\n"
(#99) Expected "} else {\n"; found "}\n else\n {\n"
(#104) Inline comments must start with a capital letter, digit or 3-dots sequence
(#104) Inline comments must end in full-stops, exclamation marks, or question marks
mod/tab/lang/en/tab.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".
(#3) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#4) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#4) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#4) Line 6 of the opening comment must start "// (at your option) any later version.".
(#4) Line 7 of the opening comment must start "//".
(#4) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#5) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#5) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#5) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#5) Line 12 of the opening comment must start "//".
(#5) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#6) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#23) Whitespace found at end of line within string
(#24) Whitespace found at end of line within string
(#25) Whitespace found at end of line within string
(#26) Whitespace found at end of line within string
(#27) Whitespace found at end of line within string
(#28) Whitespace found at end of line within string
(#29) Whitespace found at end of line within string
(#30) Whitespace found at end of line within string
mod/tab/lang/fr/tab.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#3) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#3) Line 7 of the opening comment must start "//".
(#4) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#4) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) Line 12 of the opening comment must start "//".
(#5) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#5) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#15) Whitespace found at end of line
mod/tab/lang/fr_ca/tab.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#3) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#3) Line 7 of the opening comment must start "//".
(#4) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#4) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) Line 12 of the opening comment must start "//".
(#5) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#5) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#15) Whitespace found at end of line
mod/tab/lib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#32) Opening brace should be on the same line as the declaration
(#35) Closing brace must be on a line by itself
(#36) Closing brace must be on a line by itself
(#37) Closing brace must be on a line by itself
(#38) Closing brace must be on a line by itself
(#39) Closing brace must be on a line by itself
(#40) Closing brace must be on a line by itself
(#41) Closing brace must be on a line by itself
(#42) Closing brace must be on a line by itself
(#43) Closing brace must be on a line by itself
(#44) Closing brace must be on a line by itself
(#46) Closing brace must be on a line by itself
(#55) Opening brace should be on the same line as the declaration
(#65) Opening brace should be on the same line as the declaration
(#74) Opening brace should be on the same line as the declaration
(#83) Opening brace should be on the same line as the declaration
(#94) Opening brace should be on the same line as the declaration
(#101) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#103) Inline comments must start with a capital letter, digit or 3-dots sequence
(#103) Inline comments must end in full-stops, exclamation marks, or question marks
(#103) No space found before comment text; expected "// insert tabs and content" but found "//insert tabs and content"
(#104) Expected "if (...) {\n"; found "if (...)\n {\n"
(#107) Inline comments must start with a capital letter, digit or 3-dots sequence
(#107) Inline comments must end in full-stops, exclamation marks, or question marks
(#109) Inline comments must end in full-stops, exclamation marks, or question marks
(#109) No space found before comment text; expected "// Replace get_context_instance by the class for moodle 2.6+" but found "//Replace get_context_instance by the class for moodle 2.6+"
(#110) Expected "if (...) {\n"; found "if(...)\n {\n"
(#114) Expected "} else {\n"; found "}\n else\n {\n"
(#118) Line exceeds 132 characters; contains 176 characters
(#120) Expected "foreach (...) {\n"; found "foreach (...)\n {\n"
(#123) Expected "if (...) {\n"; found "if (...)\n {\n"
(#129) Expected "if (...) {\n"; found "if (...)\n {\n"
(#134) Expected "if (...) {\n"; found "if (...)\n {\n"
(#139) Expected "if (...) {\n"; found "if (...)\n {\n"
(#144) Inline comments must end in full-stops, exclamation marks, or question marks
(#144) No space found before comment text; expected "// Must get id number from inserted record to update the editor field (tabcontent)" but found "//Must get id number from inserted record to update the editor field (tabcontent)"
(#145) Variable "newtab_content_id" must not contain underscores.
(#147) Inline comments must start with a capital letter, digit or 3-dots sequence
(#147) No space found before comment text; expected "// tab content is now an array due to the new editor" but found "//tab content is now an array due to the new editor"
(#148) No space found before comment text; expected "// In order to enter file information from the editor" but found "//In order to enter file information from the editor"
(#149) Inline comments must end in full-stops, exclamation marks, or question marks
(#149) No space found before comment text; expected "// We must now update the record once it has been created" but found "//We must now update the record once it has been created"
(#151) Expected "if (...) {\n"; found "if (...)\n {\n"
(#154) Expected "if (...) {\n"; found "if (...)\n {\n"
(#157) Variable "newtab_content_id" must not contain underscores.
(#158) Variable "newtab_content_id" must not contain underscores.
(#158) Line exceeds maximum limit of 180 characters; contains 198 characters
(#169) Whitespace found at end of line
(#170) Whitespace found at end of line
(#179) Opening brace should be on the same line as the declaration
(#189) Expected "foreach (...) {\n"; found "foreach (...)\n {\n"
(#192) Inline comments must start with a capital letter, digit or 3-dots sequence
(#192) Inline comments must end in full-stops, exclamation marks, or question marks
(#194) Inline comments must end in full-stops, exclamation marks, or question marks
(#194) No space found before comment text; expected "// Replace get_context_instance by the class for moodle 2.6+" but found "//Replace get_context_instance by the class for moodle 2.6+"
(#195) Expected "if (...) {\n"; found "if(...)\n {\n"
(#199) Expected "} else {\n"; found "}\n else\n {\n"
(#203) Line exceeds 132 characters; contains 176 characters
(#204) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#211) Inline comments must start with a capital letter, digit or 3-dots sequence
(#211) Inline comments must end in full-stops, exclamation marks, or question marks
(#211) No space found before comment text; expected "// tab content is now an array due to the new editor" but found "//tab content is now an array due to the new editor"
(#214) Expected "if (...) {\n"; found "if (...)\n {\n"
(#216) Line exceeds 132 characters; contains 178 characters
(#222) Expected "if (...) {\n"; found "if (...)\n {//existing tab record\n"
(#223) Inline comments must start with a capital letter, digit or 3-dots sequence
(#223) Inline comments must end in full-stops, exclamation marks, or question marks
(#223) No space found before comment text; expected "// existing tab record" but found "//existing tab record"
(#225) Expected "if (...) {\n"; found "if (...)\n {\n"
(#229) Expected "} else {\n"; found "}\n else\n { //empty old option - needs to be deleted.\n"
(#230) Inline comments must start with a capital letter, digit or 3-dots sequence
(#230) No space found before comment text; expected "// empty old option - needs to be deleted." but found "//empty old option - needs to be deleted."
(#234) Expected "} else {\n"; found "}\n else\n {\n"
(#236) Expected "if (...) {\n"; found "if (...)\n {\n"
(#238) Variable "newtab_content_id" must not contain underscores.
(#239) Inline comments must start with a capital letter, digit or 3-dots sequence
(#239) No space found before comment text; expected "// tab content is now an array due to the new editor" but found "//tab content is now an array due to the new editor"
(#240) No space found before comment text; expected "// In order to enter file information from the editor" but found "//In order to enter file information from the editor"
(#241) Inline comments must end in full-stops, exclamation marks, or question marks
(#241) No space found before comment text; expected "// We must now update the record once it has been created" but found "//We must now update the record once it has been created"
(#243) Expected "if (...) {\n"; found "if (...)\n {\n"
(#246) Expected "if (...) {\n"; found "if (...)\n {\n"
(#249) Variable "newtab_content_id" must not contain underscores.
(#250) Variable "newtab_content_id" must not contain underscores.
(#250) Line exceeds maximum limit of 180 characters; contains 198 characters
(#261) Whitespace found at end of line
(#262) Whitespace found at end of line
(#263) Whitespace found at end of line
(#270) Opening brace should be on the same line as the declaration
(#273) Expected "if (...) {\n"; found "if (...)\n {\n"
(#280) Perl-style comments are not allowed; use "// Comment." instead
(#282) Expected "if (...) {\n"; found "if (...)\n {\n"
(#286) Expected "if (...) {\n"; found "if (...)\n {\n"
(#330) Inline comments must start with a capital letter, digit or 3-dots sequence
(#345) Inline comments must start with a capital letter, digit or 3-dots sequence
(#345) Inline comments must end in full-stops, exclamation marks, or question marks
(#353) Inline comments must start with a capital letter, digit or 3-dots sequence
(#353) Inline comments must end in full-stops, exclamation marks, or question marks
(#372) Opening brace should be on the same line as the declaration
(#375) Inline comments must end in full-stops, exclamation marks, or question marks
(#375) No space found before comment text; expected "// The following code is for security" but found "//The following code is for security"
(#378) Expected "if (...) {\n"; found "if (...)\n {\n"
(#384) Expected "if (...) {\n"; found "if (...)\n {\n"
(#388) Inline comments must start with a capital letter, digit or 3-dots sequence
(#388) Inline comments must end in full-stops, exclamation marks, or question marks
(#388) No space found before comment text; expected "// id of the content row" but found "//id of the content row"
(#391) Inline comments must end in full-stops, exclamation marks, or question marks
(#391) No space found before comment text; expected "// Security - Check if exists" but found "//Security - Check if exists"
(#392) Expected "if (...) {\n"; found "if (...)\n {\n"
(#397) Expected "if (...) {\n"; found "if (...)\n {\n"
(#402) Inline comments must end in full-stops, exclamation marks, or question marks
(#402) No space found before comment text; expected "// Now gather file information" but found "//Now gather file information"
(#407) Expected "if (...) {\n"; found "if (...)\n {\n"
(#412) Inline comments must start with a capital letter, digit or 3-dots sequence
(#412) Inline comments must end in full-stops, exclamation marks, or question marks
(#417) Whitespace found at end of line
(#428) Opening brace should be on the same line as the declaration
(#431) Expected "if (...) {\n"; found "if (...)\n {\n"
(#444) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#448) Whitespace found at end of line
(#457) Opening brace should be on the same line as the declaration
(#460) Expected "if (...) {\n"; found "if (...)\n {\n"
(#471) Expected "} else {\n"; found "}\n else\n {\n"
(#478) Whitespace found at end of line
(#479) Whitespace found at end of line
(#480) Whitespace found at end of line
(#487) Opening brace should be on the same line as the declaration
(#490) Inline comments must end in full-stops, exclamation marks, or question marks
(#490) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#490) Whitespace found at end of line
(#506) Opening brace should be on the same line as the declaration
(#510) Expected "if (...) {\n"; found "if (...)\n {\n"
(#512) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
mod/tab/locallib.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".
(#3) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#4) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#4) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#4) Line 6 of the opening comment must start "// (at your option) any later version.".
(#4) Line 7 of the opening comment must start "//".
(#4) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#5) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#5) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#5) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#5) Line 12 of the opening comment must start "//".
(#5) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#6) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#55) Whitespace found at end of line
(#59) Line exceeds 132 characters; contains 159 characters
(#67) Whitespace found at end of line
(#73) Variable "mtch_bits" must not contain underscores.
(#74) Variable "mtch_bits" must not contain underscores.
(#80) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#100) Variable "force_link" must not contain underscores.
(#102) Variable "id_suffix" must not contain underscores.
(#106) Whitespace found at end of line within string
(#107) Whitespace found at end of line within string
(#108) Whitespace found at end of line within string
(#109) Whitespace found at end of line within string
(#110) Whitespace found at end of line within string
(#114) Whitespace found at end of line within string
(#115) Whitespace found at end of line within string
(#115) Variable "id_suffix" must not contain underscores.
(#116) Whitespace found at end of line within string
(#117) Whitespace found at end of line within string
(#118) Whitespace found at end of line within string
(#119) Whitespace found at end of line within string
(#123) Variable "id_suffix" must not contain underscores.
mod/tab/mod_form.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".
(#3) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#4) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#4) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#4) Line 6 of the opening comment must start "// (at your option) any later version.".
(#4) Line 7 of the opening comment must start "//".
(#4) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#5) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#5) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#5) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#5) Line 12 of the opening comment must start "//".
(#5) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#6) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#30) Whitespace found at end of line
(#32) Visibility must be declared on method "definition"
(#33) Opening brace should be on the same line as the declaration
(#42) Expected "if (...) {\n"; found "if (...)\n {\n"
(#46) Expected "} else {\n"; found "}\n else\n {\n"
(#52) Inline comments must end in full-stops, exclamation marks, or question marks
(#52) No space found before comment text; expected "// Add Intro" but found "//Add Intro"
(#58) Inline comments must end in full-stops, exclamation marks, or question marks
(#58) No space found before comment text; expected "// Have to use this option for postgresqgl to work" but found "//Have to use this option for postgresqgl to work"
(#60) Expected "if (...) {\n"; found "if (...)\n {\n"
(#65) Inline comments must start with a capital letter, digit or 3-dots sequence
(#65) Inline comments must end in full-stops, exclamation marks, or question marks
(#65) No space found before comment text; expected "// following code used to create tabcontent order numbers" but found "//following code used to create tabcontent order numbers"
(#66) Expected "if (...) {\n"; found "if (...)\n {\n"
(#70) Expected "} else {\n"; found "}\n else\n {\n"
(#74) Expected "if (...) {\n"; found "if (...)\n {\n"
(#78) 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
(#78) No space found before comment text; expected "// initialize to prevent warnings" but found "//initialize to prevent warnings"
(#79) Expected "for (...) {\n"; found "for (...)\n {\n"
(#81) Expected "if (...) {\n"; found "if (...)\n {\n"
(#85) Expected "} else {\n"; found "}\n else\n {\n"
(#92) Line exceeds 132 characters; contains 173 characters
(#94) Inline comments must start with a capital letter, digit or 3-dots sequence
(#94) Inline comments must end in full-stops, exclamation marks, or question marks
(#94) No space found before comment text; expected "// -----------------------------for adding tabs---------------------------------------------------------------" but found "//-----------------------------for adding tabs---------------------------------------------------------------"
(#100) Line exceeds 132 characters; contains 158 characters
(#104) Whitespace found at end of line
(#112) Whitespace found at end of line
(#113) Expected "if (...) {\n"; found "if (...)\n {\n"
(#118) Expected "} else {\n"; found "}\n else\n {\n"
(#124) Expected "if (...) {\n"; found "if (...)\n {\n"
(#130) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#132) Line exceeds 132 characters; contains 145 characters
(#133) Inline comments must start with a capital letter, digit or 3-dots sequence
(#133) No space found before comment text; expected "// -----------------------------------------------------------------------------------------------------------------------------------------------" but found "//-----------------------------------------------------------------------------------------------------------------------------------------------"
(#134) No space found before comment text; expected "// *********************************************************************************" but found "//*********************************************************************************"
(#135) No space found before comment text; expected "// *********************Display menu checkbox and name******************************" but found "//*********************Display menu checkbox and name******************************"
(#136) Inline comments must end in full-stops, exclamation marks, or question marks
(#136) No space found before comment text; expected "// *********************************************************************************" but found "//*********************************************************************************"
(#138) Line exceeds 132 characters; contains 140 characters
(#145) Whitespace found at end of line
(#146) Inline comments must start with a capital letter, digit or 3-dots sequence
(#146) No space found before comment text; expected "// *********************************************************************************" but found "//*********************************************************************************"
(#147) Inline comments must end in full-stops, exclamation marks, or question marks
(#147) No space found before comment text; expected "// *********************************************************************************" but found "//*********************************************************************************"
(#155) Inline comments must start with a capital letter, digit or 3-dots sequence
(#155) No space found before comment text; expected "// -------------------------------------------------------------------------------" but found "//-------------------------------------------------------------------------------"
(#156) Inline comments must end in full-stops, exclamation marks, or question marks
(#164) Whitespace found at end of line
(#166) Visibility must be declared on method "data_preprocessing"
(#166) Variable "default_values" must not contain underscores.
(#167) Opening brace should be on the same line as the declaration
(#169) Expected "if (...) {\n"; found "if (...)\n {\n"
(#172) Inline comments must start with a capital letter, digit or 3-dots sequence
(#172) Inline comments must end in full-stops, exclamation marks, or question marks
(#172) This comment is 60% valid code; is this commented out code?
(#176) Line exceeds 132 characters; contains 177 characters
(#177) Expected "foreach (...) {\n"; found "foreach (...)\n {\n"
(#179) Variable "default_values" must not contain underscores.
(#182) Variable "default_values" must not contain underscores.
(#183) Variable "default_values" must not contain underscores.
(#183) Line exceeds maximum limit of 180 characters; contains 211 characters
(#184) Variable "default_values" must not contain underscores.
(#186) Inline comments must start with a capital letter, digit or 3-dots sequence
(#186) Inline comments must end in full-stops, exclamation marks, or question marks
(#186) This comment is 67% valid code; is this commented out code?
(#186) No space found before comment text; expected "// $default_values['format['.$key.']'] = $options[$key]->format;" but found "//$default_values['format['.$key.']'] = $options[$key]->format;"
(#187) Variable "default_values" must not contain underscores.
(#188) Variable "default_values" must not contain underscores.
(#189) Variable "default_values" must not contain underscores.
mod/tab/version.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#16) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#16) Inline comments must end in full-stops, exclamation marks, or question marks
(#20) Inline comments must end in full-stops, exclamation marks, or question marks
mod/tab/view.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#24) 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
(#47) No space found before comment text; expected "// Replace get_context_instance by the class for moodle 2.6+" but found "//Replace get_context_instance by the class for moodle 2.6+"
(#58) Inline comments must end in full-stops, exclamation marks, or question marks
(#62) Inline comments must end in full-stops, exclamation marks, or question marks
(#69) Inline comments must end in full-stops, exclamation marks, or question marks
(#69) No space found before comment text; expected "// Gather css" but found "//Gather css"
(#72) Inline comments must start with a capital letter, digit or 3-dots sequence
(#72) Inline comments must end in full-stops, exclamation marks, or question marks
(#72) No space found before comment text; expected "// log the view information" but found "//log the view information"
(#84) Commas (,) must be followed by white space.

Javascript coding style problems

(59 errors, 10 warnings)

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

mod/tab/module.js
(#1) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#2) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#3) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#4) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#5) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#6) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#7) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#8) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#9) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#10) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#11) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#12) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#13) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#14) Identifier 'mod_tab' is not in camel case. (camelcase)
(#14) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#15) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#16) Missing JSDoc for parameter 'Y'. (valid-jsdoc)
(#16) Missing JSDoc for parameter 'id'. (valid-jsdoc)
(#16) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#17) Identifier 'init_maximised_embed' is not in camel case. (camelcase)
(#17) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#18) Infix operators must be spaced. (space-infix-ops)
(#18) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#19) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#20) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#21) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#22) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#23) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#24) Identifier 'get_htmlelement_size' is not in camel case. (camelcase)
(#24) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#25) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#26) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#27) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#28) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#29) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#30) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#31) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#32) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#33) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#34) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#35) Identifier 'resize_object' is not in camel case. (camelcase)
(#35) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#36) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#37) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#38) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#39) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#40) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#41) Multiple spaces found before '+'. (no-multi-spaces)
(#41) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#42) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#43) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#44) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#45) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#46) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#47) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#48) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#49) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#50) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#51) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#52) Infix operators must be spaced. (space-infix-ops)
(#52) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#53) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#54) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#55) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#56) Comments should not begin with a lowercase character (capitalized-comments)
(#56) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#57) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#58) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#59) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)

CSS problems

(3 errors, 0 warnings)

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

mod/tab/styles.css
(#1) Expected single space before "{" (block-opening-brace-space-before)
(#3) Expected newline after ";" in a multi-line declaration block (declaration-block-semicolon-newline-after)
(#3) Unexpected whitespace at end of line (no-eol-whitespace)

PHPDocs style problems

(92 errors, 62 warnings)

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

mod/tab/backup/moodle1/lib.php
(#2) Empty line found after PHP open tag
(#3) No one-line description found in phpdocs for file
(#62) Phpdocs for function moodle1_mod_tab_handler::process_tab has incomplete parameters list
(#107) Phpdocs for function moodle1_mod_tab_handler::process_tab_content has incomplete parameters list
(#18) Class moodle1_mod_tab_handler does not have @copyright tag
(#18) Class moodle1_mod_tab_handler does not have @license tag
(#9) Not recommended phpdocs tag @name used
(#7) Package mod ** is not valid
mod/tab/backup/moodle2/backup_tab_activity_task.class.php
(#2) Empty line found after PHP open tag
(#3) No one-line description found in phpdocs for file
(#20) No one-line description found in phpdocs for class backup_tab_activity_task
(#20) Class backup_tab_activity_task does not have @copyright tag
(#20) Class backup_tab_activity_task does not have @license tag
(#9) Not recommended phpdocs tag @name used
(#7) Package mod ** is not valid
mod/tab/backup/moodle2/backup_tab_settingslib.php
(#2) Empty line found after PHP open tag
(#3) No one-line description found in phpdocs for file
(#9) Not recommended phpdocs tag @name used
(#7) Package mod ** is not valid
mod/tab/backup/moodle2/backup_tab_stepslib.php
(#2) Empty line found after PHP open tag
(#23) Function backup_tab_activity_structure_step::define_structure is not documented
(#3) No one-line description found in phpdocs for file
(#17) Class backup_tab_activity_structure_step does not have @copyright tag
(#17) Class backup_tab_activity_structure_step does not have @license tag
(#9) Not recommended phpdocs tag @name used
(#7) Package mod ** is not valid
mod/tab/backup/moodle2/restore_tab_activity_task.class.php
(#2) Empty line found after PHP open tag
(#3) No one-line description found in phpdocs for file
(#20) No one-line description found in phpdocs for class restore_tab_activity_task
(#20) Class restore_tab_activity_task does not have @copyright tag
(#20) Class restore_tab_activity_task does not have @license tag
(#9) Not recommended phpdocs tag @name used
(#7) Package mod ** is not valid
mod/tab/backup/moodle2/restore_tab_stepslib.php
(#2) Empty line found after PHP open tag
(#26) Function restore_tab_activity_structure_step::define_structure is not documented
(#40) Function restore_tab_activity_structure_step::process_tab is not documented
(#55) Function restore_tab_activity_structure_step::process_tab_content is not documented
(#69) Function restore_tab_activity_structure_step::after_execute is not documented
(#3) No one-line description found in phpdocs for file
(#20) Class restore_tab_activity_structure_step does not have @copyright tag
(#20) Class restore_tab_activity_structure_step does not have @license tag
(#9) Not recommended phpdocs tag @name used
(#7) Package mod ** is not valid
mod/tab/classes/event/course_module_instance_list_viewed.php
(#2) File-level phpdocs block is not found
(#13) Class course_module_instance_list_viewed does not have @copyright tag
(#13) Class course_module_instance_list_viewed does not have @license tag
(#13) Package is not specified for class course_module_instance_list_viewed. It is also not specified in file-level phpdocs
mod/tab/classes/event/course_module_viewed.php
(#47) Function course_module_viewed::get_objectid_mapping is not documented
(#20) Package mod_page is not valid
(#31) Package mod_page is not valid
mod/tab/classes/output/renderer.php
(#2) Empty line found after PHP open tag
(#26) Function renderer::render_view is not documented
(#3) No one-line description found in phpdocs for file
(#19) Class renderer does not have @copyright tag
(#19) Class renderer does not have @license tag
(#9) Not recommended phpdocs tag @name used
(#7) Package mod ** is not valid
mod/tab/classes/output/view.php
(#77) Function view::getTabMenuContent is not documented
(#115) Function view::getTabContent is not documented
(#26) Variable view::$tab is not documented
(#27) Variable view::$courseId is not documented
(#28) Variable view::$courseContext is not documented
(#29) Variable view::$cm is not documented
(#94) Found comment starting with three or more slashes
(#2) No one-line description found in phpdocs for file
(#18) No one-line description found in phpdocs for class view
(#31) There is no description in phpdocs for function __construct
(#49) There is no description in phpdocs for function export_for_template
(#18) Class view does not have @copyright tag
(#18) Class view does not have @license tag
(#8) Not recommended phpdocs tag @name used
(#20) Not recommended phpdocs tag @global used
(#33) Not recommended phpdocs tag @global used
(#33) Not recommended phpdocs tag @global used
(#33) Not recommended phpdocs tag @global used
(#51) Not recommended phpdocs tag @global used
(#51) Not recommended phpdocs tag @global used
(#6) Package mod ** is not valid
mod/tab/db/access.php
(#2) Empty line found after PHP open tag
(#3) No one-line description found in phpdocs for file
(#9) Not recommended phpdocs tag @name used
(#7) Package mod ** is not valid
mod/tab/db/upgrade.php
(#2) No one-line description found in phpdocs for file
(#8) Not recommended phpdocs tag @name used
(#19) Not recommended phpdocs tag @global used
(#19) Not recommended phpdocs tag @global used
(#6) Package mod ** is not valid
mod/tab/index.php
(#2) Empty line found after PHP open tag
(#3) No one-line description found in phpdocs for file
(#9) Not recommended phpdocs tag @name used
(#7) Package mod ** is not valid
mod/tab/lang/en/tab.php
(#2) Empty line found after PHP open tag
(#3) No one-line description found in phpdocs for file
(#9) Not recommended phpdocs tag @name used
(#7) Package mod ** is not valid
mod/tab/lang/fr/tab.php
(#2) No one-line description found in phpdocs for file
(#8) Not recommended phpdocs tag @name used
(#6) Package mod ** is not valid
mod/tab/lang/fr_ca/tab.php
(#2) No one-line description found in phpdocs for file
(#8) Not recommended phpdocs tag @name used
(#6) Package mod ** is not valid
mod/tab/lib.php
(#2) Empty line found after PHP open tag
(#3) No one-line description found in phpdocs for file
(#61) Phpdocs for function tab_reset_userdata has incomplete parameters list
(#89) Phpdocs for function tab_add_instance has incomplete parameters list
(#175) Phpdocs for function tab_update_instance has incomplete parameters list
(#416) Phpdocs for function tab_user_outline has incomplete parameters list
(#447) Phpdocs for function tab_user_complete has incomplete parameters list
(#477) Phpdocs for function tab_print_recent_activity has incomplete parameters list
(#9) Not recommended phpdocs tag @name used
(#173) Not recommended phpdocs tag @global used
(#173) Not recommended phpdocs tag @global used
(#265) Not recommended phpdocs tag @global used
(#361) Not recommended phpdocs tag @global used
(#361) Not recommended phpdocs tag @global used
(#423) Not recommended phpdocs tag @global used
(#451) Not recommended phpdocs tag @global used
(#451) Not recommended phpdocs tag @global used
(#482) Not recommended phpdocs tag @global used
(#500) Not recommended phpdocs tag @global used
(#500) Not recommended phpdocs tag @global used
(#7) Package mod ** is not valid
mod/tab/locallib.php
(#2) Empty line found after PHP open tag
(#3) No one-line description found in phpdocs for file
(#54) Phpdocs for function tab_get_editor_options has incomplete parameters list
(#91) Phpdocs for function tab_embed_general has incomplete parameters list
(#22) Class tab_content_file_info does not have @copyright tag
(#22) Class tab_content_file_info does not have @license tag
(#9) Not recommended phpdocs tag @name used
(#53) Not recommended phpdocs tag @global used
(#64) Not recommended phpdocs tag @global used
(#64) Not recommended phpdocs tag @global used
(#89) Not recommended phpdocs tag @global used
(#89) Not recommended phpdocs tag @global used
(#7) Package mod ** is not valid
mod/tab/mod_form.php
(#2) Empty line found after PHP open tag
(#3) No one-line description found in phpdocs for file
(#164) Phpdocs for function mod_tab_mod_form::data_preprocessing has incomplete parameters list
(#21) Class mod_tab_mod_form does not have @copyright tag
(#21) Class mod_tab_mod_form does not have @license tag
(#9) Not recommended phpdocs tag @name used
(#29) Not recommended phpdocs tag @global used
(#29) Not recommended phpdocs tag @global used
(#162) Not recommended phpdocs tag @global used
(#162) Not recommended phpdocs tag @global used
(#7) Package mod ** is not valid
mod/tab/version.php
(#2) Empty line found after PHP open tag
(#3) No one-line description found in phpdocs for file
(#9) Not recommended phpdocs tag @name used
(#7) Package mod ** is not valid
mod/tab/view.php
(#2) Empty line found after PHP open tag
(#3) No one-line description found in phpdocs for file
(#9) Not recommended phpdocs tag @name used
(#7) Package mod ** is not valid

Update savepoints problems

(0 errors, 0 warnings)

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


Third party library modification problems

(0 errors, 0 warnings)

This section shows problems detected with the modification of third party libraries [More info]


grunt changes

(1 errors, 1 warnings)

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

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

shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 1 warnings)

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

mod/tab/templates/view.mustache
(#1) Example context missing (@template section not found.)