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

(1 errors, 0 warnings)

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

mod/teambuilder/classes/privacy/provider.php
(#158) Commas (,) must be followed by white space.

Javascript coding style problems

(346 errors, 306 warnings)

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

mod/teambuilder/amd/src/build.js
(#50) This line has a length of 140. Maximum allowed is 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) 'i' is not defined. (no-undef)
(#112) 'questions' is not defined. (no-undef)
(#113) 'q' is not defined. (no-undef)
(#113) 'questions' is not defined. (no-undef)
(#113) 'i' is not defined. (no-undef)
(#114) 'qr' is not defined. (no-undef)
(#115) 'j' is not defined. (no-undef)
(#115) 'q' is not defined. (no-undef)
(#116) 'a' is not defined. (no-undef)
(#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. (babel/semi)
(#142) Unexpected space before function parentheses. (space-before-function-paren)
(#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. (babel/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. (babel/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. (babel/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) '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) 'ctr' is not defined. (no-undef)
(#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) 'questions' is not defined. (no-undef)
(#262) 'a' is not defined. (no-undef)
(#262) 'q' is not defined. (no-undef)
(#263) 'answer' is not defined. (no-undef)
(#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) '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)
(#303) Unexpected space before function parentheses. (space-before-function-paren)
(#305) Unexpected space before function parentheses. (space-before-function-paren)
(#309) Unexpected space before function parentheses. (space-before-function-paren)
(#312) Unexpected space before function parentheses. (space-before-function-paren)
(#318) Unexpected space before function parentheses. (space-before-function-paren)
(#342) 'questions' is not defined. (no-undef)
(#343) 'q' is not defined. (no-undef)
(#343) 'questions' is not defined. (no-undef)
(#344) 'q' is not defined. (no-undef)
(#344) 'q' is not defined. (no-undef)
(#347) Unexpected space before function parentheses. (space-before-function-paren)
(#349) 'questions' is not defined. (no-undef)
(#349) ["type"] is better written in dot notation. (dot-notation)
(#357) Unexpected space before function parentheses. (space-before-function-paren)
(#359) Unexpected space before function parentheses. (space-before-function-paren)
(#363) Unexpected space before function parentheses. (space-before-function-paren)
(#365) Unexpected space before function parentheses. (space-before-function-paren)
(#377) Unexpected space before function parentheses. (space-before-function-paren)
(#381) Unexpected space before function parentheses. (space-before-function-paren)
(#382) Missing semicolon. (babel/semi)
(#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)
(#399) 'teamDiv' used outside of binding context. (block-scoped-var)
(#400) 'teamDiv' used outside of binding context. (block-scoped-var)
(#414) 'i' used outside of binding context. (block-scoped-var)
(#415) 'i' used outside of binding context. (block-scoped-var)
(#416) 'teamDiv' is already defined. (no-redeclare)
(#416) 'teamDiv' used outside of binding context. (block-scoped-var)
(#416) 'i' used outside of binding context. (block-scoped-var)
(#417) 'j' is not defined. (no-undef)
(#418) 'j' is not defined. (no-undef)
(#421) 'teamDiv' used outside of binding context. (block-scoped-var)
(#424) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#439) Unexpected space before function parentheses. (space-before-function-paren)
(#446) 'subcriteria' is not defined. (no-undef)
(#447) 'subcriteria' is not defined. (no-undef)
(#447) Unexpected space before function parentheses. (space-before-function-paren)
(#452) Unexpected space before function parentheses. (space-before-function-paren)
(#482) Function has a complexity of 23. Maximum allowed is 20. (complexity)
(#493) Unexpected space before function parentheses. (space-before-function-paren)
(#505) 'unassignedStudents' is not defined. (no-undef)
(#506) 'assignedStudents' is not defined. (no-undef)
(#507) Unexpected space before function parentheses. (space-before-function-paren)
(#508) 'rslt' is not defined. (no-undef)
(#509) 'unassignedStudents' is not defined. (no-undef)
(#509) 'rslt' is not defined. (no-undef)
(#509) 'students' is not defined. (no-undef)
(#509) 'rslt' is not defined. (no-undef)
(#511) Unexpected space before function parentheses. (space-before-function-paren)
(#512) 'rslt' is not defined. (no-undef)
(#513) 'assignedStudents' is not defined. (no-undef)
(#513) 'rslt' is not defined. (no-undef)
(#513) 'students' is not defined. (no-undef)
(#513) 'rslt' is not defined. (no-undef)
(#517) 'responses' is not defined. (no-undef)
(#517) Unexpected space before function parentheses. (space-before-function-paren)
(#519) 'assignedStudents' is not defined. (no-undef)
(#520) 'unassignedStudents' is not defined. (no-undef)
(#525) 'teamsPriority' is not defined. (no-undef)
(#526) 'initTeamsList' is not defined. (no-undef)
(#527) 'i' is not defined. (no-undef)
(#527) 'i' is not defined. (no-undef)
(#527) 'i' is not defined. (no-undef)
(#528) 'teamsPriority' is not defined. (no-undef)
(#529) 'initTeamsList' is not defined. (no-undef)
(#529) 'i' is not defined. (no-undef)
(#532) 'i' is not defined. (no-undef)
(#533) 'i' is not defined. (no-undef)
(#534) 'cg' is not defined. (no-undef)
(#534) 'i' is not defined. (no-undef)
(#535) 'ucandidates' is not defined. (no-undef)
(#536) 'acandidates' is not defined. (no-undef)
(#539) 'ucandidates' is not defined. (no-undef)
(#539) 'unassignedStudents' is not defined. (no-undef)
(#539) 'cg' is not defined. (no-undef)
(#540) 'acandidates' is not defined. (no-undef)
(#540) 'assignedStudents' is not defined. (no-undef)
(#540) 'cg' is not defined. (no-undef)
(#541) 'studentPriority' is not defined. (no-undef)
(#543) 'j' is not defined. (no-undef)
(#543) 'unassignedStudents' is not defined. (no-undef)
(#544) 'studentPriority' is not defined. (no-undef)
(#544) 'j' is not defined. (no-undef)
(#550) 'j' is not defined. (no-undef)
(#550) 'j' is not defined. (no-undef)
(#550) 'i' is not defined. (no-undef)
(#550) 'j' is not defined. (no-undef)
(#553) 'icandidates' is not defined. (no-undef)
(#553) 'unassignedStudents' is not defined. (no-undef)
(#553) 'j' is not defined. (no-undef)
(#554) 'k' is not defined. (no-undef)
(#554) 'icandidates' is not defined. (no-undef)
(#555) 's' is not defined. (no-undef)
(#555) 'icandidates' is not defined. (no-undef)
(#555) 'k' is not defined. (no-undef)
(#556) 'studentPriority' is not defined. (no-undef)
(#556) 's' is not defined. (no-undef)
(#560) 'studentPriority' is not defined. (no-undef)
(#562) 'teamsList' is not defined. (no-undef)
(#562) 'initTeamsList' is not defined. (no-undef)
(#563) 'teamsList' is not defined. (no-undef)
(#563) 'teamsList' is not defined. (no-undef)
(#566) Move function declaration to function body root. (no-inner-declarations)
(#566) Function declared in a loop contains unsafe references to variable(s) 'teamsPriority', 'teamsPriority'. (no-loop-func)
(#566) Missing JSDoc comment. (require-jsdoc)
(#567) 'teamsPriority' is not defined. (no-undef)
(#567) 'teamsPriority' is not defined. (no-undef)
(#570) 'teamsList' is not defined. (no-undef)
(#570) 'teamsList' is not defined. (no-undef)
(#573) Move function declaration to function body root. (no-inner-declarations)
(#573) Function declared in a loop contains unsafe references to variable(s) 'teamAssignments', 'teamAssignments'. (no-loop-func)
(#573) Missing JSDoc comment. (require-jsdoc)
(#577) 'teamsList' is not defined. (no-undef)
(#577) 'teamsList' is not defined. (no-undef)
(#580) 'teamsList' is not defined. (no-undef)
(#580) Missing semicolon. (babel/semi)
(#587) 'ucandidates' is not defined. (no-undef)
(#587) 'ucandidates' is not defined. (no-undef)
(#588) 'acandidates' is not defined. (no-undef)
(#588) 'acandidates' is not defined. (no-undef)
(#591) Move function declaration to function body root. (no-inner-declarations)
(#591) Function declared in a loop contains unsafe references to variable(s) 'studentPriority', 'studentPriority'. (no-loop-func)
(#591) Missing JSDoc comment. (require-jsdoc)
(#592) 'studentPriority' is not defined. (no-undef)
(#592) 'studentPriority' is not defined. (no-undef)
(#595) 'ucandidates' is not defined. (no-undef)
(#595) 'ucandidates' is not defined. (no-undef)
(#597) 'ucandidates' is not defined. (no-undef)
(#600) 'ucandidates' is not defined. (no-undef)
(#601) 'unassignedStudents' is not defined. (no-undef)
(#601) 'ucandidates' is not defined. (no-undef)
(#603) 'unassignedStudents' is not defined. (no-undef)
(#609) 'j' is not defined. (no-undef)
(#609) 'j' is not defined. (no-undef)
(#609) 'j' is not defined. (no-undef)
(#610) 't' is not defined. (no-undef)
(#610) 'j' is not defined. (no-undef)
(#611) 'lt' is not defined. (no-undef)
(#613) Blocks are nested too deeply (5). Maximum allowed is 4. (max-depth)
(#613) 't' is not defined. (no-undef)
(#613) 'lt' is not defined. (no-undef)
(#614) 'j' is not defined. (no-undef)
(#616) 't' is not defined. (no-undef)
(#616) 'lt' is not defined. (no-undef)
(#617) 'j' is not defined. (no-undef)
(#624) 'randomTeam' is not defined. (no-undef)
(#626) 'randomTeam' is not defined. (no-undef)
(#627) 'randomTeam' is not defined. (no-undef)
(#627) 'unassignedStudents' is not defined. (no-undef)
(#629) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#631) 'ucandidates' is not defined. (no-undef)
(#631) 'acandidates' is not defined. (no-undef)
(#632) Missing semicolon. (babel/semi)
(#636) 'ucandidates' is not defined. (no-undef)
(#637) 'acandidates' is not defined. (no-undef)
(#641) 'j' is not defined. (no-undef)
(#641) 'teamsList' is not defined. (no-undef)
(#642) 't' is not defined. (no-undef)
(#642) 'teamsList' is not defined. (no-undef)
(#642) 'j' is not defined. (no-undef)
(#645) 'k' is not defined. (no-undef)
(#645) 'acandidates' is not defined. (no-undef)
(#646) 'c' is not defined. (no-undef)
(#646) 'acandidates' is not defined. (no-undef)
(#646) 'k' is not defined. (no-undef)
(#647) 'ta' is not defined. (no-undef)
(#647) 't' is not defined. (no-undef)
(#648) 'c' is not defined. (no-undef)
(#648) 'ta' is not defined. (no-undef)
(#654) 't' is not defined. (no-undef)
(#656) 'teamsPriority' is not defined. (no-undef)
(#656) 't' is not defined. (no-undef)
(#657) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#659) 't' is not defined. (no-undef)
(#660) 'teamsPriority' is not defined. (no-undef)
(#660) 't' is not defined. (no-undef)
(#665) 'j' is not defined. (no-undef)
(#665) 'ucandidates' is not defined. (no-undef)
(#666) 'j' is not defined. (no-undef)
(#667) 't' is not defined. (no-undef)
(#667) 'j' is not defined. (no-undef)
(#668) 's' is not defined. (no-undef)
(#668) 'ucandidates' is not defined. (no-undef)
(#668) 'j' is not defined. (no-undef)
(#669) 't' is not defined. (no-undef)
(#669) 's' is not defined. (no-undef)
(#670) 'teamsPriority' is not defined. (no-undef)
(#670) 't' is not defined. (no-undef)
(#671) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#673) 'x' is not defined. (no-undef)
(#673) 'j' is not defined. (no-undef)
(#674) 't' is not defined. (no-undef)
(#674) 'x' is not defined. (no-undef)
(#675) 's' is not defined. (no-undef)
(#675) 'ucandidates' is not defined. (no-undef)
(#675) 'j' is not defined. (no-undef)
(#676) 't' is not defined. (no-undef)
(#676) 's' is not defined. (no-undef)
(#677) 'teamsPriority' is not defined. (no-undef)
(#677) 't' is not defined. (no-undef)
(#684) 'j' is not defined. (no-undef)
(#685) 't' is not defined. (no-undef)
(#685) 'j' is not defined. (no-undef)
(#686) 'k' is not defined. (no-undef)
(#686) 'unassignedStudents' is not defined. (no-undef)
(#687) 's' is not defined. (no-undef)
(#687) 'unassignedStudents' is not defined. (no-undef)
(#687) 'k' is not defined. (no-undef)
(#688) 'k' is not defined. (no-undef)
(#688) 't' is not defined. (no-undef)
(#690) 'assignedStudents' is not defined. (no-undef)
(#690) 'k' is not defined. (no-undef)
(#690) 's' is not defined. (no-undef)
(#691) 'unassignedStudents' is not defined. (no-undef)
(#691) 'k' is not defined. (no-undef)
(#692) 'k' is not defined. (no-undef)
(#698) 'teamsPriority' is not defined. (no-undef)
(#709) 'candidates' is not defined. (no-undef)
(#710) 'c' is not defined. (no-undef)
(#711) 'criterion' is not defined. (no-undef)
(#711) 'c' is not defined. (no-undef)
(#714) 's' is not defined. (no-undef)
(#715) 's' is not defined. (no-undef)
(#715) 'criterion' is not defined. (no-undef)
(#716) 's' is not defined. (no-undef)
(#716) 'candidates' is not defined. (no-undef)
(#717) 'candidates' is not defined. (no-undef)
(#717) 's' is not defined. (no-undef)
(#722) 'candidates' is not defined. (no-undef)
(#726) 'responses' is not defined. (no-undef)
(#736) 'a' is not defined. (no-undef)
(#737) 'a' is not defined. (no-undef)
(#743) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#746) 'a' is not defined. (no-undef)
(#747) 'a' is not defined. (no-undef)
(#753) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#756) 'a' is not defined. (no-undef)
(#757) 'a' is not defined. (no-undef)
(#765) 'i' is not defined. (no-undef)
(#765) 'i' is not defined. (no-undef)
(#765) 'i' is not defined. (no-undef)
(#766) 'i' is not defined. (no-undef)
(#779) Unexpected space before function parentheses. (space-before-function-paren)
(#780) 'rslt' is not defined. (no-undef)
(#781) 'rslt' is not defined. (no-undef)
(#790) 'i' is not defined. (no-undef)
(#790) 'i' is not defined. (no-undef)
(#790) 'i' is not defined. (no-undef)
(#791) 't' is not defined. (no-undef)
(#791) 'i' is not defined. (no-undef)
(#792) 'lt' 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)
(#797) 't' is not defined. (no-undef)
(#797) 'lt' is not defined. (no-undef)
(#798) 'i' is not defined. (no-undef)
(#805) 'randomTeam' is not defined. (no-undef)
(#807) 'randomTeam' is not defined. (no-undef)
(#808) 'randomTeam' is not defined. (no-undef)
(#822) 'i' is not defined. (no-undef)
(#822) 'i' is not defined. (no-undef)
(#822) 'i' is not defined. (no-undef)
(#823) 'i' is not defined. (no-undef)
(#824) 'i' is not defined. (no-undef)
(#825) 'i' is not defined. (no-undef)
(#826) Missing semicolon. (babel/semi)
(#827) 'i' is not defined. (no-undef)
(#827) Missing semicolon. (babel/semi)
(#834) This line has a length of 147. Maximum allowed is 132. (max-len)
(#834) There should be no space after this paren. (space-in-parens)
(#834) There should be no space before this paren. (space-in-parens)
(#835) There should be no space after this paren. (space-in-parens)
(#835) There should be no space before this paren. (space-in-parens)
(#847) Unexpected constant condition. (no-constant-condition)
(#856) 'i' is not defined. (no-undef)
(#856) 'i' is not defined. (no-undef)
(#856) 'i' is not defined. (no-undef)
(#857) 'i' is not defined. (no-undef)
(#878) There should be no space after '{'. (babel/object-curly-spacing)
(#878) There should be no space before '}'. (babel/object-curly-spacing)
(#879) There should be no space after '{'. (babel/object-curly-spacing)
(#879) There should be no space before '}'. (babel/object-curly-spacing)
(#880) There should be no space after '{'. (babel/object-curly-spacing)
(#880) There should be no space before '}'. (babel/object-curly-spacing)
(#881) There should be no space after '{'. (babel/object-curly-spacing)
(#881) There should be no space before '}'. (babel/object-curly-spacing)
(#882) There should be no space after '{'. (babel/object-curly-spacing)
(#882) There should be no space before '}'. (babel/object-curly-spacing)
(#883) There should be no space after '{'. (babel/object-curly-spacing)
(#883) There should be no space before '}'. (babel/object-curly-spacing)
(#884) There should be no space after '{'. (babel/object-curly-spacing)
(#884) There should be no space before '}'. (babel/object-curly-spacing)
(#885) There should be no space after '{'. (babel/object-curly-spacing)
(#885) There should be no space before '}'. (babel/object-curly-spacing)
mod/teambuilder/amd/src/editview.js
(#2) Expected space or tab after '/*' in comment. (spaced-comment)
(#5) Identifier 'interaction_disabled' is not in camel case. (camelcase)
(#32) Expected space or tab after '/*' in comment. (spaced-comment)
(#33) Extra space after key 'question'. (key-spacing)
(#33) Multiline support is limited to browsers supporting ES5 only. (no-multi-str)
(#34) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#34) Unexpected tab character. (no-tabs)
(#35) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#35) Unexpected tab character. (no-tabs)
(#36) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#36) Unexpected tab character. (no-tabs)
(#37) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#37) Unexpected tab character. (no-tabs)
(#38) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#38) Unexpected tab character. (no-tabs)
(#39) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#39) Unexpected tab character. (no-tabs)
(#40) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#40) Unexpected tab character. (no-tabs)
(#41) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#41) Unexpected tab character. (no-tabs)
(#42) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#42) Unexpected tab character. (no-tabs)
(#43) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#43) Unexpected tab character. (no-tabs)
(#57) A space is required after ','. (comma-spacing)
(#57) Missing space before opening brace. (space-before-blocks)
(#76) Missing space before opening brace. (space-before-blocks)
(#87) Extra space after key 'id'. (key-spacing)
(#88) Extra space after key 'action'. (key-spacing)
(#89) Extra space after key 'input'. (key-spacing)
(#94) A space is required after ','. (comma-spacing)
(#132) Extra space after key 'axis'. (key-spacing)
(#132) A space is required after ','. (comma-spacing)
(#140) Function expected no return value. (consistent-return)
(#144) Identifier 'init_questions' is not in camel case. (camelcase)
(#145) Identifier 'init_questions' is not in camel case. (camelcase)
(#147) Identifier 'interaction_disabled' is not in camel case. (camelcase)
(#157) Expected space(s) after "if". (keyword-spacing)
(#159) Expected space(s) after "if". (keyword-spacing)
(#165) Expected space(s) after "if". (keyword-spacing)
(#205) There should be no space after '{'. (babel/object-curly-spacing)
(#205) There should be no space before '}'. (babel/object-curly-spacing)
(#206) There should be no space after '{'. (babel/object-curly-spacing)
(#206) There should be no space before '}'. (babel/object-curly-spacing)
(#207) There should be no space after '{'. (babel/object-curly-spacing)
(#207) There should be no space before '}'. (babel/object-curly-spacing)
(#208) There should be no space after '{'. (babel/object-curly-spacing)
(#208) There should be no space before '}'. (babel/object-curly-spacing)
(#209) There should be no space after '{'. (babel/object-curly-spacing)
(#209) There should be no space before '}'. (babel/object-curly-spacing)
(#210) There should be no space after '{'. (babel/object-curly-spacing)
(#210) There should be no space before '}'. (babel/object-curly-spacing)
(#211) There should be no space after '{'. (babel/object-curly-spacing)
(#211) There should be no space before '}'. (babel/object-curly-spacing)
(#212) There should be no space after '{'. (babel/object-curly-spacing)
(#212) There should be no space before '}'. (babel/object-curly-spacing)
mod/teambuilder/amd/src/view.js
(#29) Expected to return a value at the end of function. (consistent-return)
mod/teambuilder/js/jquery.ui.touch-punch.js
(#1) Expected space or tab after '/*' in comment. (spaced-comment)
(#11) Unexpected space before function parentheses. (space-before-function-paren)
(#31) Unexpected space before function parentheses. (space-before-function-paren)
(#42) Trailing spaces not allowed. (no-trailing-spaces)
(#45) Multiple spaces found before '// type'. (no-multi-spaces)
(#45) Comments should not begin with a lowercase character. (capitalized-comments)
(#46) Multiple spaces found before '// bubbles ...'. (no-multi-spaces)
(#46) Comments should not begin with a lowercase character. (capitalized-comments)
(#46) Trailing spaces not allowed. (no-trailing-spaces)
(#47) Multiple spaces found before '// cancelable ...'. (no-multi-spaces)
(#47) Comments should not begin with a lowercase character. (capitalized-comments)
(#47) Trailing spaces not allowed. (no-trailing-spaces)
(#48) Multiple spaces found before '// view ...'. (no-multi-spaces)
(#48) Comments should not begin with a lowercase character. (capitalized-comments)
(#48) Trailing spaces not allowed. (no-trailing-spaces)
(#49) Multiple spaces found before '// detail ...'. (no-multi-spaces)
(#49) Comments should not begin with a lowercase character. (capitalized-comments)
(#49) Trailing spaces not allowed. (no-trailing-spaces)
(#50) Multiple spaces found before '// screenX ...'. (no-multi-spaces)
(#50) Comments should not begin with a lowercase character. (capitalized-comments)
(#50) Trailing spaces not allowed. (no-trailing-spaces)
(#51) Multiple spaces found before '// screenY ...'. (no-multi-spaces)
(#51) Comments should not begin with a lowercase character. (capitalized-comments)
(#51) Trailing spaces not allowed. (no-trailing-spaces)
(#52) Multiple spaces found before '// clientX ...'. (no-multi-spaces)
(#52) Comments should not begin with a lowercase character. (capitalized-comments)
(#52) Trailing spaces not allowed. (no-trailing-spaces)
(#53) Multiple spaces found before '// clientY ...'. (no-multi-spaces)
(#53) Comments should not begin with a lowercase character. (capitalized-comments)
(#53) Trailing spaces not allowed. (no-trailing-spaces)
(#54) Multiple spaces found before '// ctrlKey ...'. (no-multi-spaces)
(#54) Comments should not begin with a lowercase character. (capitalized-comments)
(#54) Trailing spaces not allowed. (no-trailing-spaces)
(#55) Multiple spaces found before '// altKey ...'. (no-multi-spaces)
(#55) Comments should not begin with a lowercase character. (capitalized-comments)
(#55) Trailing spaces not allowed. (no-trailing-spaces)
(#56) Multiple spaces found before '// shiftKey ...'. (no-multi-spaces)
(#56) Comments should not begin with a lowercase character. (capitalized-comments)
(#56) Trailing spaces not allowed. (no-trailing-spaces)
(#57) Multiple spaces found before '// metaKey ...'. (no-multi-spaces)
(#57) Comments should not begin with a lowercase character. (capitalized-comments)
(#57) Trailing spaces not allowed. (no-trailing-spaces)
(#58) Multiple spaces found before '// button ...'. (no-multi-spaces)
(#58) Comments should not begin with a lowercase character. (capitalized-comments)
(#58) Trailing spaces not allowed. (no-trailing-spaces)
(#59) Multiple spaces found before '// relatedTarg...'. (no-multi-spaces)
(#59) Comments should not begin with a lowercase character. (capitalized-comments)
(#59) Trailing spaces not allowed. (no-trailing-spaces)
(#70) Unexpected space before function parentheses. (space-before-function-paren)
(#99) Unexpected space before function parentheses. (space-before-function-paren)
(#117) Unexpected space before function parentheses. (space-before-function-paren)
(#147) Unexpected space before function parentheses. (space-before-function-paren)
(#148) Trailing spaces not allowed. (no-trailing-spaces)
(#165) Unexpected space before function parentheses. (space-before-function-paren)
(#166) Trailing spaces not allowed. (no-trailing-spaces)
(#180) 'jQuery' is not defined. (no-undef)
mod/teambuilder/js/jquery.ui.touch-punch.min.js
(#1) Expected space or tab after '/*' in comment. (spaced-comment)
(#11) This line has a length of 1090. Maximum allowed is 132. (max-len)
(#11) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
(#11) Wrap an immediate function invocation in parentheses. (wrap-iife)
(#11) Requires a space after '{'. (block-spacing)
(#11) Statement inside of curly braces should be on next line. (brace-style)
(#11) Missing space before opening brace. (space-before-blocks)
(#11) Missing JSDoc comment. (require-jsdoc)
(#11) A space is required after ','. (comma-spacing)
(#11) Requires a space after '{'. (block-spacing)
(#11) Statement inside of curly braces should be on next line. (brace-style)
(#11) Missing space before opening brace. (space-before-blocks)
(#11) Expected space(s) after "if". (keyword-spacing)
(#11) This line has 17 statements. Maximum allowed is 2. (max-statements-per-line)
(#11) Operator '>' must be spaced. (space-infix-ops)
(#11) Requires a space after '{'. (block-spacing)
(#11) Statement inside of curly braces should be on next line. (brace-style)
(#11) Missing space before opening brace. (space-before-blocks)
(#11) Missing whitespace after semicolon. (semi-spacing)
(#11) Operator '=' must be spaced. (space-infix-ops)
(#11) A space is required after ','. (comma-spacing)
(#11) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#11) Operator '=' must be spaced. (space-infix-ops)
(#11) Missing whitespace after semicolon. (semi-spacing)
(#11) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
(#11) A space is required after ','. (comma-spacing)
(#11) A space is required after ','. (comma-spacing)
(#11) A space is required after ','. (comma-spacing)
(#11) A space is required after ','. (comma-spacing)
(#11) A space is required after ','. (comma-spacing)
(#11) A space is required after ','. (comma-spacing)
(#11) A space is required after ','. (comma-spacing)
(#11) A space is required after ','. (comma-spacing)
(#11) A space is required after ','. (comma-spacing)
(#11) A space is required after ','. (comma-spacing)
(#11) A space is required after ','. (comma-spacing)
(#11) A space is required after ','. (comma-spacing)
(#11) A space is required after ','. (comma-spacing)
(#11) A space is required after ','. (comma-spacing)
(#11) Unexpected use of comma operator. (no-sequences)
(#11) A space is required after ','. (comma-spacing)
(#11) Requires a space before '}'. (block-spacing)
(#11) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#11) Missing semicolon. (semi)
(#11) Requires a space before '}'. (block-spacing)
(#11) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#11) Expected space(s) before "if". (keyword-spacing)
(#11) Expected space(s) after "if". (keyword-spacing)
(#11) Operator '=' must be spaced. (space-infix-ops)
(#11) Operator 'in' must be spaced. (space-infix-ops)
(#11) Unexpected use of comma operator. (no-sequences)
(#11) A space is required after ','. (comma-spacing)
(#11) Requires a space after '{'. (block-spacing)
(#11) Statement inside of curly braces should be on next line. (brace-style)
(#11) Missing space before opening brace. (space-before-blocks)
(#11) A space is required after ','. (comma-spacing)
(#11) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#11) Operator '=' must be spaced. (space-infix-ops)
(#11) A space is required after ','. (comma-spacing)
(#11) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#11) Operator '=' must be spaced. (space-infix-ops)
(#11) A space is required after ','. (comma-spacing)
(#11) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#11) Operator '=' must be spaced. (space-infix-ops)
(#11) Missing whitespace after semicolon. (semi-spacing)
(#11) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
(#11) Operator '=' must be spaced. (space-infix-ops)
(#11) Requires a space after '{'. (block-spacing)
(#11) Statement inside of curly braces should be on next line. (brace-style)
(#11) Missing space before opening brace. (space-before-blocks)
(#11) Operator '=' must be spaced. (space-infix-ops)
(#11) Missing whitespace after semicolon. (semi-spacing)
(#11) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
(#11) Operator '&&' must be spaced. (space-infix-ops)
(#11) Operator '&&' must be spaced. (space-infix-ops)
(#11) Operator '=' must be spaced. (space-infix-ops)
(#11) A space is required after ','. (comma-spacing)
(#11) Operator '=' must be spaced. (space-infix-ops)
(#11) A space is required after ','. (comma-spacing)
(#11) A space is required after ','. (comma-spacing)
(#11) A space is required after ','. (comma-spacing)
(#11) A space is required after ','. (comma-spacing)
(#11) A space is required after ','. (comma-spacing)
(#11) A space is required after ','. (comma-spacing)
(#11) Requires a space before '}'. (block-spacing)
(#11) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#11) Missing semicolon. (semi)
(#11) Unexpected use of comma operator. (no-sequences)
(#11) A space is required after ','. (comma-spacing)
(#11) Operator '=' must be spaced. (space-infix-ops)
(#11) Requires a space after '{'. (block-spacing)
(#11) Statement inside of curly braces should be on next line. (brace-style)
(#11) Missing space before opening brace. (space-before-blocks)
(#11) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
(#11) Operator '&&' must be spaced. (space-infix-ops)
(#11) Operator '=' must be spaced. (space-infix-ops)
(#11) A space is required after ','. (comma-spacing)
(#11) A space is required after ','. (comma-spacing)
(#11) Requires a space before '}'. (block-spacing)
(#11) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#11) Missing semicolon. (semi)
(#11) A space is required after ','. (comma-spacing)
(#11) Operator '=' must be spaced. (space-infix-ops)
(#11) Requires a space after '{'. (block-spacing)
(#11) Statement inside of curly braces should be on next line. (brace-style)
(#11) Missing space before opening brace. (space-before-blocks)
(#11) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
(#11) Operator '&&' must be spaced. (space-infix-ops)
(#11) A space is required after ','. (comma-spacing)
(#11) A space is required after ','. (comma-spacing)
(#11) A space is required after ','. (comma-spacing)
(#11) A space is required after ','. (comma-spacing)
(#11) Operator '||' must be spaced. (space-infix-ops)
(#11) A space is required after ','. (comma-spacing)
(#11) A space is required after ','. (comma-spacing)
(#11) Operator '=' must be spaced. (space-infix-ops)
(#11) Requires a space before '}'. (block-spacing)
(#11) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#11) Missing semicolon. (semi)
(#11) A space is required after ','. (comma-spacing)
(#11) Operator '=' must be spaced. (space-infix-ops)
(#11) Requires a space after '{'. (block-spacing)
(#11) Statement inside of curly braces should be on next line. (brace-style)
(#11) Missing space before opening brace. (space-before-blocks)
(#11) Operator '=' must be spaced. (space-infix-ops)
(#11) Missing whitespace after semicolon. (semi-spacing)
(#11) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
(#11) Missing space before value for key 'touchstart'. (key-spacing)
(#11) A space is required after ','. (comma-spacing)
(#11) A space is required after ','. (comma-spacing)
(#11) Missing space before value for key 'touchmove'. (key-spacing)
(#11) A space is required after ','. (comma-spacing)
(#11) A space is required after ','. (comma-spacing)
(#11) Missing space before value for key 'touchend'. (key-spacing)
(#11) A space is required after ','. (comma-spacing)
(#11) Unexpected use of comma operator. (no-sequences)
(#11) A space is required after ','. (comma-spacing)
(#11) Requires a space before '}'. (block-spacing)
(#11) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#11) Missing semicolon. (semi)
(#11) A space is required after ','. (comma-spacing)
(#11) Operator '=' must be spaced. (space-infix-ops)
(#11) Requires a space after '{'. (block-spacing)
(#11) Statement inside of curly braces should be on next line. (brace-style)
(#11) Missing space before opening brace. (space-before-blocks)
(#11) Operator '=' must be spaced. (space-infix-ops)
(#11) Missing whitespace after semicolon. (semi-spacing)
(#11) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
(#11) Missing space before value for key 'touchstart'. (key-spacing)
(#11) A space is required after ','. (comma-spacing)
(#11) A space is required after ','. (comma-spacing)
(#11) Missing space before value for key 'touchmove'. (key-spacing)
(#11) A space is required after ','. (comma-spacing)
(#11) A space is required after ','. (comma-spacing)
(#11) Missing space before value for key 'touchend'. (key-spacing)
(#11) A space is required after ','. (comma-spacing)
(#11) Unexpected use of comma operator. (no-sequences)
(#11) A space is required after ','. (comma-spacing)
(#11) Requires a space before '}'. (block-spacing)
(#11) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#11) Missing semicolon. (semi)
(#11) Requires a space before '}'. (block-spacing)
(#11) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#11) Missing semicolon. (semi)
(#11) Requires a space before '}'. (block-spacing)
(#11) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#11) 'jQuery' 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

(39 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
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
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
(#74) Inline phpdocs tag {@link restore_logs_processor} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#76) Inline phpdocs tag {@link restore_log_rule} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#90) Inline phpdocs tag {@link restore_logs_processor} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#92) Inline phpdocs tag {@link restore_log_rule} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
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
mod/teambuilder/classes/event/course_module_instance_list_viewed.php
(#17) File-level phpdocs block does not have @copyright tag
mod/teambuilder/classes/output/renderer.php
(#41) Function renderer::navigation_tabs is not documented
(#20) Package block_poll is not valid
mod/teambuilder/classes/privacy/provider.php
(#290) Function provider::get_teambuilder_id_from_context is not documented
(#17) File-level phpdocs block does not have @copyright tag
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]

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

shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 0 warnings)

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


Gherkin .feature problems

(0 errors, 0 warnings)

This section shows problems detected in behat .feature files [More info]