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

(390 errors, 89 warnings)

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

mod/teambuilder/ajax.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#3) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.
(#6) Inline comments must start with a capital letter, digit or 3-dots sequence
(#6) Inline comments must end in full-stops, exclamation marks, or question marks
(#20) Expected 1 space after "="; 0 found
(#25) Expected 1 space after "="; 0 found
(#30) Expected "if (...) {\n"; found "if(...) {\n"
(#30) Expected 1 space before "!="; 0 found
(#30) Expected 1 space after "!="; 0 found
(#35) Commas (,) must be followed by white space.
(#36) Expected "if (...) {\n"; found "if(...)\n {\n"
(#42) Variable "question_ids" must not contain underscores.
(#43) Expected "foreach (...) {\n"; found "foreach(...)\n {\n"
(#46) Expected "if (...) {\n"; found "if(...) {\n"
(#47) Commas (,) must be followed by white space.
(#53) Variable "question_ids" must not contain underscores.
(#55) 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 "// since we didn't keep references, we need to rebuild the answer base every time" but found "//since we didn't keep references, we need to rebuild the answer base every time"
(#57) Expected "foreach (...) {\n"; found "foreach(...)\n {\n"
(#67) Inline comments must start with a capital letter, digit or 3-dots sequence
(#67) Inline comments must end in full-stops, exclamation marks, or question marks
(#67) No space found before comment text; expected "// find deleted questions" but found "//find deleted questions"
(#68) Expected "foreach (...) {\n"; found "foreach(...)\n {\n"
(#70) Expected "if (...) {\n"; found "if(...)\n {\n"
(#70) Commas (,) must be followed by white space.
(#70) Variable "question_ids" must not contain underscores.
(#77) The use of function print_r() is forbidden
(#77) Commas (,) must be followed by white space.
(#78) Commas (,) must be followed by white space.
(#78) Commas (,) must be followed by white space.
(#78) Line exceeds 132 characters; contains 133 characters
mod/teambuilder/backup/moodle2/backup_teambuilder_activity_task.class.php
(#24) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
mod/teambuilder/backup/moodle2/backup_teambuilder_stepslib.php
(#27) Expected MOODLE_INTERNAL check or config.php inclusion
mod/teambuilder/backup/moodle2/restore_teambuilder_stepslib.php
(#31) Expected MOODLE_INTERNAL check or config.php inclusion
mod/teambuilder/build.php
(#1) Line 1 of the opening comment must start "// This file is part of".
(#1) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1) Inline comments must end in full-stops, exclamation marks, or question marks
(#1) This comment is 49% valid code; is this commented out code?
(#2) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#3) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#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,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#5) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#5) Line 12 of the opening comment must start "//".
(#5) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#6) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#11) Inline comments must start with a capital letter, digit or 3-dots sequence
(#11) Inline comments must end in full-stops, exclamation marks, or question marks
(#11) 3 slashes comments are not allowed; use "// Comment." instead
(#23) Inline comments must start with a capital letter, digit or 3-dots sequence
(#24) Inline comments must end in full-stops, exclamation marks, or question marks
(#27) Variable "grouping_id" must not contain underscores.
(#28) Variable "grouping_name" must not contain underscores.
(#29) Variable "inherit_grouping_name" must not contain underscores.
(#33) Variable "team_names" must not contain underscores.
(#66) Commas (,) must be followed by white space.
(#81) Expected "if (...) {\n"; found "if(...)\n{\n"
(#84) Variable "grouping_name" must not contain underscores.
(#87) Variable "grouping_name" must not contain underscores.
(#90) Variable "grouping_id" must not contain underscores.
(#91) Variable "grouping_name" must not contain underscores.
(#96) Expected "foreach (...) {\n"; found "foreach(...)\n {\n"
(#98) Spaces must be used to indent lines; tabs are not allowed
(#98) Tab found within whitespace
(#98) Line indented incorrectly; expected at least 8 spaces, found 2
(#98) Variable "team_names" must not contain underscores.
(#99) Spaces must be used to indent lines; tabs are not allowed
(#99) Tab found within whitespace
(#99) Line indented incorrectly; expected at least 8 spaces, found 2
(#99) Commas (,) must be followed by white space.
(#100) Variable "inherit_grouping_name" must not contain underscores.
(#100) Variable "grouping_name" must not contain underscores.
(#105) Expected "foreach (...) {\n"; found "foreach(...)\n {\n"
(#107) Commas (,) must be followed by white space.
(#110) Commas (,) must be followed by white space.
(#116) Expected "} else {\n"; found "}\nelse\n{\n"
(#118) Expected "if (...) {\n"; found "if(...) {\n"
(#135) Commas (,) must be followed by white space.
(#135) Commas (,) must be followed by white space.
(#135) Commas (,) must be followed by white space.
(#136) Commas (,) must be followed by white space.
(#136) Commas (,) must be followed by white space.
(#136) Commas (,) must be followed by white space.
(#137) Commas (,) must be followed by white space.
(#137) Commas (,) must be followed by white space.
(#137) Commas (,) must be followed by white space.
(#141) Line exceeds maximum limit of 180 characters; contains 209 characters
(#144) Line indented incorrectly; expected at least 4 spaces, found 0
(#147) Line exceeds maximum limit of 180 characters; contains 288 characters
(#149) Line exceeds maximum limit of 180 characters; contains 205 characters
(#150) Line exceeds 132 characters; contains 145 characters
(#153) Line indented incorrectly; expected 4 spaces, found 0
(#153) Expected "foreach (...) {\n"; found "foreach(...)\n{\n"
(#154) Line indented incorrectly; expected at least 4 spaces, found 0
(#155) Line indented incorrectly; expected at least 8 spaces, found 4
(#156) Line indented incorrectly; expected at least 8 spaces, found 4
(#157) Line indented incorrectly; expected 4 spaces, found 0
(#159) Line indented incorrectly; expected at least 4 spaces, found 0
(#160) Line indented incorrectly; expected 4 spaces, found 0
(#160) Expected "foreach (...) {\n"; found "foreach(...)\n{\n"
(#161) Line indented incorrectly; expected at least 4 spaces, found 0
(#162) Line indented incorrectly; expected at least 8 spaces, found 4
(#163) Line indented incorrectly; expected 4 spaces, found 0
(#165) Line indented incorrectly; expected at least 4 spaces, found 0
(#168) Line exceeds 132 characters; contains 139 characters
(#169) Line exceeds 132 characters; contains 137 characters
(#171) Line exceeds 132 characters; contains 135 characters
(#173) Line exceeds 132 characters; contains 149 characters
(#174) Line exceeds maximum limit of 180 characters; contains 258 characters
(#176) Line exceeds maximum limit of 180 characters; contains 210 characters
(#178) Line exceeds 132 characters; contains 157 characters
(#184) Inline comments must start with a capital letter, digit or 3-dots sequence
(#184) Inline comments must end in full-stops, exclamation marks, or question marks
(#184) This comment is 100% valid code; is this commented out code?
(#184) No space found before comment text; expected "// if($feedback)" but found "//if($feedback)"
mod/teambuilder/db/access.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#3) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#4) Inline comments must start with a capital letter, digit or 3-dots sequence
(#4) Inline comments must end in full-stops, exclamation marks, or question marks
(#4) No space found before comment text; expected "// can add new teambuilder activities" but found "//can add new teambuilder activities"
(#16) Inline comments must start with a capital letter, digit or 3-dots sequence
(#16) Inline comments must end in full-stops, exclamation marks, or question marks
(#16) No space found before comment text; expected "// create survey" but found "//create survey"
(#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) No space found before comment text; expected "// respond to survey" but found "//respond to survey"
(#37) Inline comments must start with a capital letter, digit or 3-dots sequence
(#37) Inline comments must end in full-stops, exclamation marks, or question marks
(#37) No space found before comment text; expected "// build teams from survey response" but found "//build teams from survey response"
mod/teambuilder/db/log.php
(#29) Expected 1 space before "=>"; 0 found
(#29) Expected 1 space after "=>"; 0 found
(#29) Expected 1 space before "=>"; 0 found
(#29) Expected 1 space after "=>"; 0 found
(#29) Expected 1 space before "=>"; 0 found
(#29) Expected 1 space after "=>"; 0 found
(#29) Expected 1 space before "=>"; 0 found
(#29) 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
(#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
mod/teambuilder/db/upgrade.php
(#1) Line 1 of the opening comment must start "// This file is part of".
(#1) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1) Inline comments must end in full-stops, exclamation marks, or question marks
(#1) This comment is 47% valid code; is this commented out code?
(#1) No space found before comment text; expected "// $Id: upgrade.php,v 1.2 2007/08/08 22:36:54 stronk7 Exp $" but found "//$Id: upgrade.php,v 1.2 2007/08/08 22:36:54 stronk7 Exp $"
(#2) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#4) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#5) Line 6 of the opening comment must start "// (at your option) any later version.".
(#7) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#8) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#9) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#10) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#12) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#13) 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
(#20) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#26) Line indented incorrectly; expected at least 4 spaces, found 0
(#26) 3 slashes comments are not allowed; use "// Comment." instead
(#27) Line indented incorrectly; expected at least 4 spaces, found 0
(#27) 3 slashes comments are not allowed; use "// Comment." instead
(#28) Line indented incorrectly; expected at least 4 spaces, found 0
(#28) 3 slashes comments are not allowed; use "// Comment." instead
(#29) Line indented incorrectly; expected at least 4 spaces, found 0
(#29) 3 slashes comments are not allowed; use "// Comment." instead
(#31) Inline comments must start with a capital letter, digit or 3-dots sequence
(#31) Line indented incorrectly; expected at least 4 spaces, found 0
(#31) 3 slashes comments are not allowed; use "// Comment." instead
(#32) Line indented incorrectly; expected at least 4 spaces, found 0
(#32) 3 slashes comments are not allowed; use "// Comment." instead
(#32) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#33) Inline comments must end in full-stops, exclamation marks, or question marks
(#33) Line indented incorrectly; expected at least 4 spaces, found 0
(#33) 3 slashes comments are not allowed; use "// Comment." instead
(#35) Line indented incorrectly; expected at least 4 spaces, found 0
(#35) 3 slashes comments are not allowed; use "// Comment." instead
(#36) Line indented incorrectly; expected at least 4 spaces, found 0
(#36) 3 slashes comments are not allowed; use "// Comment." instead
(#37) Line indented incorrectly; expected at least 4 spaces, found 0
(#37) 3 slashes comments are not allowed; use "// Comment." instead
(#38) Line indented incorrectly; expected at least 4 spaces, found 0
(#38) 3 slashes comments are not allowed; use "// Comment." instead
(#40) Line indented incorrectly; expected at least 4 spaces, found 0
(#40) 3 slashes comments are not allowed; use "// Comment." instead
(#41) Line indented incorrectly; expected at least 4 spaces, found 0
(#41) 3 slashes comments are not allowed; use "// Comment." instead
(#42) Line indented incorrectly; expected at least 4 spaces, found 0
(#42) 3 slashes comments are not allowed; use "// Comment." instead
(#44) Line indented incorrectly; expected at least 4 spaces, found 0
(#44) 3 slashes comments are not allowed; use "// Comment." instead
(#45) Line indented incorrectly; expected at least 4 spaces, found 0
(#45) 3 slashes comments are not allowed; use "// Comment." instead
(#46) Line indented incorrectly; expected at least 4 spaces, found 0
(#46) 3 slashes comments are not allowed; use "// Comment." instead
(#46) Expected 1 space before comment text but found 3; use block comment if you need indentation
(#47) Line indented incorrectly; expected at least 4 spaces, found 0
(#47) 3 slashes comments are not allowed; use "// Comment." instead
(#48) Line indented incorrectly; expected at least 4 spaces, found 0
(#48) 3 slashes comments are not allowed; use "// Comment." instead
(#50) Inline comments must end in full-stops, exclamation marks, or question marks
(#50) Line indented incorrectly; expected at least 4 spaces, found 0
(#50) 3 slashes comments are not allowed; use "// Comment." instead
(#53) Inline comments must end in full-stops, exclamation marks, or question marks
(#53) Line indented incorrectly; expected at least 8 spaces, found 4
(#53) 3 slashes comments are not allowed; use "// Comment." instead
(#57) Inline comments must end in full-stops, exclamation marks, or question marks
(#57) Line indented incorrectly; expected at least 8 spaces, found 4
(#57) 3 slashes comments are not allowed; use "// Comment." instead
(#60) Inline comments must end in full-stops, exclamation marks, or question marks
(#60) Line indented incorrectly; expected at least 8 spaces, found 4
(#60) 3 slashes comments are not allowed; use "// Comment." instead
(#64) Inline comments must end in full-stops, exclamation marks, or question marks
(#64) Line indented incorrectly; expected at least 8 spaces, found 4
(#64) 3 slashes comments are not allowed; use "// Comment." instead
(#67) Inline comments must end in full-stops, exclamation marks, or question marks
(#67) Line indented incorrectly; expected at least 8 spaces, found 4
(#67) 3 slashes comments are not allowed; use "// Comment." instead
(#71) Inline comments must end in full-stops, exclamation marks, or question marks
(#71) Line indented incorrectly; expected at least 8 spaces, found 4
(#71) 3 slashes comments are not allowed; use "// Comment." instead
(#77) Line indented incorrectly; expected at least 4 spaces, found 0
(#77) 3 slashes comments are not allowed; use "// Comment." instead
(#78) Line indented incorrectly; expected at least 4 spaces, found 0
(#78) 3 slashes comments are not allowed; use "// Comment." instead
(#79) Inline comments must end in full-stops, exclamation marks, or question marks
(#79) Line indented incorrectly; expected at least 4 spaces, found 0
(#79) 3 slashes comments are not allowed; use "// Comment." instead
(#82) Inline comments must end in full-stops, exclamation marks, or question marks
(#82) Line indented incorrectly; expected at least 8 spaces, found 4
(#82) 3 slashes comments are not allowed; use "// Comment." instead
(#86) Inline comments must end in full-stops, exclamation marks, or question marks
(#86) Line indented incorrectly; expected at least 8 spaces, found 4
(#86) 3 slashes comments are not allowed; use "// Comment." instead
(#89) Inline comments must end in full-stops, exclamation marks, or question marks
(#89) Line indented incorrectly; expected at least 8 spaces, found 4
(#89) 3 slashes comments are not allowed; use "// Comment." instead
(#93) Inline comments must end in full-stops, exclamation marks, or question marks
(#93) Line indented incorrectly; expected at least 8 spaces, found 4
(#93) 3 slashes comments are not allowed; use "// Comment." instead
(#96) Inline comments must end in full-stops, exclamation marks, or question marks
(#96) Line indented incorrectly; expected at least 8 spaces, found 4
(#96) 3 slashes comments are not allowed; use "// Comment." instead
(#100) Inline comments must end in full-stops, exclamation marks, or question marks
(#100) Line indented incorrectly; expected at least 8 spaces, found 4
(#100) 3 slashes comments are not allowed; use "// Comment." instead
(#106) Inline comments must end in full-stops, exclamation marks, or question marks
(#106) Line indented incorrectly; expected at least 4 spaces, found 0
(#106) 3 slashes comments are not allowed; use "// Comment." instead
(#108) Inline comments must end in full-stops, exclamation marks, or question marks
(#108) Line indented incorrectly; expected at least 8 spaces, found 4
(#108) 3 slashes comments are not allowed; use "// Comment." instead
(#114) Inline comments must end in full-stops, exclamation marks, or question marks
(#114) Line indented incorrectly; expected at least 8 spaces, found 4
(#114) 3 slashes comments are not allowed; use "// Comment." instead
(#116) Inline comments must end in full-stops, exclamation marks, or question marks
(#116) Line indented incorrectly; expected at least 8 spaces, found 4
(#116) 3 slashes comments are not allowed; use "// Comment." instead
(#119) Inline comments must end in full-stops, exclamation marks, or question marks
(#119) Line indented incorrectly; expected at least 8 spaces, found 4
(#119) 3 slashes comments are not allowed; use "// Comment." instead
(#130) Inline comments must end in full-stops, exclamation marks, or question marks
(#138) Line indented incorrectly; expected at least 4 spaces, found 0
(#138) 3 slashes comments are not allowed; use "// Comment." instead
(#139) Line indented incorrectly; expected at least 4 spaces, found 0
(#139) 3 slashes comments are not allowed; use "// Comment." instead
(#140) Line indented incorrectly; expected at least 4 spaces, found 0
(#140) 3 slashes comments are not allowed; use "// Comment." instead
(#141) Line indented incorrectly; expected at least 4 spaces, found 0
(#141) 3 slashes comments are not allowed; use "// Comment." instead
(#143) Line indented incorrectly; expected at least 4 spaces, found 0
(#143) 3 slashes comments are not allowed; use "// Comment." instead
(#144) Line indented incorrectly; expected at least 4 spaces, found 0
(#144) 3 slashes comments are not allowed; use "// Comment." instead
(#145) Line indented incorrectly; expected at least 4 spaces, found 0
(#145) 3 slashes comments are not allowed; use "// Comment." instead
(#147) Line indented incorrectly; expected at least 4 spaces, found 0
(#147) 3 slashes comments are not allowed; use "// Comment." instead
(#148) Inline comments must end in full-stops, exclamation marks, or question marks
(#148) Line indented incorrectly; expected at least 4 spaces, found 0
(#148) 3 slashes comments are not allowed; use "// Comment." instead
(#152) A closing tag is not permitted at the end of a PHP file
mod/teambuilder/index.php
(#1) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1) Inline comments must end in full-stops, exclamation marks, or question marks
(#1) This comment is 49% valid code; is this commented out code?
(#1) 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".
(#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,".
(#4) 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 "//".
(#6) 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/>.".
(#11) Inline comments must end in full-stops, exclamation marks, or question marks
(#11) 3 slashes comments are not allowed; use "// Comment." instead
(#16) Inline comments must start with a capital letter, digit or 3-dots sequence
(#16) Inline comments must end in full-stops, exclamation marks, or question marks
(#32) Inline comments must end in full-stops, exclamation marks, or question marks
(#32) 3 slashes comments are not allowed; use "// Comment." instead
(#38) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) 3 slashes comments are not allowed; use "// Comment." instead
(#41) Expected 1 space before "=>"; 0 found
(#41) Expected 1 space after "=>"; 0 found
(#48) Inline comments must end in full-stops, exclamation marks, or question marks
(#48) 3 slashes comments are not allowed; use "// Comment." instead
(#55) Inline comments must end in full-stops, exclamation marks, or question marks
(#55) 3 slashes comments are not allowed; use "// Comment." instead
(#75) Inline comments must end in full-stops, exclamation marks, or question marks
(#75) No space found before comment text; expected "// Show dimmed if the mod is hidden" but found "//Show dimmed if the mod is hidden"
(#78) Inline comments must end in full-stops, exclamation marks, or question marks
(#78) No space found before comment text; expected "// Show normal if the mod is visible" but found "//Show normal if the mod is visible"
(#92) Inline comments must end in full-stops, exclamation marks, or question marks
(#92) 3 slashes comments are not allowed; use "// Comment." instead
(#97) A closing tag is not permitted at the end of a PHP file
mod/teambuilder/lang/en/teambuilder.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 "//".
(#2) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#2) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#2) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#3) 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/>.".
mod/teambuilder/lib.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion
(#95) Inline comments must end in full-stops, exclamation marks, or question marks
(#95) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#137) Commas (,) must be followed by white space.
(#140) Expected "foreach (...) {\n"; found "foreach(...)\n {\n"
(#143) Expected "if (...) {\n"; found "if(...)\n {\n"
(#145) Expected "foreach (...) {\n"; found "foreach(...)\n {\n"
(#147) Expected "if (...) {\n"; found "if(...) {\n"
(#170) Expected "if (...) {\n"; found "if(...) {\n"
(#171) Expected "if (...) {\n"; found "if(...) {\n"
(#172) Commas (,) must be followed by white space.
(#178) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#179) Commas (,) must be followed by white space.
(#196) Expected "if (...) {\n"; found "if(...) {\n"
mod/teambuilder/mod_form.php
(#17) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#31) Expected 1 space before "=>"; 0 found
(#31) Expected 1 space after "=>"; 0 found
(#45) Inline control structures are not allowed
(#50) Commas (,) must be followed by white space.
(#50) Commas (,) must be followed by white space.
(#50) Commas (,) must be followed by white space.
(#74) Commas (,) must be followed by white space.
(#74) Commas (,) must be followed by white space.
(#74) Commas (,) must be followed by white space.
(#74) Commas (,) must be followed by white space.
(#75) Commas (,) must be followed by white space.
(#77) Commas (,) must be followed by white space.
(#77) Commas (,) must be followed by white space.
mod/teambuilder/view.php
(#25) 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
(#60) Commas (,) must be followed by white space.
(#61) Expected "if (...) {\n"; found "if(...) {\n"
(#62) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#69) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#75) Expected "if (...) {\n"; found "if(...) {\n"
(#76) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#80) Commas (,) must be followed by white space.
(#86) Commas (,) must be followed by white space.
(#93) Inline comments must end in full-stops, exclamation marks, or question marks
(#93) 3 slashes comments are not allowed; use "// Comment." instead
(#97) Inline comments must end in full-stops, exclamation marks, or question marks
(#97) 3 slashes comments are not allowed; use "// Comment." instead
(#101) Expected "if (...) {\n"; found "if(...) {\n"
(#102) Expected "if (...) {\n"; found "if(...) {\n"
(#110) Commas (,) must be followed by white space.
(#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
(#128) No space found before comment text; expected "// first things first: if it's not open, don't show it to students" but found "//first things first: if it's not open, don't show it to students"
(#130) Expected "if (...) {\n"; found "if(...) {\n"
(#130) Expected 1 space before "=="; 0 found
(#130) Expected 1 space after "=="; 0 found
(#131) Line exceeds maximum limit of 180 characters; contains 256 characters
(#132) Expected "} else if (...) {\n"; found "} else if(...) {\n"
(#132) Expected "if (...) {\n"; found "if(...) {\n"
(#132) Expected 1 space before "=="; 0 found
(#132) Expected 1 space after "=="; 0 found
(#133) Line exceeds maximum limit of 180 characters; contains 240 characters
(#136) Expected 1 space before "=="; 0 found
(#136) Expected 1 space after "=="; 0 found
(#138) Inline comments must start with a capital letter, digit or 3-dots sequence
(#138) Inline comments must end in full-stops, exclamation marks, or question marks
(#138) No space found before comment text; expected "// before we start - import the questions" but found "//before we start - import the questions"
(#140) Expected "if (...) {\n"; found "if (...)\n {\n"
(#143) Expected "foreach (...) {\n"; found "foreach(...)\n {\n"
(#147) Commas (,) must be followed by white space.
(#148) Expected "foreach (...) {\n"; found "foreach(...)\n {\n"
(#152) Commas (,) must be followed by white space.
(#158) Commas (,) must be followed by white space.
(#158) Commas (,) must be followed by white space.
(#158) Commas (,) must be followed by white space.
(#159) Commas (,) must be followed by white space.
(#159) Commas (,) must be followed by white space.
(#159) Commas (,) must be followed by white space.
(#160) Commas (,) must be followed by white space.
(#160) Commas (,) must be followed by white space.
(#160) Commas (,) must be followed by white space.
(#163) Expected "if (...) {\n"; found "if(...)\n {\n"
(#165) Line exceeds maximum limit of 180 characters; contains 290 characters
(#169) Inline comments must start with a capital letter, digit or 3-dots sequence
(#169) Inline comments must end in full-stops, exclamation marks, or question marks
(#169) No space found before comment text; expected "// set up initial questions" but found "//set up initial questions"
(#174) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#187) Expected "foreach (...) {\n"; found "foreach(...)\n {\n"
(#196) Expected "if (...) {\n"; found "if(...) {\n"
(#201) Line exceeds maximum limit of 180 characters; contains 184 characters
(#206) Line exceeds 132 characters; contains 151 characters
(#207) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#246) Expected 1 space before "=="; 0 found
(#246) Expected 1 space after "=="; 0 found
(#246) Expected 1 space before "=="; 0 found
(#246) Expected 1 space after "=="; 0 found
(#247) Commas (,) must be followed by white space.
(#248) Commas (,) must be followed by white space.
(#252) Commas (,) must be followed by white space.
(#252) Commas (,) must be followed by white space.
(#252) Commas (,) must be followed by white space.
(#253) Commas (,) must be followed by white space.
(#253) Commas (,) must be followed by white space.
(#253) Commas (,) must be followed by white space.
(#254) Commas (,) must be followed by white space.
(#254) Commas (,) must be followed by white space.
(#254) Commas (,) must be followed by white space.
(#259) Expected "if (...) {\n"; found "if(...) {\n"
(#259) Expected 1 space before "!=="; 0 found
(#259) Expected 1 space after "!=="; 0 found
(#265) Line exceeds maximum limit of 180 characters; contains 217 characters
(#276) Line exceeds maximum limit of 180 characters; contains 217 characters
(#277) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#287) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#297) Line exceeds 132 characters; contains 140 characters
(#318) Inline comments must end in full-stops, exclamation marks, or question marks
(#318) 3 slashes comments are not allowed; use "// Comment." instead

Javascript coding style problems

(4 errors, 1236 warnings)

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

mod/teambuilder/js/build.js
(#34) Expected '{' and instead saw 'x'.
(#44) Expected '{' and instead saw 'maxwidth'.
(#45) Missing semicolon.
(#48) Missing semicolon.
(#68) Creating global 'for' variable. Should be 'for (var i ...'.
(#72) Creating global 'for' variable. Should be 'for (var j ...'.
(#75) Expected '!==' and instead saw '!='.
(#94) Expected '!==' and instead saw '!='.
(#99) Missing semicolon.
(#106) Expected '!==' and instead saw '!='.
(#106) Expected '===' and instead saw '=='.
(#106) Expected '!==' and instead saw '!='.
(#108) Expected '===' and instead saw '=='.
(#121) Missing semicolon.
(#148) Expected '!==' and instead saw '!='.
(#153) Missing semicolon.
(#157) Expected '===' and instead saw '=='.
(#167) Missing semicolon.
(#178) 'updateTeams' was used before it was defined.
(#218) Creating global 'for' variable. Should be 'for (var i ...'.
(#231) Expected '{' and instead saw 'criterion'.
(#233) Expected '{' and instead saw 'criterion'.
(#240) Creating global 'for' variable. Should be 'for (var a ...'.
(#254) 'addNewCriterion' was used before it was defined.
(#269) ['type'] is better written in dot notation.
(#269) Expected '===' and instead saw '=='.
(#270) Expected '{' and instead saw '$'.
(#272) Expected '{' and instead saw '$'.
(#295) Expected '===' and instead saw '=='.
(#296) Expected '{' and instead saw 'oper'.
(#298) Expected '{' and instead saw 'oper'.
(#324) ['type'] is better written in dot notation.
(#324) Expected '===' and instead saw '=='.
(#325) Expected '{' and instead saw '$'.
(#327) Expected '{' and instead saw '$'.
(#349) 'synchroniseViewToModel' was used before it was defined.
(#358) Missing semicolon.
(#360) Missing semicolon.
(#366) 'synchroniseModelToView' was used before it was defined.
(#386) Missing semicolon.
(#393) 'teamDiv' is already defined.
(#394) Creating global 'for' variable. Should be 'for (var j ...'.
(#400) Expected '!==' and instead saw '!='.
(#413) 'getCriterionObjectFromView' was used before it was defined.
(#477) Expected '===' and instead saw '=='.
(#515) Creating global 'for' variable. Should be 'for (var i ...'.
(#527) Creating global 'for' variable. Should be 'for (var j ...'.
(#540) Creating global 'for' variable. Should be 'for (var k ...'.
(#553) Function declarations should not be placed in blocks. Use a function expression or move the statement to the top of the outer function.
(#559) Expected '===' and instead saw '=='.
(#561) Function declarations should not be placed in blocks. Use a function expression or move the statement to the top of the outer function.
(#568) Missing semicolon.
(#579) Function declarations should not be placed in blocks. Use a function expression or move the statement to the top of the outer function.
(#590) Creating global 'for' variable. Should be 'for (var j ...'.
(#599) Expected '{' and instead saw '__debug'.
(#599) Missing semicolon.
(#601) Expected '{' and instead saw '__debug'.
(#607) Creating global 'for' variable. Should be 'for (var j ...'.
(#612) Creating global 'for' variable. Should be 'for (var k ...'.
(#616) Expected '!==' and instead saw '!='.
(#635) Creating global 'for' variable. Should be 'for (var j ...'.
(#657) Creating global 'for' variable. Should be 'for (var j ...'.
(#660) Creating global 'for' variable. Should be 'for (var k ...'.
(#663) Expected '!==' and instead saw '!='.
(#684) 'studentsMeetingCriterionGroup' was used before it was defined.
(#687) Creating global 'for' variable. Should be 'for (var c ...'.
(#692) Creating global 'for' variable. Should be 'for (var s ...'.
(#696) Expected '===' and instead saw '=='.
(#697) Expected '{' and instead saw 'candidates'.
(#704) 'studentMeetsCriterion' was used before it was defined.
(#708) Expected '{' and instead saw 'return'.
(#712) Expected '===' and instead saw '=='.
(#715) Creating global 'for' variable. Should be 'for (var a ...'.
(#718) Expected '!==' and instead saw '!='.
(#725) Expected '===' and instead saw '=='.
(#728) Creating global 'for' variable. Should be 'for (var a ...'.
(#731) Expected '===' and instead saw '=='.
(#738) Expected '===' and instead saw '=='.
(#741) Creating global 'for' variable. Should be 'for (var a ...'.
(#744) Expected '!==' and instead saw '!='.
(#757) Expected '===' and instead saw '=='.
(#758) Expected '{' and instead saw 'break'.
(#790) Expected '===' and instead saw '=='.
(#791) Expected '{' and instead saw 'lowestTeams'.
(#796) Missing semicolon.
(#816) Missing semicolon.
(#817) Missing semicolon.
(#836) 'criterionHTML' was used before it was defined.
(#838) Line is too long.
(#836) Bad escaping of EOL. Use option multistr if needed.
(#837) Bad escaping of EOL. Use option multistr if needed.
(#838) Bad escaping of EOL. Use option multistr if needed.
(#839) Bad escaping of EOL. Use option multistr if needed.
(#840) Bad escaping of EOL. Use option multistr if needed.
(#841) Bad escaping of EOL. Use option multistr if needed.
(#844) 'subcriterionHTML' was used before it was defined.
(#844) Bad escaping of EOL. Use option multistr if needed.
(#845) Bad escaping of EOL. Use option multistr if needed.
(#865) '__debug' was used before it was defined.
(#869) 'randomiseArray' was used before it was defined.
(#309) 'addSubcriterion' is defined but never used.
(#462) 'buildTeams' is defined but never used.
(#764) 'assignRandomly' is defined but never used.
(#803) 'createGroups' is defined but never used.
(#849) 'addSlashes' is defined but never used.
(#857) 'stripSlashes' is defined but never used.
(#357) 'studentDiv' is defined but never used.
(#366) 'numTeams' is defined but never used.
(#384) 'evt' is defined but never used.
(#865) 'val' is defined but never used.
mod/teambuilder/js/criterion.js
(#25) Bad escaping of EOL. Use option multistr if needed.
(#26) Bad escaping of EOL. Use option multistr if needed.
(#27) Bad escaping of EOL. Use option multistr if needed.
(#28) Bad escaping of EOL. Use option multistr if needed.
(#29) Bad escaping of EOL. Use option multistr if needed.
(#33) Missing semicolon.
(#35) Missing semicolon.
(#36) Unexpected '​'.
mod/teambuilder/js/editview.js
(#8) Missing semicolon.
(#13) Expected '===' and instead saw '=='.
(#19) Expected '===' and instead saw '=='.
(#21) Expected '===' and instead saw '=='.
(#22) Expected '{' and instead saw 'addNewAnswer'.
(#24) Expected '{' and instead saw '$'.
(#25) Expected '===' and instead saw '=='.
(#27) Expected '===' and instead saw '=='.
(#33) Expected '===' and instead saw '=='.
(#63) 'addNewAnswer' was used before it was defined.
(#78) ['question'] is better written in dot notation.
(#79) ['type'] is better written in dot notation.
(#80) ['answers'] is better written in dot notation.
(#84) Expected '{' and instead saw 'question'.
(#84) ['answers'] is better written in dot notation.
(#85) Missing semicolon.
(#89) Expected '===' and instead saw '=='.
(#90) Expected '{' and instead saw 'err'.
(#92) Expected '{' and instead saw 'err'.
(#101) ['question'] is better written in dot notation.
(#102) ['type'] is better written in dot notation.
(#103) ['answers'] is better written in dot notation.
(#141) Missing semicolon.
(#148) Creating global 'for' variable. Should be 'for (var i ...'.
(#154) Missing semicolon.
(#157) 'views' was used before it was defined.
(#158) Bad escaping of EOL. Use option multistr if needed.
(#159) Bad escaping of EOL. Use option multistr if needed.
(#160) Bad escaping of EOL. Use option multistr if needed.
(#161) Bad escaping of EOL. Use option multistr if needed.
(#162) Bad escaping of EOL. Use option multistr if needed.
(#163) Bad escaping of EOL. Use option multistr if needed.
(#164) Bad escaping of EOL. Use option multistr if needed.
(#165) Bad escaping of EOL. Use option multistr if needed.
(#166) Bad escaping of EOL. Use option multistr if needed.
(#167) Bad escaping of EOL. Use option multistr if needed.
(#171) 'typesDisplay' was used before it was defined.
(#69) 'removeLastAnswer' is defined but never used.
(#75) 'addNewQuestion' is defined but never used.
(#116) 'deleteQuestion' is defined but never used.
(#123) 'saveQuestionnaire' is defined but never used.
mod/teambuilder/js/jquery.callout.js
(#31) Expected '===' and instead saw '=='.
(#36) Expected '===' and instead saw '=='.
(#37) 'cots' is already defined.
(#38) 'c' is already defined.
(#42) Expected '===' and instead saw '=='.
(#43) 'cots' is already defined.
(#44) 'c' is already defined.
(#47) Don't make functions within a loop.
(#49) Expected '===' and instead saw '=='.
(#50) 'cots' is already defined.
(#53) 'c' is already defined.
(#98) Expected '===' and instead saw '=='.
(#98) Expected '===' and instead saw '=='.
(#99) Expected '{' and instead saw '$co'.
(#101) Expected '{' and instead saw '$co'.
(#111) Missing semicolon.
(#125) Expected '!==' and instead saw '!='.
(#125) Expected '{' and instead saw '$co'.
(#126) Expected '!==' and instead saw '!='.
(#126) Expected '{' and instead saw '$cont'.
(#138) Expected '===' and instead saw '=='.
(#138) Expected '===' and instead saw '=='.
(#139) Expected '===' and instead saw '=='.
(#139) Expected '===' and instead saw '=='.
(#139) Expected '{' and instead saw 'align'.
(#140) Expected '===' and instead saw '=='.
(#140) Expected '===' and instead saw '=='.
(#140) Expected '{' and instead saw 'pointer'.
(#142) Expected '===' and instead saw '=='.
(#142) Expected '===' and instead saw '=='.
(#142) Expected '{' and instead saw 'align'.
(#143) Expected '===' and instead saw '=='.
(#143) Expected '===' and instead saw '=='.
(#143) Expected '{' and instead saw 'pointer'.
(#161) Expected '===' and instead saw '=='.
(#162) Missing semicolon.
(#170) Expected '===' and instead saw '=='.
(#170) Expected '{' and instead saw 'left'.
(#171) Expected '===' and instead saw '=='.
(#172) Expected '{' and instead saw '$tri'.
(#173) Expected '===' and instead saw '=='.
(#173) Expected '===' and instead saw '=='.
(#174) Expected '{' and instead saw 'left'.
(#175) Expected '===' and instead saw '=='.
(#175) Expected '===' and instead saw '=='.
(#176) Expected '{' and instead saw 'left'.
(#178) Expected '{' and instead saw '$tri2'.
(#182) Expected '===' and instead saw '=='.
(#194) Expected '===' and instead saw '=='.
(#194) Expected '{' and instead saw 'top'.
(#195) Expected '===' and instead saw '=='.
(#196) Expected '{' and instead saw '$tri'.
(#197) Expected '===' and instead saw '=='.
(#197) Expected '===' and instead saw '=='.
(#198) Expected '{' and instead saw 'top'.
(#199) Expected '===' and instead saw '=='.
(#199) Expected '===' and instead saw '=='.
(#200) Expected '{' and instead saw 'top'.
(#207) Expected '{' and instead saw '$co'.
(#208) Expected '===' and instead saw '=='.
(#209) The array literal notation [] is preferable.
(#220) Line is too long.
(#218) Missing semicolon.
(#220) Expected '{' and instead saw 'return'.
(#220) Expected '{' and instead saw 'return'.
(#220) Expected '{' and instead saw 'return'.
(#220) Missing semicolon.
(#210) 'e' is defined but never used.
mod/teambuilder/js/jquery.js
(#16) Line is too long.
(#16) Missing semicolon.
(#16) Missing semicolon.
(#16) Missing semicolon.
(#16) Expected an assignment or function call and instead saw an expression.
(#16) Expected an assignment or function call and instead saw an expression.
(#16) Missing semicolon.
(#16) Expected '{' and instead saw 'X'.
(#16) Missing 'new' prefix when invoking a constructor.
(#16) Missing semicolon.
(#16) 'o' used out of scope.
(#16) 'o' used out of scope.
(#16) 'o' used out of scope.
(#16) Expected '{' and instead saw 'e'.
(#16) 'o' used out of scope.
(#16) 'o' used out of scope.
(#16) 'o' used out of scope.
(#16) 'o' used out of scope.
(#16) Missing semicolon.
(#17) Line is too long.
(#17) Missing semicolon.
(#17) Missing '()' invoking a constructor.
(#17) Missing semicolon.
(#17) Missing semicolon.
(#17) Missing semicolon.
(#17) Missing semicolon.
(#17) Expected an assignment or function call and instead saw an expression.
(#17) Missing semicolon.
(#18) Line is too long.
(#18) Expected '{' and instead saw 'for'.
(#18) Expected '{' and instead saw 'f'.
(#18) Expected '{' and instead saw 'd'.
(#18) Missing semicolon.
(#18) Missing semicolon.
(#18) Missing semicolon.
(#19) Line is too long.
(#19) Missing semicolon.
(#19) Missing semicolon.
(#19) Expected a conditional expression and instead saw an assignment.
(#19) Expected '{' and instead saw 'for'.
(#19) Expected '{' and instead saw 'c'.
(#19) Missing semicolon.
(#19) Missing semicolon.
(#20) Line is too long.
(#20) Expected a conditional expression and instead saw an assignment.
(#20) Expected '{' and instead saw 'if'.
(#20) Expected '{' and instead saw 'f'.
(#20) Missing semicolon.
(#20) Missing semicolon.
(#20) Expected '{' and instead saw 'c'.
(#20) Missing semicolon.
(#20) Missing semicolon.
(#20) Missing semicolon.
(#20) Missing semicolon.
(#20) Missing semicolon.
(#21) Line is too long.
(#21) Expected '{' and instead saw 'return'.
(#21) Missing semicolon.
(#21) Missing semicolon.
(#21) Expected '{' and instead saw 'if'.
(#22) Line is too long.
(#22) Expected '{' and instead saw 'if'.
(#22) Expected a conditional expression and instead saw an assignment.
(#22) Expected '{' and instead saw 'if'.
(#22) Missing semicolon.
(#22) Expected '{' and instead saw 'a'.
(#22) Missing semicolon.
(#22) Missing semicolon.
(#22) Expected a conditional expression and instead saw an assignment.
(#22) Expected '{' and instead saw 'return'.
(#22) Missing semicolon.
(#22) Missing semicolon.
(#23) Line is too long.
(#23) Missing semicolon.
(#23) Expected '{' and instead saw 'return'.
(#23) Expected '{' and instead saw 'return'.
(#23) Missing semicolon.
(#23) Missing semicolon.
(#23) Missing semicolon.
(#23) Missing semicolon.
(#23) Expected '===' and instead saw '=='.
(#23) Missing semicolon.
(#23) Expected an assignment or function call and instead saw an expression.
(#24) Line is too long.
(#24) Expected '{' and instead saw 'f'.
(#24) Expected '{' and instead saw 'f'.
(#24) Missing semicolon.
(#24) Missing semicolon.
(#24) Expected '{' and instead saw 'a'.
(#24) Expected '{' and instead saw 'Q'.
(#24) Expected an assignment or function call and instead saw an expression.
(#24) Missing semicolon.
(#24) Missing semicolon.
(#24) Missing semicolon.
(#24) Missing semicolon.
(#24) Missing semicolon.
(#25) Line is too long.
(#25) Missing semicolon.
(#25) Missing semicolon.
(#25) Missing semicolon.
(#25) Missing semicolon.
(#25) Expected '{' and instead saw 'a'.
(#25) Missing semicolon.
(#25) Expected '{' and instead saw 'if'.
(#25) Expected '!==' and instead saw '!='.
(#25) Expected '{' and instead saw 'for'.
(#25) Expected '{' and instead saw 'if'.
(#26) Line is too long.
(#26) Missing semicolon.
(#26) Expected '{' and instead saw 'a'.
(#26) Missing semicolon.
(#26) Missing semicolon.
(#26) Expected '{' and instead saw 'A'.
(#26) Missing semicolon.
(#26) Expected '{' and instead saw 'return'.
(#26) Expected a conditional expression and instead saw an assignment.
(#26) Expected '{' and instead saw 'a'.
(#26) Missing semicolon.
(#26) Expected an assignment or function call and instead saw an expression.
(#26) Missing semicolon.
(#26) Expected '{' and instead saw 'return'.
(#27) Line is too long.
(#27) Missing semicolon.
(#27) Expected '===' and instead saw '=='.
(#27) Missing semicolon.
(#27) Expected an assignment or function call and instead saw an expression.
(#27) Missing semicolon.
(#27) Missing semicolon.
(#27) Missing semicolon.
(#27) Expected '{' and instead saw 'return'.
(#28) Line is too long.
(#28) Expected '{' and instead saw 'return'.
(#28) Expected '{' and instead saw ';'.
(#28) Missing semicolon.
(#28) Expected '{' and instead saw 'return'.
(#28) Missing semicolon.
(#28) Expected '{' and instead saw 'return'.
(#28) Expected '{' and instead saw 'return'.
(#29) Line is too long.
(#28) The Function constructor is a form of eval.
(#29) Expected '{' and instead saw 'c'.
(#29) Missing semicolon.
(#29) Expected '{' and instead saw 'd'.
(#29) Expected '{' and instead saw 'd'.
(#29) Missing semicolon.
(#29) Missing semicolon.
(#29) Expected '{' and instead saw 'if'.
(#29) Expected '{' and instead saw 'for'.
(#30) Line is too long.
(#30) Expected '{' and instead saw 'break'.
(#30) Missing semicolon.
(#30) Expected '{' and instead saw 'for'.
(#30) Expected '{' and instead saw 'break'.
(#30) Missing semicolon.
(#30) Expected '{' and instead saw 'for'.
(#30) Expected '{' and instead saw 'break'.
(#30) Missing semicolon.
(#30) Expected '{' and instead saw 'for'.
(#30) Expected '{' and instead saw ';'.
(#30) Missing semicolon.
(#30) Missing semicolon.
(#30) Expected '!==' and instead saw '!='.
(#30) Expected '{' and instead saw 'a'.
(#30) Expected '===' and instead saw '=='.
(#30) Expected an assignment or function call and instead saw an expression.
(#30) Missing semicolon.
(#30) Expected '{' and instead saw 'return'.
(#30) Expected '{' and instead saw 'if'.
(#31) Line is too long.
(#31) Expected '{' and instead saw 'return'.
(#31) Missing semicolon.
(#31) Expected '{' and instead saw 'for'.
(#31) Expected '{' and instead saw 'a'.
(#31) Expected '{' and instead saw 'for'.
(#31) Expected '{' and instead saw 'a'.
(#31) Missing semicolon.
(#31) Expected '{' and instead saw '!'.
(#31) Confusing use of '!'.
(#31) Confusing use of '!'.
(#31) Expected an assignment or function call and instead saw an expression.
(#31) Missing semicolon.
(#31) Expected '!==' and instead saw '!='.
(#31) Expected '{' and instead saw 'f'.
(#31) Missing semicolon.
(#31) Missing semicolon.
(#31) Expected '{' and instead saw 'if'.
(#31) Missing semicolon.
(#32) Line is too long.
(#32) Missing semicolon.
(#32) Expected '{' and instead saw 'b'.
(#32) Missing semicolon.
(#32) Expected '{' and instead saw 'b'.
(#32) Missing semicolon.
(#32) Missing semicolon.
(#32) Missing semicolon.
(#32) Expected '{' and instead saw 'c'.
(#33) Line is too long.
(#33) Expected '{' and instead saw 'c'.
(#33) Missing semicolon.
(#33) Expected '{' and instead saw 'L'.
(#33) Missing semicolon.
(#33) Expected '{' and instead saw 'L'.
(#33) Missing semicolon.
(#33) Missing 'new' prefix when invoking a constructor.
(#34) Line is too long.
(#35) Line is too long.
(#35) Missing semicolon.
(#35) Missing semicolon.
(#35) Missing semicolon.
(#35) Missing semicolon.
(#36) Line is too long.
(#36) Missing semicolon.
(#36) Missing semicolon.
(#36) Missing semicolon.
(#37) Line is too long.
(#37) Missing semicolon.
(#37) Missing semicolon.
(#37) Missing semicolon.
(#37) Missing 'new' prefix when invoking a constructor.
(#38) Line is too long.
(#38) Expected '===' and instead saw '=='.
(#38) Expected '{' and instead saw 'return'.
(#38) Expected an assignment or function call and instead saw an expression.
(#38) Missing semicolon.
(#38) Missing semicolon.
(#38) Expected '{' and instead saw 'a'.
(#38) Missing semicolon.
(#38) Expected '===' and instead saw '=='.
(#38) Expected an assignment or function call and instead saw an expression.
(#38) Missing semicolon.
(#38) Expected '{' and instead saw 'delete'.
(#39) Line is too long.
(#39) Expected '{' and instead saw 'a'.
(#39) Expected an assignment or function call and instead saw an expression.
(#39) Missing semicolon.
(#39) Expected '{' and instead saw 'return'.
(#39) Expected '{' and instead saw 'return'.
(#39) Missing semicolon.
(#39) Expected '{' and instead saw 'f'.
(#39) Missing semicolon.
(#39) Expected '{' and instead saw 'return'.
(#40) Line is too long.
(#40) Missing semicolon.
(#40) Missing semicolon.
(#40) Missing semicolon.
(#40) Missing semicolon.
(#40) Expected '{' and instead saw 'return'.
(#40) Expected '{' and instead saw 'f'.
(#40) Expected '{' and instead saw 'f'.
(#40) Missing semicolon.
(#40) Expected '{' and instead saw 'f'.
(#40) Expected an assignment or function call and instead saw an expression.
(#40) Missing semicolon.
(#40) Missing semicolon.
(#40) Missing semicolon.
(#41) Line is too long.
(#41) Expected '{' and instead saw 'return'.
(#41) Expected an assignment or function call and instead saw an expression.
(#41) Missing semicolon.
(#41) Missing semicolon.
(#41) Missing semicolon.
(#41) Missing semicolon.
(#41) Missing semicolon.
(#41) Missing semicolon.
(#41) Missing semicolon.
(#41) Missing semicolon.
(#42) Line is too long.
(#42) Missing 'new' prefix when invoking a constructor.
(#42) Missing semicolon.
(#42) Expected an assignment or function call and instead saw an expression.
(#42) Missing semicolon.
(#42) Missing semicolon.
(#42) Expected '{' and instead saw 'return'.
(#42) Missing semicolon.
(#42) Expected '{' and instead saw 'for'.
(#42) Expected '{' and instead saw 'if'.
(#43) Line is too long.
(#43) Expected '{' and instead saw 'if'.
(#43) Expected '{' and instead saw 'i'.
(#43) Missing semicolon.
(#43) Expected '{' and instead saw 'e'.
(#43) Missing semicolon.
(#43) Missing semicolon.
(#43) Expected '{' and instead saw 'return'.
(#43) Missing semicolon.
(#43) Expected '{' and instead saw 'for'.
(#43) Expected '{' and instead saw 'if'.
(#43) Expected '{' and instead saw 'j'.
(#44) Line is too long.
(#44) Missing semicolon.
(#44) Expected '{' and instead saw 'e'.
(#44) Missing semicolon.
(#44) Missing semicolon.
(#44) Expected '{' and instead saw 'return'.
(#44) Missing semicolon.
(#44) Expected '{' and instead saw 'for'.
(#44) Expected a conditional expression and instead saw an assignment.
(#44) Missing semicolon.
(#44) Expected an assignment or function call and instead saw an expression.
(#45) Line is too long.
(#45) Missing semicolon.
(#45) Missing semicolon.
(#45) Expected '{' and instead saw 'if'.
(#45) Expected '{' and instead saw 'return'.
(#45) Missing semicolon.
(#45) Expected '{' and instead saw 'return'.
(#45) Expected '{' and instead saw 'return'.
(#46) Line is too long.
(#46) Expected '{' and instead saw 'return'.
(#46) Missing semicolon.
(#46) Missing semicolon.
(#46) Expected '{' and instead saw 'return'.
(#46) Missing semicolon.
(#46) Missing semicolon.
(#46) Expected '{' and instead saw 'r'.
(#46) Expected '{' and instead saw 'r'.
(#46) Expected '{' and instead saw 'this'.
(#47) Line is too long.
(#47) Missing semicolon.
(#47) Expected '{' and instead saw 'this'.
(#47) Missing semicolon.
(#47) Expected '{' and instead saw 'this'.
(#47) Missing semicolon.
(#47) Missing semicolon.
(#47) Expected '{' and instead saw 'return'.
(#47) Expected '{' and instead saw 'return'.
(#47) Expected an assignment or function call and instead saw an expression.
(#48) Line is too long.
(#48) Missing semicolon.
(#48) Expected '{' and instead saw 'return'.
(#48) Expected '{' and instead saw 'return'.
(#48) Missing semicolon.
(#48) Expected '{' and instead saw 'a'.
(#48) Missing semicolon.
(#48) Expected an assignment or function call and instead saw an expression.
(#48) Missing semicolon.
(#48) Missing semicolon.
(#49) Line is too long.
(#49) Missing semicolon.
(#49) Missing semicolon.
(#49) Expected '{' and instead saw 'a'.
(#49) Missing semicolon.
(#49) Expected '{' and instead saw 'd'.
(#49) Expected a conditional expression and instead saw an assignment.
(#49) Expected '{' and instead saw 'j'.
(#49) Missing semicolon.
(#49) Expected a conditional expression and instead saw an assignment.
(#50) Line is too long.
(#50) Missing semicolon.
(#50) Missing semicolon.
(#50) Expected '{' and instead saw 'if'.
(#50) Expected '{' and instead saw 'a'.
(#50) Expected '{' and instead saw 'a'.
(#50) Expected an assignment or function call and instead saw an expression.
(#50) Missing semicolon.
(#50) Expected '{' and instead saw 'j'.
(#50) Missing semicolon.
(#50) Missing semicolon.
(#50) Missing semicolon.
(#51) Line is too long.
(#51) Missing semicolon.
(#51) Expected '{' and instead saw 'c'.
(#51) Missing semicolon.
(#51) Expected a conditional expression and instead saw an assignment.
(#51) Missing semicolon.
(#51) Expected a conditional expression and instead saw an assignment.
(#51) Expected '{' and instead saw 'if'.
(#51) Expected '===' and instead saw '=='.
(#51) Expected an assignment or function call and instead saw an expression.
(#51) Expected an assignment or function call and instead saw an expression.
(#51) Missing semicolon.
(#52) Line is too long.
(#51) Expected '!==' and instead saw '!='.
(#52) Expected '{' and instead saw 'break'.
(#52) Missing semicolon.
(#52) Expected '!==' and instead saw '!='.
(#52) Expected '{' and instead saw 'Ca'.
(#52) Missing 'new' prefix when invoking a constructor.
(#52) Missing semicolon.
(#52) Expected '{' and instead saw 'for'.
(#52) 'B' was used before it was defined.
(#52) Missing semicolon.
(#52) Expected a conditional expression and instead saw an assignment.
(#52) Expected '{' and instead saw 'b'.
(#52) Expected an assignment or function call and instead saw an expression.
(#52) Missing semicolon.
(#53) Line is too long.
(#53) Missing semicolon.
(#53) Expected an assignment or function call and instead saw an expression.
(#53) Missing semicolon.
(#53) Expected an assignment or function call and instead saw an expression.
(#53) Missing semicolon.
(#53) Expected '{' and instead saw 'return'.
(#53) Missing semicolon.
(#53) Expected an assignment or function call and instead saw an expression.
(#53) Expected '{' and instead saw 'if'.
(#53) Expected '{' and instead saw 'a'.
(#53) Missing semicolon.
(#54) Line is too long.
(#54) Expected '{' and instead saw 'c'.
(#54) Expected a conditional expression and instead saw an assignment.
(#54) Expected '{' and instead saw 'f'.
(#54) Missing semicolon.
(#54) Expected '{' and instead saw 'f'.
(#54) Missing semicolon.
(#54) Bad assignment.
(#55) Line is too long.
(#55) Missing semicolon.
(#55) Missing semicolon.
(#55) Expected '{' and instead saw 'break'.
(#55) Missing semicolon.
(#55) Missing semicolon.
(#56) Line is too long.
(#56) Expected '{' and instead saw 'return'.
(#56) Missing semicolon.
(#56) Expected '{' and instead saw 'a'.
(#56) Expected '{' and instead saw 'a'.
(#56) Expected '{' and instead saw 'a'.
(#56) Expected '===' and instead saw '=='.
(#56) Expected '!==' and instead saw '!='.
(#57) Line is too long.
(#57) Missing semicolon.
(#57) Expected '{' and instead saw 'a'.
(#57) Expected '{' and instead saw 'a'.
(#57) Expected '{' and instead saw 'a'.
(#57) Unexpected use of '&'.
(#57) Unexpected use of '&'.
(#57) Unexpected use of '&'.
(#57) Missing semicolon.
(#57) Missing semicolon.
(#58) Line is too long.
(#58) Expected '{' and instead saw 'return'.
(#58) Did you mean to return a conditional instead of an assignment?
(#58) Missing semicolon.
(#58) Expected an assignment or function call and instead saw an expression.
(#58) Missing semicolon.
(#58) Expected '{' and instead saw 'this'.
(#58) Missing semicolon.
(#58) Expected '{' and instead saw 'this'.
(#58) Missing semicolon.
(#58) Missing semicolon.
(#58) Missing semicolon.
(#58) Expected '{' and instead saw 'return'.
(#59) Line is too long.
(#59) Missing semicolon.
(#59) Expected '{' and instead saw 'this'.
(#59) Missing 'new' prefix when invoking a constructor.
(#59) Missing semicolon.
(#59) Expected an assignment or function call and instead saw an expression.
(#59) Missing semicolon.
(#59) Expected an assignment or function call and instead saw an expression.
(#59) Missing semicolon.
(#59) Missing semicolon.
(#60) Line is too long.
(#60) Expected '{' and instead saw 'b'.
(#60) Missing semicolon.
(#60) Missing semicolon.
(#60) Missing semicolon.
(#60) Missing semicolon.
(#60) Missing semicolon.
(#60) Expected '{' and instead saw 'c'.
(#61) Line is too long.
(#61) Expected '{' and instead saw 'return'.
(#61) Missing semicolon.
(#61) Expected '{' and instead saw 'return'.
(#61) Missing semicolon.
(#61) Missing semicolon.
(#61) Expected '{' and instead saw 'return'.
(#61) Missing semicolon.
(#61) Missing semicolon.
(#62) Line is too long.
(#62) Expected '{' and instead saw 'd'.
(#62) Expected '{' and instead saw 'd'.
(#62) Missing semicolon.
(#62) Expected '{' and instead saw 'd'.
(#62) Missing semicolon.
(#62) Missing 'new' prefix when invoking a constructor.
(#62) Expected '{' and instead saw 'c'.
(#63) Line is too long.
(#63) Expected '{' and instead saw 'if'.
(#63) Expected '!==' and instead saw '!='.
(#63) Missing semicolon.
(#63) Expected '{' and instead saw 'return'.
(#63) Missing semicolon.
(#63) Expected '{' and instead saw 'return'.
(#63) Missing semicolon.
(#64) Line is too long.
(#64) Missing 'new' prefix when invoking a constructor.
(#64) Missing semicolon.
(#64) Expected '{' and instead saw 'return'.
(#64) Expected '{' and instead saw 'c'.
(#64) Missing semicolon.
(#64) Missing semicolon.
(#64) Missing semicolon.
(#64) Missing semicolon.
(#65) Line is too long.
(#65) Missing semicolon.
(#65) Missing semicolon.
(#65) Missing semicolon.
(#65) Expected an assignment or function call and instead saw an expression.
(#65) Too many errors. (41% scanned).
mod/teambuilder/js/jquery.ui.js
(#10) Line is too long.
(#10) Missing semicolon.
(#10) Expected '{' and instead saw 'for'.
(#10) Expected '{' and instead saw 'a'.
(#10) Expected an assignment or function call and instead saw an expression.
(#10) Missing semicolon.
(#10) Unexpected use of '&'.
(#10) Missing semicolon.
(#10) Expected '===' and instead saw '=='.
(#10) Expected '{' and instead saw 'return'.
(#11) Line is too long.
(#11) Expected '===' and instead saw '=='.
(#11) Expected '{' and instead saw 'return'.
(#11) Missing semicolon.
(#11) Missing semicolon.
(#11) Missing semicolon.
(#12) Line is too long.
(#12) Expected an assignment or function call and instead saw an expression.
(#12) Missing semicolon.
(#12) Missing semicolon.
(#12) Missing semicolon.
(#12) Missing semicolon.
(#12) Missing semicolon.
(#13) Line is too long.
(#13) Missing semicolon.
(#13) Missing semicolon.
(#13) Missing semicolon.
(#14) Line is too long.
(#14) Expected '{' and instead saw 'return'.
(#14) Expected '===' and instead saw '=='.
(#14) Expected '===' and instead saw '=='.
(#14) Expected '===' and instead saw '=='.
(#14) Expected '!==' and instead saw '!='.
(#14) Expected '{' and instead saw 'return'.
(#14) Missing semicolon.
(#14) Missing semicolon.
(#14) Missing semicolon.
(#14) Missing semicolon.
(#14) Expected '===' and instead saw '=='.
(#14) Expected '===' and instead saw '=='.
(#15) Expected '===' and instead saw '=='.
(#15) Missing semicolon.
(#15) Missing semicolon.
(#15) Missing semicolon.
(#15) 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.
(#15) Expected an assignment or function call and instead saw an expression.
(#25) Line is too long.
(#16) Unnecessary semicolon.
(#25) Expected '{' and instead saw 'if'.
(#25) Expected '{' and instead saw 'b'.
(#25) Missing semicolon.
(#25) Missing semicolon.
(#25) Missing semicolon.
(#25) Missing semicolon.
(#25) Missing semicolon.
(#25) Expected an assignment or function call and instead saw an expression.
(#25) Missing semicolon.
(#25) A constructor name should start with an uppercase letter.
(#25) Missing '()' invoking a constructor.
(#26) Line is too long.
(#26) Missing semicolon.
(#26) Expected '{' and instead saw 'return'.
(#26) Missing semicolon.
(#27) Line is too long.
(#27) Expected an assignment or function call and instead saw an expression.
(#27) Missing semicolon.
(#27) Expected '{' and instead saw 'b'.
(#27) A constructor name should start with an uppercase letter.
(#27) Missing semicolon.
(#27) Expected an assignment or function call and instead saw an expression.
(#27) Missing semicolon.
(#27) Missing semicolon.
(#27) Expected an assignment or function call and instead saw an expression.
(#27) Missing semicolon.
(#27) Missing semicolon.
(#28) Line is too long.
(#28) Missing semicolon.
(#28) Missing semicolon.
(#28) Missing semicolon.
(#28) Expected '{' and instead saw 'return'.
(#28) Expected '{' and instead saw 'return'.
(#28) Missing semicolon.
(#29) Line is too long.
(#29) Missing semicolon.
(#29) Missing semicolon.
(#29) Expected '{' and instead saw 'this'.
(#29) Missing semicolon.
(#29) Missing semicolon.
(#29) Missing semicolon.
(#30) Line is too long.
(#30) Missing semicolon.
(#30) Missing semicolon.
(#30) Missing semicolon.
(#43) Line is too long.
(#31) Unnecessary semicolon.
(#43) Missing semicolon.
(#43) Missing semicolon.
(#43) Missing semicolon.
(#43) Missing semicolon.
(#44) Line is too long.
(#44) Expected an assignment or function call and instead saw an expression.
(#44) Expected '===' and instead saw '=='.
(#44) Expected '===' and instead saw '=='.
(#44) Expected '{' and instead saw 'return'.
(#44) Expected '{' and instead saw 'this'.
(#44) Missing semicolon.
(#45) Line is too long.
(#45) Missing semicolon.
(#45) Missing semicolon.
(#45) Missing semicolon.
(#45) Expected an assignment or function call and instead saw an expression.
(#45) Did you mean to return a conditional instead of an assignment?
(#45) Missing semicolon.
(#45) Expected '{' and instead saw 'return'.
(#45) Missing semicolon.
(#46) Line is too long.
(#46) Expected '{' and instead saw '('.
(#46) Expected an assignment or function call and instead saw an expression.
(#46) Missing semicolon.
(#46) Expected '===' and instead saw '=='.
(#46) Missing semicolon.
(#46) Missing semicolon.
(#47) Line is too long.
(#47) Missing semicolon.
(#47) Missing semicolon.
(#47) Missing semicolon.
(#47) Missing semicolon.
(#57) Line is too long.
(#48) Unnecessary semicolon.
(#57) Expected '{' and instead saw 'return'.
(#57) Missing semicolon.
(#57) Missing semicolon.
(#58) Line is too long.
(#58) Missing semicolon.
(#58) Missing semicolon.
(#58) Expected '{' and instead saw 'f'.
(#58) Missing semicolon.
(#58) Expected '{' and instead saw 'd'.
(#58) Expected '{' and instead saw 'e'.
(#58) Expected '{' and instead saw 'i'.
(#58) Expected '{' and instead saw 'i'.
(#59) Line is too long.
(#59) Expected '{' and instead saw 'i'.
(#59) Expected '{' and instead saw 'i'.
(#59) Expected '{' and instead saw 'j'.
(#59) Expected '{' and instead saw 'j'.
(#59) Expected '{' and instead saw 'j'.
(#59) Expected '{' and instead saw 'j'.
(#60) Line is too long.
(#60) Expected an assignment or function call and instead saw an expression.
(#60) Missing semicolon.
(#60) Expected an assignment or function call and instead saw an expression.
(#60) Missing semicolon.
(#60) Missing semicolon.
(#60) Missing semicolon.
(#60) Missing semicolon.
(#61) Line is too long.
(#61) Missing semicolon.
(#61) Missing semicolon.
(#61) Expected '{' and instead saw 'a'.
(#62) Line is too long.
(#62) Expected an assignment or function call and instead saw an expression.
(#62) Missing semicolon.
(#62) Expected '{' and instead saw 'return'.
(#62) Expected '{' and instead saw 'return'.
(#62) Missing semicolon.
(#62) Missing semicolon.
(#62) Missing semicolon.
(#77) Line is too long.
(#63) Unnecessary semicolon.
(#78) Line is too long.
(#77) Expected '===' and instead saw '=='.
(#78) Expected '{' and instead saw 'this'.
(#78) Expected an assignment or function call and instead saw an expression.
(#78) Expected an assignment or function call and instead saw an expression.
(#78) Missing semicolon.
(#78) Missing semicolon.
(#79) Line is too long.
(#79) Expected '{' and instead saw 'return'.
(#79) Expected '{' and instead saw 'return'.
(#79) Missing semicolon.
(#79) Expected '{' and instead saw 'd'.
(#80) Line is too long.
(#80) Expected an assignment or function call and instead saw an expression.
(#80) Expected an assignment or function call and instead saw an expression.
(#80) Missing semicolon.
(#81) Line is too long.
(#81) Expected an assignment or function call and instead saw an expression.
(#81) Missing semicolon.
(#81) Missing semicolon.
(#81) Missing semicolon.
(#81) Expected '!==' and instead saw '!='.
(#81) Expected '{' and instead saw 'this'.
(#82) Line is too long.
(#82) Expected '!==' and instead saw '!='.
(#82) Expected '{' and instead saw 'this'.
(#82) Expected an assignment or function call and instead saw an expression.
(#82) Missing semicolon.
(#82) Expected '{' and instead saw 'b'.
(#82) Missing semicolon.
(#82) Expected '{' and instead saw 'return'.
(#82) Expected '===' and instead saw '=='.
(#82) Expected '===' and instead saw '=='.
(#83) Line is too long.
(#83) Expected an assignment or function call and instead saw an expression.
(#83) Missing semicolon.
(#83) Missing semicolon.
(#83) Expected '{' and instead saw 'this'.
(#83) Expected an assignment or function call and instead saw an expression.
(#83) Missing semicolon.
(#83) Expected an assignment or function call and instead saw an expression.
(#83) Missing semicolon.
(#84) Line is too long.
(#83) Expected '===' and instead saw '=='.
(#84) Expected '{' and instead saw 'b'.
(#84) Missing semicolon.
(#84) Missing semicolon.
(#84) Expected '===' and instead saw '=='.
(#84) Expected '===' and instead saw '=='.
(#84) Expected an assignment or function call and instead saw an expression.
(#84) Expected '!==' and instead saw '!='.
(#84) Expected an assignment or function call and instead saw an expression.
(#84) Missing semicolon.
(#84) Expected '===' and instead saw '=='.
(#84) Expected '{' and instead saw 'a'.
(#84) Expected '{' and instead saw 'a'.
(#85) Line is too long.
(#85) Expected '{' and instead saw 'this'.
(#85) Expected '{' and instead saw 'this'.
(#85) Expected '{' and instead saw 'this'.
(#85) Expected '{' and instead saw 'this'.
(#85) Missing semicolon.
(#85) Expected '===' and instead saw '=='.
(#85) Expected '!==' and instead saw '!='.
(#86) Line is too long.
(#86) Missing semicolon.
(#86) Expected '===' and instead saw '=='.
(#86) Expected '===' and instead saw '=='.
(#86) Expected '{' and instead saw 'a'.
(#86) Missing semicolon.
(#86) Expected '===' and instead saw '=='.
(#87) Line is too long.
(#87) Missing semicolon.
(#87) Expected '{' and instead saw 'return'.
(#87) Missing semicolon.
(#87) Missing semicolon.
(#87) Missing semicolon.
(#88) Line is too long.
(#87) Expected '===' and instead saw '=='.
(#88) Expected '{' and instead saw 'a'.
(#88) Expected '===' and instead saw '=='.
(#88) Expected '===' and instead saw '=='.
(#88) Expected '{' and instead saw 'this'.
(#88) Expected '===' and instead saw '=='.
(#88) Expected '===' and instead saw '=='.
(#89) Line is too long.
(#89) Expected '!==' and instead saw '!='.
(#89) Expected '!==' and instead saw '!='.
(#90) Line is too long.
(#90) Missing semicolon.
(#90) Expected '===' and instead saw '=='.
(#90) Expected '{' and instead saw 'this'.
(#90) Missing semicolon.
(#90) Expected '{' and instead saw 'b'.
(#90) Expected '===' and instead saw '=='.
(#90) Expected '===' and instead saw '=='.
(#91) Line is too long.
(#90) Expected '!==' and instead saw '!='.
(#91) Expected '===' and instead saw '=='.
(#91) Expected '===' and instead saw '=='.
(#92) Line is too long.
(#91) Expected '===' and instead saw '=='.
(#91) Expected '===' and instead saw '=='.
(#92) Missing semicolon.
(#92) Expected '===' and instead saw '=='.
(#92) Expected '!==' and instead saw '!='.
(#92) Expected '{' and instead saw 'e'.
(#92) Expected '{' and instead saw 'g'.
(#93) Line is too long.
(#93) Expected '{' and instead saw 'e'.
(#93) Expected '{' and instead saw 'g'.
(#93) Missing semicolon.
(#93) Confusing use of '!'.
(#94) Line is too long.
(#94) Confusing use of '!'.
(#94) Missing semicolon.
(#94) Expected '===' and instead saw '=='.
(#94) Expected '===' and instead saw '=='.
(#95) Line is too long.
(#95) Expected '===' and instead saw '=='.
(#95) Expected '===' and instead saw '=='.
(#95) Missing semicolon.
(#95) Expected '!==' and instead saw '!='.
(#95) Expected an assignment or function call and instead saw an expression.
(#95) Missing semicolon.
(#95) Expected '===' and instead saw '=='.
(#95) Expected '{' and instead saw 'this'.
(#96) Line is too long.
(#96) Missing semicolon.
(#96) Missing semicolon.
(#97) Line is too long.
(#97) Missing semicolon.
(#97) Missing semicolon.
(#97) Expected '{' and instead saw 'this'.
(#98) Line is too long.
(#98) Expected '===' and instead saw '=='.
(#98) Expected an assignment or function call and instead saw an expression.
(#98) Missing semicolon.
(#98) Missing semicolon.
(#98) Missing semicolon.
(#99) Line is too long.
(#99) Missing semicolon.
(#100) Line is too long.
(#100) Missing semicolon.
(#100) Expected an assignment or function call and instead saw an expression.
(#100) Missing semicolon.
(#101) Line is too long.
(#101) Expected an assignment or function call and instead saw an expression.
(#101) Missing semicolon.
(#101) Missing semicolon.
(#101) Expected '{' and instead saw 'b'.
(#101) Missing semicolon.
(#101) Expected an assignment or function call and instead saw an expression.
(#101) Missing semicolon.
(#102) Line is too long.
(#102) Missing semicolon.
(#102) Missing semicolon.
(#102) Missing semicolon.
(#102) Missing semicolon.
(#103) Line is too long.
(#103) Expected '{' and instead saw 'b'.
(#103) Missing semicolon.
(#103) Expected an assignment or function call and instead saw an expression.
(#103) Missing semicolon.
(#103) Expected '!==' and instead saw '!='.
(#103) Expected '!==' and instead saw '!='.
(#103) Expected '{' and instead saw 'a'.
(#103) Missing semicolon.
(#103) Expected '!==' and instead saw '!='.
(#104) Line is too long.
(#103) Expected '!==' and instead saw '!='.
(#104) Expected '!==' and instead saw '!='.
(#104) Expected '{' and instead saw 'if'.
(#104) Expected '{' and instead saw 'b'.
(#104) Expected '{' and instead saw 'b'.
(#104) Expected '!==' and instead saw '!='.
(#104) Expected '{' and instead saw 'if'.
(#104) Expected '{' and instead saw 'b'.
(#105) Line is too long.
(#105) Expected '{' and instead saw 'b'.
(#105) Missing semicolon.
(#105) Expected '!==' and instead saw '!='.
(#105) Expected '{' and instead saw 'if'.
(#105) Expected '{' and instead saw 'f'.
(#105) Expected '{' and instead saw 'f'.
(#105) Expected '!==' and instead saw '!='.
(#105) Expected '{' and instead saw 'if'.
(#105) Expected '{' and instead saw 'f'.
(#106) Line is too long.
(#106) Expected '{' and instead saw 'f'.
(#106) Missing semicolon.
(#106) Expected an assignment or function call and instead saw an expression.
(#106) Missing semicolon.
(#106) Expected '!==' and instead saw '!='.
(#106) Expected '!==' and instead saw '!='.
(#107) Line is too long.
(#107) Expected an assignment or function call and instead saw an expression.
(#107) Missing semicolon.
(#107) Missing semicolon.
(#108) Line is too long.
(#108) Expected '!==' and instead saw '!='.
(#108) Expected '{' and instead saw 'b'.
(#108) Expected '{' and instead saw 'b'.
(#108) Expected '{' and instead saw 'b'.
(#108) Expected '{' and instead saw 'b'.
(#108) Missing semicolon.
(#109) Line is too long.
(#109) 'p' used out of scope.
(#109) 'q' used out of scope.
(#109) 'r' used out of scope.
(#109) 's' used out of scope.
(#109) Expected '!==' and instead saw '!='.
(#109) 'p' used out of scope.
(#109) 'q' used out of scope.
(#109) 'r' used out of scope.
(#109) 's' used out of scope.
(#109) 'p' used out of scope.
(#109) Expected '{' and instead saw 'b'.
(#109) 'q' used out of scope.
(#109) Expected '{' and instead saw 'b'.
(#109) 'r' used out of scope.
(#109) Expected '{' and instead saw 'b'.
(#109) 's' used out of scope.
(#109) Expected '{' and instead saw 'b'.
(#109) Missing semicolon.
(#110) Line is too long.
(#110) 'p' used out of scope.
(#110) 'q' used out of scope.
(#110) 'r' used out of scope.
(#110) 's' used out of scope.
(#110) Expected '{' and instead saw 'c'.
(#110) Expected an assignment or function call and instead saw an expression.
(#110) 'p' used out of scope.
(#110) 'q' used out of scope.
(#110) 'r' used out of scope.
(#110) 's' used out of scope.
(#110) Missing semicolon.
(#110) Expected an assignment or function call and instead saw an expression.
(#110) Missing semicolon.
(#111) Line is too long.
(#111) Missing semicolon.
(#111) Missing semicolon.
(#111) Missing semicolon.
(#111) Expected '{' and instead saw 'b'.
(#111) Missing semicolon.
(#111) Expected an assignment or function call and instead saw an expression.
(#111) Missing semicolon.
(#111) Missing semicolon.
(#127) Line is too long.
(#112) Unnecessary semicolon.
(#127) Missing semicolon.
(#128) Line is too long.
(#128) Expected an assignment or function call and instead saw an expression.
(#128) Missing semicolon.
(#128) Expected '{' and instead saw 'a'.
(#128) Expected '===' and instead saw '=='.
(#128) Expected an assignment or function call and instead saw an expression.
(#128) Missing semicolon.
(#128) Expected '===' and instead saw '=='.
(#128) Expected '{' and instead saw 'this'.
(#128) Missing semicolon.
(#128) Missing semicolon.
(#129) Line is too long.
(#129) Expected an assignment or function call and instead saw an expression.
(#129) Expected an assignment or function call and instead saw an expression.
(#129) Missing semicolon.
(#129) Expected an assignment or function call and instead saw an expression.
(#129) Expected an assignment or function call and instead saw an expression.
(#129) Missing semicolon.
(#129) Expected '===' and instead saw '=='.
(#129) Expected '{' and instead saw 'if'.
(#129) Expected an assignment or function call and instead saw an expression.
(#130) Line is too long.
(#130) Missing semicolon.
(#130) Expected '===' and instead saw '=='.
(#130) Expected '{' and instead saw 'if'.
(#130) Expected an assignment or function call and instead saw an expression.
(#130) Missing semicolon.
(#130) Expected '===' and instead saw '=='.
(#130) Expected '{' and instead saw 'return'.
(#131) Line is too long.
(#131) Expected '===' and instead saw '=='.
(#131) Missing semicolon.
(#131) Expected '{' and instead saw 'return'.
(#131) Expected an assignment or function call and instead saw an expression.
(#131) Expected an assignment or function call and instead saw an expression.
(#132) Line is too long.
(#132) Missing semicolon.
(#132) Missing semicolon.
(#132) Missing semicolon.
(#132) Expected '{' and instead saw 'return'.
(#133) Line is too long.
(#134) Line is too long.
(#134) Missing semicolon.
(#134) 'a' is already defined.
(#134) Expected '{' and instead saw 'if'.
(#134) 'a' is a statement label.
(#134) 'a' is a statement label.
(#134) 'a' is a statement label.
(#134) Expected '{' and instead saw 'if'.
(#134) Expected '===' and instead saw '=='.
(#134) Missing semicolon.
(#135) Line is too long.
(#134) Expected '!==' and instead saw '!='.
(#135) Expected '===' and instead saw '=='.
(#135) Expected an assignment or function call and instead saw an expression.
(#135) Missing semicolon.
(#135) Expected '{' and instead saw 'c'.
(#136) Line is too long.
(#136) Missing semicolon.
(#136) Missing semicolon.
(#136) Expected an assignment or function call and instead saw an expression.
(#136) Expected '===' and instead saw '=='.
(#136) Expected '===' and instead saw '=='.
(#136) Expected a conditional expression and instead saw an assignment.
(#137) Line is too long.
(#137) Expected '===' and instead saw '=='.
(#137) Missing semicolon.
(#137) Expected '===' and instead saw '=='.
(#137) Missing semicolon.
(#137) Expected '===' and instead saw '=='.
(#137) Expected '===' and instead saw '=='.
(#137) Expected '===' and instead saw '=='.
(#137) Missing semicolon.
(#137) Missing semicolon.
(#137) Missing semicolon.
(#152) Line is too long.
(#138) Unnecessary semicolon.
(#153) Line is too long.
(#153) Expected an assignment or function call and instead saw an expression.
(#153) Too many errors. (42% scanned).
mod/teambuilder/js/json2.js
(#9) Line is too long.
(#12) Line is too long.
(#17) Line is too long.
(#20) Line is too long.
(#23) Line is too long.
(#27) Line is too long.
(#27) eval can be harmful.
(#3) 'key' is defined but never used.
(#8) 'key' is defined but never used.
mod/teambuilder/js/view.js
(#5) Expected '{' and instead saw 'maxwidth'.
(#24) 'validateForm' is defined but never used.

CSS problems

(0 errors, 6 warnings)

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

mod/teambuilder/css/custom-theme/jquery.ui.css
(#23) Use of !important
(#301) Use of !important
mod/teambuilder/styles.css
(#116) Use of !important
(#120) Use of !important
(#170) Expected (<attachment>) but found 'right top'.
(#236) Expected end of value but found 'single'.

PHPDocs style problems

(124 errors, 7 warnings)

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

mod/teambuilder/ajax.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
mod/teambuilder/backup/moodle2/backup_teambuilder_activity_task.class.php
(#17) No one-line description found in phpdocs for file
(#26) No one-line description found in phpdocs for class backup_teambuilder_activity_task
(#47) Phpdocs for function backup_teambuilder_activity_task::encode_content_links has incomplete parameters list
(#26) Class backup_teambuilder_activity_task does not have @copyright tag
(#26) Class backup_teambuilder_activity_task does not have @license tag
mod/teambuilder/backup/moodle2/backup_teambuilder_stepslib.php
(#29) Function backup_teambuilder_activity_structure_step::define_structure is not documented
(#17) No one-line description found in phpdocs for file
(#24) Class backup_teambuilder_activity_structure_step does not have @copyright tag
(#24) Class backup_teambuilder_activity_structure_step does not have @license tag
mod/teambuilder/backup/moodle2/restore_teambuilder_activity_task.class.php
(#17) No one-line description found in phpdocs for file
(#28) No one-line description found in phpdocs for class restore_teambuilder_activity_task
(#28) Class restore_teambuilder_activity_task does not have @copyright tag
(#28) Class restore_teambuilder_activity_task does not have @license tag
mod/teambuilder/backup/moodle2/restore_teambuilder_stepslib.php
(#33) Function restore_teambuilder_activity_structure_step::define_structure is not documented
(#57) Function restore_teambuilder_activity_structure_step::process_teambuilder is not documented
(#72) Function restore_teambuilder_activity_structure_step::process_teambuilder_response is not documented
(#83) Function restore_teambuilder_activity_structure_step::process_teambuilder_question is not documented
(#94) Function restore_teambuilder_activity_structure_step::process_teambuilder_answer is not documented
(#105) Function restore_teambuilder_activity_structure_step::after_execute is not documented
(#17) No one-line description found in phpdocs for file
(#28) Class restore_teambuilder_activity_structure_step does not have @copyright tag
(#28) Class restore_teambuilder_activity_structure_step does not have @license tag
mod/teambuilder/build.php
(#2) Empty line found after PHP open tag
(#11) Found comment starting with three or more slashes
(#3) File-level phpdocs block does not have @copyright tag
(#3) File-level phpdocs block does not have @license tag
(#7) Not recommended phpdocs tag @version used
(#8) Package mod/teambuilder is not valid
mod/teambuilder/classes/event/course_module_instance_list_viewed.php
(#17) File-level phpdocs block does not have @copyright tag
(#28) Class course_module_instance_list_viewed does not have @copyright tag
mod/teambuilder/db/access.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
mod/teambuilder/db/log.php
(#20) Package mod is not valid
mod/teambuilder/db/upgrade.php
(#2) Empty line found after PHP open tag
(#20) File-level phpdocs block is not found
(#20) Function xmldb_teambuilder_upgrade is not documented
(#26) Found comment starting with three or more slashes
(#27) Found comment starting with three or more slashes
(#28) Found comment starting with three or more slashes
(#29) Found comment starting with three or more slashes
(#31) Found comment starting with three or more slashes
(#32) Found comment starting with three or more slashes
(#33) Found comment starting with three or more slashes
(#35) Found comment starting with three or more slashes
(#36) Found comment starting with three or more slashes
(#37) Found comment starting with three or more slashes
(#38) Found comment starting with three or more slashes
(#40) Found comment starting with three or more slashes
(#41) Found comment starting with three or more slashes
(#42) Found comment starting with three or more slashes
(#44) Found comment starting with three or more slashes
(#45) Found comment starting with three or more slashes
(#46) Found comment starting with three or more slashes
(#47) Found comment starting with three or more slashes
(#48) Found comment starting with three or more slashes
(#50) Found comment starting with three or more slashes
(#53) Found comment starting with three or more slashes
(#57) Found comment starting with three or more slashes
(#60) Found comment starting with three or more slashes
(#64) Found comment starting with three or more slashes
(#67) Found comment starting with three or more slashes
(#71) Found comment starting with three or more slashes
(#77) Found comment starting with three or more slashes
(#78) Found comment starting with three or more slashes
(#79) Found comment starting with three or more slashes
(#82) Found comment starting with three or more slashes
(#86) Found comment starting with three or more slashes
(#89) Found comment starting with three or more slashes
(#93) Found comment starting with three or more slashes
(#96) Found comment starting with three or more slashes
(#100) Found comment starting with three or more slashes
(#106) Found comment starting with three or more slashes
(#108) Found comment starting with three or more slashes
(#114) Found comment starting with three or more slashes
(#116) Found comment starting with three or more slashes
(#119) Found comment starting with three or more slashes
(#138) Found comment starting with three or more slashes
(#139) Found comment starting with three or more slashes
(#140) Found comment starting with three or more slashes
(#141) Found comment starting with three or more slashes
(#143) Found comment starting with three or more slashes
(#144) Found comment starting with three or more slashes
(#145) Found comment starting with three or more slashes
(#147) Found comment starting with three or more slashes
(#148) Found comment starting with three or more slashes
(#20) Package is not specified for function xmldb_teambuilder_upgrade. It is also not specified in file-level phpdocs
mod/teambuilder/index.php
(#2) Empty line found after PHP open tag
(#11) Found comment starting with three or more slashes
(#32) Found comment starting with three or more slashes
(#38) Found comment starting with three or more slashes
(#48) Found comment starting with three or more slashes
(#55) Found comment starting with three or more slashes
(#92) Found comment starting with three or more slashes
(#3) File-level phpdocs block does not have @copyright tag
(#3) File-level phpdocs block does not have @license tag
(#7) Not recommended phpdocs tag @version used
(#8) Package mod/teambuilder is not valid
mod/teambuilder/lang/en/teambuilder.php
(#2) File-level phpdocs block is not found
mod/teambuilder/lib.php
(#17) File-level phpdocs block is not found
(#78) Function teambuilder_user_outline is not documented
(#82) Function teambuilder_user_complete is not documented
(#137) Function teambuilder_get_questions is not documented
(#202) Function teambuilder_supports is not documented
(#86) Phpdocs for function teambuilder_print_recent_activity has incomplete parameters list
(#117) Phpdocs for function teambuilder_scale_used has incomplete parameters list
(#129) Phpdocs for function teambuilder_scale_used_anywhere has incomplete parameters list
(#163) Phpdocs for function teambuilder_get_responses has incomplete parameters list
(#17) Package is not specified for function teambuilder_add_instance. It is also not specified in file-level phpdocs
(#31) Package is not specified for function teambuilder_update_instance. It is also not specified in file-level phpdocs
(#54) Package is not specified for function teambuilder_delete_instance. It is also not specified in file-level phpdocs
(#78) Package is not specified for function teambuilder_user_outline. It is also not specified in file-level phpdocs
(#82) Package is not specified for function teambuilder_user_complete. It is also not specified in file-level phpdocs
(#86) Package is not specified for function teambuilder_print_recent_activity. It is also not specified in file-level phpdocs
(#98) Package is not specified for function teambuilder_get_participants. It is also not specified in file-level phpdocs
(#111) Package is not specified for function teambuilder_scale_used. It is also not specified in file-level phpdocs
(#124) Package is not specified for function teambuilder_scale_used_anywhere. It is also not specified in file-level phpdocs
(#137) Package is not specified for function teambuilder_get_questions. It is also not specified in file-level phpdocs
(#160) Package is not specified for function teambuilder_get_responses. It is also not specified in file-level phpdocs
(#202) Package is not specified for function teambuilder_supports. It is also not specified in file-level phpdocs
mod/teambuilder/mod_form.php
(#17) File-level phpdocs block is not found
(#20) Class mod_teambuilder_mod_form is not documented
(#22) Function mod_teambuilder_mod_form::definition is not documented
(#66) Function mod_teambuilder_mod_form::definition_after_data is not documented
(#20) Package is not specified for class mod_teambuilder_mod_form. It is also not specified in file-level phpdocs
mod/teambuilder/version.php
(#17) File-level phpdocs block is not found
mod/teambuilder/view.php
(#17) File-level phpdocs block is not found
(#93) Found comment starting with three or more slashes
(#97) Found comment starting with three or more slashes
(#318) Found comment starting with three or more slashes

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]


Mustache template problems

(0 errors, 0 warnings)

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