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

(0 errors, 0 warnings)

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


Javascript coding style problems

(508 errors, 149 warnings)

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

mod/teambuilder/amd/src/build.js
(#50) Line 50 exceeds the maximum line length of 132. (max-len)
(#64) Unexpected space before function parentheses. (space-before-function-paren)
(#69) Unexpected space before function parentheses. (space-before-function-paren)
(#75) Unexpected space before function parentheses. (space-before-function-paren)
(#88) Unexpected space before function parentheses. (space-before-function-paren)
(#94) Unexpected space before function parentheses. (space-before-function-paren)
(#98) Unexpected space before function parentheses. (space-before-function-paren)
(#107) 'responses' is not defined. (no-undef)
(#112) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#112) 'i' is not defined. (no-undef)
(#112) 'questions' is not defined. (no-undef)
(#113) 'q' is not defined. (no-undef)
(#113) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#113) 'questions' is not defined. (no-undef)
(#113) 'i' is not defined. (no-undef)
(#114) 'qr' is not defined. (no-undef)
(#114) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#115) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#115) 'j' is not defined. (no-undef)
(#115) 'q' is not defined. (no-undef)
(#116) 'a' is not defined. (no-undef)
(#116) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#116) 'q' is not defined. (no-undef)
(#116) 'j' is not defined. (no-undef)
(#117) 'a' is not defined. (no-undef)
(#118) 'qr' is not defined. (no-undef)
(#118) 'a' is not defined. (no-undef)
(#121) 'q' is not defined. (no-undef)
(#121) 'qr' is not defined. (no-undef)
(#132) Unexpected space before function parentheses. (space-before-function-paren)
(#137) Missing semicolon. (semi)
(#142) Unexpected space before function parentheses. (space-before-function-paren)
(#143) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#143) 'stresponse' is not defined. (no-undef)
(#145) 'stresponse' is not defined. (no-undef)
(#145) 'stresponse' is not defined. (no-undef)
(#145) 'stresponse' is not defined. (no-undef)
(#147) Unexpected space before function parentheses. (space-before-function-paren)
(#151) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#157) Missing semicolon. (semi)
(#162) Unexpected space before function parentheses. (space-before-function-paren)
(#171) Missing JSDoc comment. (require-jsdoc)
(#180) Unexpected space before function parentheses. (space-before-function-paren)
(#185) Missing semicolon. (semi)
(#188) Unexpected space before function parentheses. (space-before-function-paren)
(#190) Opening curly brace does not appear on the same line as controlling statement. (brace-style)
(#199) Missing semicolon. (semi)
(#221) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#223) 'i' is not defined. (no-undef)
(#223) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#223) 'i' is not defined. (no-undef)
(#223) 'numTeams' is not modified in this loop. (no-unmodified-loop-condition)
(#223) 'i' is not defined. (no-undef)
(#224) 'i' is not defined. (no-undef)
(#224) 'i' is not defined. (no-undef)
(#242) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#242) 'ctr' is not defined. (no-undef)
(#243) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#243) 'i' is not defined. (no-undef)
(#243) 'students' is not defined. (no-undef)
(#244) 'responses' is not defined. (no-undef)
(#244) 'i' is not defined. (no-undef)
(#247) 'i' is not defined. (no-undef)
(#248) 'ctr' is not defined. (no-undef)
(#251) 'ctr' is not defined. (no-undef)
(#252) 'ctr' is not defined. (no-undef)
(#260) 'q' is not defined. (no-undef)
(#260) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#260) 'questions' is not defined. (no-undef)
(#262) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#262) 'a' is not defined. (no-undef)
(#262) 'q' is not defined. (no-undef)
(#263) 'answer' is not defined. (no-undef)
(#263) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#263) 'q' is not defined. (no-undef)
(#263) 'a' is not defined. (no-undef)
(#264) 'answer' is not defined. (no-undef)
(#264) 'answer' is not defined. (no-undef)
(#270) Unexpected space before function parentheses. (space-before-function-paren)
(#283) 'questions' is not defined. (no-undef)
(#284) 'q' is not defined. (no-undef)
(#284) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#284) 'questions' is not defined. (no-undef)
(#285) 'q' is not defined. (no-undef)
(#285) 'q' is not defined. (no-undef)
(#290) Unexpected space before function parentheses. (space-before-function-paren)
(#292) 'questions' is not defined. (no-undef)
(#292) ["type"] is better written in dot notation. (dot-notation)
(#301) Unexpected space before function parentheses. (space-before-function-paren)
(#303) Unexpected space before function parentheses. (space-before-function-paren)
(#307) Unexpected space before function parentheses. (space-before-function-paren)
(#310) Unexpected space before function parentheses. (space-before-function-paren)
(#316) Unexpected space before function parentheses. (space-before-function-paren)
(#340) 'questions' is not defined. (no-undef)
(#341) 'q' is not defined. (no-undef)
(#341) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#341) 'questions' is not defined. (no-undef)
(#342) 'q' is not defined. (no-undef)
(#342) 'q' is not defined. (no-undef)
(#345) Unexpected space before function parentheses. (space-before-function-paren)
(#347) 'questions' is not defined. (no-undef)
(#347) ["type"] is better written in dot notation. (dot-notation)
(#355) Unexpected space before function parentheses. (space-before-function-paren)
(#357) Unexpected space before function parentheses. (space-before-function-paren)
(#361) Unexpected space before function parentheses. (space-before-function-paren)
(#363) Unexpected space before function parentheses. (space-before-function-paren)
(#375) Unexpected space before function parentheses. (space-before-function-paren)
(#379) Unexpected space before function parentheses. (space-before-function-paren)
(#380) Missing semicolon. (semi)
(#394) 'teamDiv' used outside of binding context. (block-scoped-var)
(#395) 'teamDiv' used outside of binding context. (block-scoped-var)
(#396) 'teamDiv' used outside of binding context. (block-scoped-var)
(#397) 'teamDiv' used outside of binding context. (block-scoped-var)
(#398) 'teamDiv' used outside of binding context. (block-scoped-var)
(#412) 'i' used outside of binding context. (block-scoped-var)
(#413) 'i' used outside of binding context. (block-scoped-var)
(#414) 'teamDiv' used outside of binding context. (block-scoped-var)
(#414) 'teamDiv' is already defined. (no-redeclare)
(#414) 'i' used outside of binding context. (block-scoped-var)
(#415) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#415) 'j' is not defined. (no-undef)
(#416) 'j' is not defined. (no-undef)
(#419) 'teamDiv' used outside of binding context. (block-scoped-var)
(#422) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#437) Unexpected space before function parentheses. (space-before-function-paren)
(#444) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#444) 'subcriteria' is not defined. (no-undef)
(#445) 'subcriteria' is not defined. (no-undef)
(#445) Unexpected space before function parentheses. (space-before-function-paren)
(#450) Unexpected space before function parentheses. (space-before-function-paren)
(#480) Function has a complexity of 23. (complexity)
(#491) Unexpected space before function parentheses. (space-before-function-paren)
(#503) 'unassignedStudents' is not defined. (no-undef)
(#503) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#504) 'assignedStudents' is not defined. (no-undef)
(#504) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#505) Unexpected space before function parentheses. (space-before-function-paren)
(#506) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#506) 'rslt' is not defined. (no-undef)
(#507) 'unassignedStudents' is not defined. (no-undef)
(#507) 'rslt' is not defined. (no-undef)
(#507) 'students' is not defined. (no-undef)
(#507) 'rslt' is not defined. (no-undef)
(#509) Unexpected space before function parentheses. (space-before-function-paren)
(#510) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#510) 'rslt' is not defined. (no-undef)
(#511) 'assignedStudents' is not defined. (no-undef)
(#511) 'rslt' is not defined. (no-undef)
(#511) 'students' is not defined. (no-undef)
(#511) 'rslt' is not defined. (no-undef)
(#515) 'responses' is not defined. (no-undef)
(#515) Unexpected space before function parentheses. (space-before-function-paren)
(#517) 'assignedStudents' is not defined. (no-undef)
(#518) 'unassignedStudents' is not defined. (no-undef)
(#523) 'teamsPriority' is not defined. (no-undef)
(#523) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#524) 'initTeamsList' is not defined. (no-undef)
(#524) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#525) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#525) 'i' is not defined. (no-undef)
(#525) 'i' is not defined. (no-undef)
(#525) 'i' is not defined. (no-undef)
(#526) 'teamsPriority' is not defined. (no-undef)
(#527) 'initTeamsList' is not defined. (no-undef)
(#527) 'i' is not defined. (no-undef)
(#530) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#530) 'i' is not defined. (no-undef)
(#531) 'i' is not defined. (no-undef)
(#532) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#532) 'cg' is not defined. (no-undef)
(#532) 'i' is not defined. (no-undef)
(#533) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#533) 'ucandidates' is not defined. (no-undef)
(#534) 'acandidates' is not defined. (no-undef)
(#534) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#537) 'ucandidates' is not defined. (no-undef)
(#537) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#537) 'unassignedStudents' is not defined. (no-undef)
(#537) 'cg' is not defined. (no-undef)
(#538) 'acandidates' is not defined. (no-undef)
(#538) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#538) 'assignedStudents' is not defined. (no-undef)
(#538) 'cg' is not defined. (no-undef)
(#539) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#539) 'studentPriority' is not defined. (no-undef)
(#541) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#541) 'j' is not defined. (no-undef)
(#541) 'unassignedStudents' is not defined. (no-undef)
(#542) 'studentPriority' is not defined. (no-undef)
(#542) 'j' is not defined. (no-undef)
(#548) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#548) 'j' is not defined. (no-undef)
(#548) 'j' is not defined. (no-undef)
(#548) 'i' is not defined. (no-undef)
(#548) 'j' is not defined. (no-undef)
(#551) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#551) 'icandidates' is not defined. (no-undef)
(#551) 'unassignedStudents' is not defined. (no-undef)
(#551) 'j' is not defined. (no-undef)
(#552) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#552) 'k' is not defined. (no-undef)
(#552) 'icandidates' is not defined. (no-undef)
(#553) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#553) 's' is not defined. (no-undef)
(#553) 'icandidates' is not defined. (no-undef)
(#553) 'k' is not defined. (no-undef)
(#554) 'studentPriority' is not defined. (no-undef)
(#554) 's' is not defined. (no-undef)
(#558) 'studentPriority' is not defined. (no-undef)
(#560) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#560) 'teamsList' is not defined. (no-undef)
(#560) 'initTeamsList' is not defined. (no-undef)
(#561) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#561) 'teamsList' is not defined. (no-undef)
(#561) 'teamsList' is not defined. (no-undef)
(#564) Don't make functions within a loop. (no-loop-func)
(#564) Missing JSDoc comment. (require-jsdoc)
(#564) Move function declaration to function body root. (no-inner-declarations)
(#565) 'teamsPriority' is not defined. (no-undef)
(#565) 'teamsPriority' is not defined. (no-undef)
(#568) 'teamsList' is not defined. (no-undef)
(#568) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#568) 'teamsList' is not defined. (no-undef)
(#571) Move function declaration to function body root. (no-inner-declarations)
(#571) Don't make functions within a loop. (no-loop-func)
(#571) Missing JSDoc comment. (require-jsdoc)
(#575) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#575) 'teamsList' is not defined. (no-undef)
(#575) 'teamsList' is not defined. (no-undef)
(#578) 'teamsList' is not defined. (no-undef)
(#578) Missing semicolon. (semi)
(#585) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#585) 'ucandidates' is not defined. (no-undef)
(#585) 'ucandidates' is not defined. (no-undef)
(#586) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#586) 'acandidates' is not defined. (no-undef)
(#586) 'acandidates' is not defined. (no-undef)
(#589) Move function declaration to function body root. (no-inner-declarations)
(#589) Missing JSDoc comment. (require-jsdoc)
(#589) Don't make functions within a loop. (no-loop-func)
(#590) 'studentPriority' is not defined. (no-undef)
(#590) 'studentPriority' is not defined. (no-undef)
(#593) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#593) 'ucandidates' is not defined. (no-undef)
(#593) 'ucandidates' is not defined. (no-undef)
(#595) 'ucandidates' is not defined. (no-undef)
(#598) 'ucandidates' is not defined. (no-undef)
(#599) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#599) 'unassignedStudents' is not defined. (no-undef)
(#599) 'ucandidates' is not defined. (no-undef)
(#601) 'unassignedStudents' is not defined. (no-undef)
(#607) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#607) 'i' is not defined. (no-undef)
(#607) 'i' is not defined. (no-undef)
(#607) 'i' is not defined. (no-undef)
(#608) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#608) 't' is not defined. (no-undef)
(#608) 'i' is not defined. (no-undef)
(#609) 'lt' is not defined. (no-undef)
(#609) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#611) Blocks are nested too deeply (5). (max-depth)
(#611) 't' is not defined. (no-undef)
(#611) 'lt' is not defined. (no-undef)
(#612) 'i' is not defined. (no-undef)
(#614) 't' is not defined. (no-undef)
(#614) 'lt' is not defined. (no-undef)
(#615) 'i' is not defined. (no-undef)
(#622) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#622) 'randomTeam' is not defined. (no-undef)
(#624) 'randomTeam' is not defined. (no-undef)
(#625) 'randomTeam' is not defined. (no-undef)
(#625) 'unassignedStudents' is not defined. (no-undef)
(#627) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#629) 'ucandidates' is not defined. (no-undef)
(#629) 'acandidates' is not defined. (no-undef)
(#630) Missing semicolon. (semi)
(#634) 'ucandidates' is not defined. (no-undef)
(#635) 'acandidates' is not defined. (no-undef)
(#639) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#639) 'j' is not defined. (no-undef)
(#639) 'teamsList' is not defined. (no-undef)
(#640) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#640) 't' is not defined. (no-undef)
(#640) 'teamsList' is not defined. (no-undef)
(#640) 'j' is not defined. (no-undef)
(#643) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#643) 'k' is not defined. (no-undef)
(#643) 'acandidates' is not defined. (no-undef)
(#644) 'c' is not defined. (no-undef)
(#644) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#644) 'acandidates' is not defined. (no-undef)
(#644) 'k' is not defined. (no-undef)
(#645) 'ta' is not defined. (no-undef)
(#645) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#645) 't' is not defined. (no-undef)
(#646) 'c' is not defined. (no-undef)
(#646) 'ta' is not defined. (no-undef)
(#652) 't' is not defined. (no-undef)
(#654) 'teamsPriority' is not defined. (no-undef)
(#654) 't' is not defined. (no-undef)
(#655) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#657) 't' is not defined. (no-undef)
(#658) 'teamsPriority' is not defined. (no-undef)
(#658) 't' is not defined. (no-undef)
(#663) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#663) 'j' is not defined. (no-undef)
(#663) 'ucandidates' is not defined. (no-undef)
(#664) 'j' is not defined. (no-undef)
(#665) 't' is not defined. (no-undef)
(#665) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#665) 'j' is not defined. (no-undef)
(#666) 's' is not defined. (no-undef)
(#666) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#666) 'ucandidates' is not defined. (no-undef)
(#666) 'j' is not defined. (no-undef)
(#667) 't' is not defined. (no-undef)
(#667) 's' is not defined. (no-undef)
(#668) 'teamsPriority' is not defined. (no-undef)
(#668) 't' is not defined. (no-undef)
(#669) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#671) 'x' is not defined. (no-undef)
(#671) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#671) 'j' is not defined. (no-undef)
(#672) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#672) 't' is not defined. (no-undef)
(#672) 'x' is not defined. (no-undef)
(#673) 's' is not defined. (no-undef)
(#673) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#673) 'ucandidates' is not defined. (no-undef)
(#673) 'j' is not defined. (no-undef)
(#674) 't' is not defined. (no-undef)
(#674) 's' is not defined. (no-undef)
(#675) 'teamsPriority' is not defined. (no-undef)
(#675) 't' is not defined. (no-undef)
(#682) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#682) 'j' is not defined. (no-undef)
(#683) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#683) 't' is not defined. (no-undef)
(#683) 'j' is not defined. (no-undef)
(#684) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#684) 'k' is not defined. (no-undef)
(#684) 'unassignedStudents' is not defined. (no-undef)
(#685) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#685) 's' is not defined. (no-undef)
(#685) 'unassignedStudents' is not defined. (no-undef)
(#685) 'k' is not defined. (no-undef)
(#686) 'k' is not defined. (no-undef)
(#686) 't' is not defined. (no-undef)
(#688) 'assignedStudents' is not defined. (no-undef)
(#688) 'k' is not defined. (no-undef)
(#688) 's' is not defined. (no-undef)
(#689) 'unassignedStudents' is not defined. (no-undef)
(#689) 'k' is not defined. (no-undef)
(#690) 'k' is not defined. (no-undef)
(#696) 'teamsPriority' is not defined. (no-undef)
(#707) 'candidates' is not defined. (no-undef)
(#707) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#708) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#708) 'c' is not defined. (no-undef)
(#709) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#709) 'criterion' is not defined. (no-undef)
(#709) 'c' is not defined. (no-undef)
(#712) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#712) 's' is not defined. (no-undef)
(#713) 's' is not defined. (no-undef)
(#713) 'criterion' is not defined. (no-undef)
(#714) 's' is not defined. (no-undef)
(#714) 'candidates' is not defined. (no-undef)
(#715) 'candidates' is not defined. (no-undef)
(#715) 's' is not defined. (no-undef)
(#720) 'candidates' is not defined. (no-undef)
(#724) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#724) 'sr' is not defined. (no-undef)
(#724) 'responses' is not defined. (no-undef)
(#725) 'sr' is not defined. (no-undef)
(#733) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#733) 'a' is not defined. (no-undef)
(#734) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#734) 'ans' is not defined. (no-undef)
(#734) 'a' is not defined. (no-undef)
(#735) 'ans' is not defined. (no-undef)
(#735) 'sr' is not defined. (no-undef)
(#740) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#743) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#743) 'a' is not defined. (no-undef)
(#744) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#744) 'ans' is not defined. (no-undef)
(#744) 'a' is not defined. (no-undef)
(#745) 'ans' is not defined. (no-undef)
(#745) 'sr' is not defined. (no-undef)
(#750) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#753) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#753) 'a' is not defined. (no-undef)
(#754) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#754) 'ans' is not defined. (no-undef)
(#754) 'a' is not defined. (no-undef)
(#755) 'ans' is not defined. (no-undef)
(#755) 'sr' is not defined. (no-undef)
(#762) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#762) 'i' is not defined. (no-undef)
(#762) 'i' is not defined. (no-undef)
(#762) 'i' is not defined. (no-undef)
(#763) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#763) 'sc' is not defined. (no-undef)
(#763) 'i' is not defined. (no-undef)
(#764) 'sc' is not defined. (no-undef)
(#776) Unexpected space before function parentheses. (space-before-function-paren)
(#777) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#777) 'rslt' is not defined. (no-undef)
(#778) 'rslt' is not defined. (no-undef)
(#787) 'i' is not defined. (no-undef)
(#787) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#787) 'i' is not defined. (no-undef)
(#787) 'i' is not defined. (no-undef)
(#788) 't' is not defined. (no-undef)
(#788) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#788) 'i' is not defined. (no-undef)
(#789) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#789) 'lt' is not defined. (no-undef)
(#791) 't' is not defined. (no-undef)
(#791) 'lt' is not defined. (no-undef)
(#792) 'i' is not defined. (no-undef)
(#794) 't' is not defined. (no-undef)
(#794) 'lt' is not defined. (no-undef)
(#795) 'i' is not defined. (no-undef)
(#802) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#802) 'randomTeam' is not defined. (no-undef)
(#804) 'randomTeam' is not defined. (no-undef)
(#805) 'randomTeam' is not defined. (no-undef)
(#819) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#819) 'i' is not defined. (no-undef)
(#819) 'i' is not defined. (no-undef)
(#819) 'i' is not defined. (no-undef)
(#820) 'i' is not defined. (no-undef)
(#821) 'i' is not defined. (no-undef)
(#822) 'i' is not defined. (no-undef)
(#823) Missing semicolon. (semi)
(#824) 'i' is not defined. (no-undef)
(#824) Missing semicolon. (semi)
(#831) Line 831 exceeds the maximum line length of 132. (max-len)
(#831) There should be no spaces inside this paren. (space-in-parens)
(#831) There should be no spaces inside this paren. (space-in-parens)
(#832) There should be no spaces inside this paren. (space-in-parens)
(#832) There should be no spaces inside this paren. (space-in-parens)
(#844) Unexpected constant condition. (no-constant-condition)
(#853) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#853) 'i' is not defined. (no-undef)
(#853) 'i' is not defined. (no-undef)
(#853) 'i' is not defined. (no-undef)
(#854) 'index' is not defined. (no-undef)
(#854) Implicit global variable, assign as global property instead. (no-implicit-globals)
(#854) 'i' is not defined. (no-undef)
(#855) 'index' is not defined. (no-undef)
(#856) 'index' is not defined. (no-undef)
(#875) There should be no space after '{'. (object-curly-spacing)
(#875) There should be no space before '}'. (object-curly-spacing)
(#876) There should be no space after '{'. (object-curly-spacing)
(#876) There should be no space before '}'. (object-curly-spacing)
(#877) There should be no space after '{'. (object-curly-spacing)
(#877) There should be no space before '}'. (object-curly-spacing)
(#878) There should be no space after '{'. (object-curly-spacing)
(#878) There should be no space before '}'. (object-curly-spacing)
(#879) There should be no space after '{'. (object-curly-spacing)
(#879) There should be no space before '}'. (object-curly-spacing)
(#880) There should be no space after '{'. (object-curly-spacing)
(#880) There should be no space before '}'. (object-curly-spacing)
(#881) There should be no space after '{'. (object-curly-spacing)
(#881) There should be no space before '}'. (object-curly-spacing)
(#882) There should be no space after '{'. (object-curly-spacing)
(#882) There should be no space before '}'. (object-curly-spacing)
mod/teambuilder/js/criterion.js
(#6) Unexpected tab character. (no-tabs)
(#7) Unexpected tab character. (no-tabs)
(#8) Unexpected tab character. (no-tabs)
(#9) Unexpected tab character. (no-tabs)
(#10) Unexpected tab character. (no-tabs)
(#11) Unexpected tab character. (no-tabs)
(#12) Unexpected tab character. (no-tabs)
(#13) Unexpected tab character. (no-tabs)
(#14) Unexpected tab character. (no-tabs)
(#15) Unexpected tab character. (no-tabs)
(#16) Unexpected tab character. (no-tabs)
(#17) Unexpected tab character. (no-tabs)
(#18) Unexpected tab character. (no-tabs)
(#24) Unexpected space before function parentheses. (space-before-function-paren)
(#25) '$' is not defined. (no-undef)
(#25) Multiline support is limited to browsers supporting ES5 only. (no-multi-str)
(#26) Unexpected tab character. (no-tabs)
(#27) Unexpected tab character. (no-tabs)
(#28) Unexpected tab character. (no-tabs)
(#29) Unexpected tab character. (no-tabs)
(#30) Unexpected tab character. (no-tabs)
(#31) Missing semicolon. (semi)
(#33) Missing semicolon. (semi)
mod/teambuilder/js/editview.js
(#2) Identifier 'interaction_disabled' is not in camel case. (camelcase)
(#4) '$' is not defined. (no-undef)
(#6) 'init_questions' is not defined. (no-undef)
(#6) Identifier 'init_questions' is not in camel case. (camelcase)
(#7) Opening curly brace does not appear on the same line as controlling statement. (brace-style)
(#8) '$' is not defined. (no-undef)
(#8) 'init_questions' is not defined. (no-undef)
(#8) Identifier 'init_questions' is not in camel case. (camelcase)
(#8) Missing semicolon. (semi)
(#9) '$' is not defined. (no-undef)
(#13) Expected space(s) after "if". (keyword-spacing)
(#13) Identifier 'interaction_disabled' is not in camel case. (camelcase)
(#14) Opening curly brace does not appear on the same line as controlling statement. (brace-style)
(#15) '$' is not defined. (no-undef)
(#15) Extra space after key 'handle'. (key-spacing)
(#15) Extra space after key 'axis'. (key-spacing)
(#16) '$' is not defined. (no-undef)
(#16) Extra space after key 'axis'. (key-spacing)
(#16) A space is required after ','. (comma-spacing)
(#18) '$' is not defined. (no-undef)
(#19) Expected space(s) after "if". (keyword-spacing)
(#20) Opening curly brace does not appear on the same line as controlling statement. (brace-style)
(#21) '$' is not defined. (no-undef)
(#24) '$' is not defined. (no-undef)
(#26) Expected space(s) after "if". (keyword-spacing)
(#27) '$' is not defined. (no-undef)
(#28) Expected space(s) after "if". (keyword-spacing)
(#29) '$' is not defined. (no-undef)
(#33) '$' is not defined. (no-undef)
(#34) Expected space(s) after "if". (keyword-spacing)
(#35) Opening curly brace does not appear on the same line as controlling statement. (brace-style)
(#36) '$' is not defined. (no-undef)
(#37) '$' is not defined. (no-undef)
(#40) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#42) Opening curly brace does not appear on the same line as controlling statement. (brace-style)
(#43) '$' is not defined. (no-undef)
(#46) '$' is not defined. (no-undef)
(#52) '$' is not defined. (no-undef)
(#57) '$' is not defined. (no-undef)
(#58) '$' is not defined. (no-undef)
(#63) Missing JSDoc comment. (require-jsdoc)
(#64) Opening curly brace does not appear on the same line as controlling statement. (brace-style)
(#65) '$' is not defined. (no-undef)
(#69) Missing JSDoc comment. (require-jsdoc)
(#69) 'removeLastAnswer' is defined but never used. (no-unused-vars)
(#70) Opening curly brace does not appear on the same line as controlling statement. (brace-style)
(#71) '$' is not defined. (no-undef)
(#72) '$' is not defined. (no-undef)
(#75) Missing JSDoc comment. (require-jsdoc)
(#75) 'addNewQuestion' is defined but never used. (no-unused-vars)
(#76) Opening curly brace does not appear on the same line as controlling statement. (brace-style)
(#78) ["question"] is better written in dot notation. (dot-notation)
(#78) '$' is not defined. (no-undef)
(#79) ["type"] is better written in dot notation. (dot-notation)
(#79) '$' is not defined. (no-undef)
(#80) ["answers"] is better written in dot notation. (dot-notation)
(#81) '$' is not defined. (no-undef)
(#82) Opening curly brace does not appear on the same line as controlling statement. (brace-style)
(#83) '$' is not defined. (no-undef)
(#83) '$' is not defined. (no-undef)
(#84) ["answers"] is better written in dot notation. (dot-notation)
(#84) '$' is not defined. (no-undef)
(#86) Missing semicolon. (semi)
(#89) 'err' is not defined. (no-undef)
(#90) '$' is not defined. (no-undef)
(#91) 'err' is not defined. (no-undef)
(#94) 'err' is not defined. (no-undef)
(#96) 'err' is not defined. (no-undef)
(#97) Opening curly brace does not appear on the same line as controlling statement. (brace-style)
(#98) Unexpected alert. (no-alert)
(#98) 'err' is not defined. (no-undef)
(#103) 'questionView' is not defined. (no-undef)
(#103) '$' is not defined. (no-undef)
(#104) 'questionView' is not defined. (no-undef)
(#104) ["question"] is better written in dot notation. (dot-notation)
(#105) 'questionView' is not defined. (no-undef)
(#105) ["type"] is better written in dot notation. (dot-notation)
(#106) 'questionView' is not defined. (no-undef)
(#106) ["answers"] is better written in dot notation. (dot-notation)
(#107) '$' is not defined. (no-undef)
(#107) 'questionView' is not defined. (no-undef)
(#108) 'questionView' is not defined. (no-undef)
(#108) Extra space after key 'axis'. (key-spacing)
(#108) A space is required after ','. (comma-spacing)
(#109) 'questionView' is not defined. (no-undef)
(#109) A space is required after ','. (comma-spacing)
(#112) '$' is not defined. (no-undef)
(#114) '$' is not defined. (no-undef)
(#116) Function 'addNewQuestion' expected no return value. (consistent-return)
(#119) Missing JSDoc comment. (require-jsdoc)
(#119) 'deleteQuestion' is defined but never used. (no-unused-vars)
(#120) Opening curly brace does not appear on the same line as controlling statement. (brace-style)
(#121) '$' is not defined. (no-undef)
(#121) A space is required after ','. (comma-spacing)
(#121) Missing space before opening brace. (space-before-blocks)
(#122) '$' is not defined. (no-undef)
(#126) Missing JSDoc comment. (require-jsdoc)
(#126) 'saveQuestionnaire' is defined but never used. (no-unused-vars)
(#127) Opening curly brace does not appear on the same line as controlling statement. (brace-style)
(#128) '$' is not defined. (no-undef)
(#131) Opening curly brace does not appear on the same line as controlling statement. (brace-style)
(#132) Unexpected alert. (no-alert)
(#138) Opening curly brace does not appear on the same line as controlling statement. (brace-style)
(#140) '$' is not defined. (no-undef)
(#142) '$' is not defined. (no-undef)
(#142) Missing space before opening brace. (space-before-blocks)
(#143) '$' is not defined. (no-undef)
(#144) Missing semicolon. (semi)
(#148) '$' is not defined. (no-undef)
(#150) '$' is not defined. (no-undef)
(#150) A space is required after ','. (comma-spacing)
(#150) Extra space after key 'id'. (key-spacing)
(#150) Extra space after key 'action'. (key-spacing)
(#150) Extra space after key 'input'. (key-spacing)
(#150) A space is required after ','. (comma-spacing)
(#151) Expected space(s) after "for". (keyword-spacing)
(#151) 'i' is not defined. (no-undef)
(#152) Opening curly brace does not appear on the same line as controlling statement. (brace-style)
(#153) 'o' is not defined. (no-undef)
(#153) 'i' is not defined. (no-undef)
(#154) 'o' is not defined. (no-undef)
(#154) A space is required after ','. (comma-spacing)
(#154) 'o' is not defined. (no-undef)
(#156) '$' is not defined. (no-undef)
(#157) A space is required after ','. (comma-spacing)
(#157) Missing semicolon. (semi)
(#161) Extra space after key 'question'. (key-spacing)
(#161) Multiline support is limited to browsers supporting ES5 only. (no-multi-str)
(#162) Unexpected tab character. (no-tabs)
(#163) Unexpected tab character. (no-tabs)
(#164) Unexpected tab character. (no-tabs)
(#165) Unexpected tab character. (no-tabs)
(#166) Unexpected tab character. (no-tabs)
(#167) Unexpected tab character. (no-tabs)
(#168) Unexpected tab character. (no-tabs)
(#169) Unexpected tab character. (no-tabs)
(#170) Unexpected tab character. (no-tabs)
(#171) Unexpected tab character. (no-tabs)
(#175) Extra space after key 'one'. (key-spacing)
(#176) Extra space after key 'any'. (key-spacing)
(#177) Extra space after key 'atleastone'. (key-spacing)
mod/teambuilder/js/view.js
(#1) '$' is not defined. (no-undef)
(#3) '$' is not defined. (no-undef)
(#4) '$' is not defined. (no-undef)
(#5) '$' is not defined. (no-undef)
(#9) '$' is not defined. (no-undef)
(#10) '$' is not defined. (no-undef)
(#11) '$' is not defined. (no-undef)
(#12) '$' is not defined. (no-undef)
(#15) '$' is not defined. (no-undef)
(#18) '$' is not defined. (no-undef)
(#19) '$' is not defined. (no-undef)
(#20) '$' is not defined. (no-undef)
(#25) Missing JSDoc comment. (require-jsdoc)
(#25) 'validateForm' is defined but never used. (no-unused-vars)
(#28) '$' is not defined. (no-undef)
(#28) Expected to return a value at the end of function. (consistent-return)
(#29) '$' is not defined. (no-undef)
(#30) Opening curly brace does not appear on the same line as controlling statement. (brace-style)
(#31) '$' is not defined. (no-undef)
(#34) '$' is not defined. (no-undef)
(#35) Opening curly brace does not appear on the same line as controlling statement. (brace-style)
(#36) '$' is not defined. (no-undef)
(#40) '$' is not defined. (no-undef)

CSS problems

(4 errors, 27 warnings)

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

mod/teambuilder/styles.css
(#169) Invalid value for `background-attachment` (csstree/validator)
(#19) Expected "#F9F9F9" to be "#f9f9f9" (color-hex-case)
(#32) Expected "#CCC" to be "#ccc" (color-hex-case)
(#35) Expected "#FFF" to be "#fff" (color-hex-case)
(#75) Expected "#F00" to be "#f00" (color-hex-case)
(#86) Expected "#FC0" to be "#fc0" (color-hex-case)
(#97) Expected "#CCC" to be "#ccc" (color-hex-case)
(#98) Expected "#F9F9F9" to be "#f9f9f9" (color-hex-case)
(#132) Expected "#CCC" to be "#ccc" (color-hex-case)
(#133) Expected "#F9F9F9" to be "#f9f9f9" (color-hex-case)
(#154) Expected "#CCC" to be "#ccc" (color-hex-case)
(#203) Expected "#A00" to be "#a00" (color-hex-case)
(#205) Expected "#FEE" to be "#fee" (color-hex-case)
(#225) Expected "#AAA" to be "#aaa" (color-hex-case)
(#235) Expected "#FFF" to be "#fff" (color-hex-case)
(#263) Expected "#BBB" to be "#bbb" (color-hex-case)
(#264) Expected "#EEE" to be "#eee" (color-hex-case)
(#270) Expected "#CCB" to be "#ccb" (color-hex-case)
(#273) Expected "#FAFAEE" to be "#fafaee" (color-hex-case)
(#278) Expected "#EEE" to be "#eee" (color-hex-case)
(#115) Unexpected !important (declaration-no-important)
(#119) Unexpected !important (declaration-no-important)
(#44) Unexpected unit (length-zero-no-unit)
(#178) Unexpected unit (length-zero-no-unit)
(#179) Unexpected unit (length-zero-no-unit)
(#194) Unexpected unit (length-zero-no-unit)
(#253) Unexpected unit (length-zero-no-unit)
(#254) Unexpected unit (length-zero-no-unit)
(#269) Unexpected unit (length-zero-no-unit)
(#272) Unexpected unit (length-zero-no-unit)
(#242) Expected newline after "," (selector-list-comma-newline-after)

PHPDocs style problems

(42 errors, 0 warnings)

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

mod/teambuilder/ajax.php
(#17) 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
(#28) No one-line description found in phpdocs for class backup_teambuilder_activity_task
(#49) Phpdocs for function backup_teambuilder_activity_task::encode_content_links has incomplete parameters list
(#28) Class backup_teambuilder_activity_task does not have @copyright tag
(#28) Class backup_teambuilder_activity_task does not have @license tag
mod/teambuilder/backup/moodle2/backup_teambuilder_stepslib.php
(#31) Function backup_teambuilder_activity_structure_step::define_structure is not documented
(#17) No one-line description found in phpdocs for file
(#26) Class backup_teambuilder_activity_structure_step does not have @copyright tag
(#26) 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
(#35) Function restore_teambuilder_activity_structure_step::define_structure is not documented
(#59) Function restore_teambuilder_activity_structure_step::process_teambuilder is not documented
(#74) Function restore_teambuilder_activity_structure_step::process_teambuilder_response is not documented
(#85) Function restore_teambuilder_activity_structure_step::process_teambuilder_question is not documented
(#96) Function restore_teambuilder_activity_structure_step::process_teambuilder_answer is not documented
(#107) Function restore_teambuilder_activity_structure_step::after_execute is not documented
(#17) No one-line description found in phpdocs for file
(#30) Class restore_teambuilder_activity_structure_step does not have @copyright tag
(#30) Class restore_teambuilder_activity_structure_step does not have @license tag
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/classes/output/renderer.php
(#20) Package block_poll is not valid
(#41) Function renderer::navigation_tabs is not documented
mod/teambuilder/db/log.php
(#20) Package mod is not valid
mod/teambuilder/db/upgrade.php
(#28) Function xmldb_teambuilder_upgrade is not documented
mod/teambuilder/lib.php
(#90) Function teambuilder_user_outline is not documented
(#94) Function teambuilder_user_complete is not documented
(#148) Function teambuilder_get_questions is not documented
(#210) Function teambuilder_supports is not documented
(#98) Phpdocs for function teambuilder_print_recent_activity has incomplete parameters list
(#128) Phpdocs for function teambuilder_scale_used has incomplete parameters list
(#140) Phpdocs for function teambuilder_scale_used_anywhere has incomplete parameters list
(#172) Phpdocs for function teambuilder_get_responses has incomplete parameters list
mod/teambuilder/mod_form.php
(#32) Class mod_teambuilder_mod_form is not documented
(#34) Function mod_teambuilder_mod_form::definition is not documented
(#79) Function mod_teambuilder_mod_form::definition_after_data is not documented
mod/teambuilder/version.php
(#17) File-level phpdocs block is not found
mod/teambuilder/view.php
(#17) File-level phpdocs block is not found

Update savepoints problems

(0 errors, 0 warnings)

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


Third party library modification problems

(0 errors, 0 warnings)

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


grunt changes

(1 errors, 1 warnings)

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

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

shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 0 warnings)

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