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

(453 errors, 69 warnings)

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

blocks/course_overview_campus/block_course_overview_campus.php
(#89) Variable "coc_config" must not contain underscores.
(#90) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#105) Variable "coc_config" must not contain underscores.
(#106) Functions must not contain multiple empty lines in a row; found 3 empty lines
(#115) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#119) Variable "coc_config" must not contain underscores.
(#121) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#124) Variable "param_hidecourse" must not contain underscores.
(#125) Variable "param_showcourse" must not contain underscores.
(#126) Variable "param_hidenews" must not contain underscores.
(#127) Variable "param_shownews" must not contain underscores.
(#128) Variable "param_term" must not contain underscores.
(#129) Variable "param_category" must not contain underscores.
(#130) Variable "param_toplevelcategory" must not contain underscores.
(#131) Variable "param_teacher" must not contain underscores.
(#132) Variable "param_manage" must not contain underscores.
(#133) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#136) Variable "coc_config" must not contain underscores.
(#137) Variable "param_hidecourse" must not contain underscores.
(#138) Variable "param_hidecourse" must not contain underscores.
(#140) Variable "param_showcourse" must not contain underscores.
(#141) Variable "param_showcourse" must not contain underscores.
(#144) Variable "coc_config" must not contain underscores.
(#145) Variable "param_hidenews" must not contain underscores.
(#146) Variable "param_hidenews" must not contain underscores.
(#148) Variable "param_shownews" must not contain underscores.
(#149) Variable "param_shownews" must not contain underscores.
(#152) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#155) Variable "coc_config" must not contain underscores.
(#156) Variable "param_term" must not contain underscores.
(#157) Variable "param_term" must not contain underscores.
(#158) Variable "param_term" must not contain underscores.
(#161) Expected "} else if (...) {\n"; found "}\n // Or set term filter based on user preference with default term fallback if activated.\n else if (...) {\n"
(#161) Variable "coc_config" must not contain underscores.
(#165) Expected "} else {\n"; found "}\n // Or set term filter based on user preference with 'all' terms fallback.\n else {\n"
(#169) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#172) Variable "coc_config" must not contain underscores.
(#173) Variable "param_category" must not contain underscores.
(#174) Variable "param_category" must not contain underscores.
(#175) Variable "param_category" must not contain underscores.
(#178) Expected "} else {\n"; found "}\n // Or set parent category filter based on user preference with 'all' categories fallback.\n else {\n"
(#182) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#185) Variable "coc_config" must not contain underscores.
(#186) Variable "param_toplevelcategory" must not contain underscores.
(#187) Variable "param_toplevelcategory" must not contain underscores.
(#188) Variable "param_toplevelcategory" must not contain underscores.
(#191) Expected "} else {\n"; found "}\n // Or set top level category filter based on user preference with 'all' categories fallback.\n else {\n"
(#195) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#198) Variable "coc_config" must not contain underscores.
(#199) Variable "param_teacher" must not contain underscores.
(#200) Variable "param_teacher" must not contain underscores.
(#201) Variable "param_teacher" must not contain underscores.
(#204) Expected "} else {\n"; found "}\n // Or set teacher filter based on user preference with 'all' teachers fallback.\n else {\n"
(#208) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#212) Functions must not contain multiple empty lines in a row; found 3 empty lines
(#225) Expected "} else {\n"; found "}\n\n // Yes, I have courses.\n else {\n"
(#228) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#231) Variable "coc_config" must not contain underscores.
(#231) Variable "param_manage" must not contain underscores.
(#241) Variable "coc_config" must not contain underscores.
(#248) Variable "coc_config" must not contain underscores.
(#249) Variable "coc_config" must not contain underscores.
(#251) Expected "} else {\n"; found "}\n else {\n"
(#254) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#257) Variable "coc_config" must not contain underscores.
(#260) Variable "coc_config" must not contain underscores.
(#263) Variable "coc_config" must not contain underscores.
(#266) Variable "coc_config" must not contain underscores.
(#271) Variable "coc_config" must not contain underscores.
(#276) Variable "js_courseslist" must not contain underscores.
(#279) Variable "coc_config" must not contain underscores.
(#279) Variable "param_manage" must not contain underscores.
(#280) Variable "js_coursenewslist" must not contain underscores.
(#282) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#291) Variable "coc_config" must not contain underscores.
(#291) Variable "coc_config" must not contain underscores.
(#303) Expected "} else if (...) {\n"; found "}\n\n // If course start date is available, if timeless courses are enabled and if course start date is before.\n // timeless course threshold, set course term to "timeless".\n else if (...) {\n"
(#303) Variable "coc_config" must not contain underscores.
(#303) Variable "coc_config" must not contain underscores.
(#303) Line exceeds 132 characters; contains 136 characters
(#305) Variable "coc_config" must not contain underscores.
(#310) Expected "} else if (...) {\n"; found "}\n\n // If course start date is available, distinguish between term modes.\n // "Academic year" mode.\n else if (...) {\n"
(#310) Variable "coc_config" must not contain underscores.
(#314) Variable "coc_config" must not contain underscores.
(#314) Variable "coc_config" must not contain underscores.
(#314) Line exceeds maximum limit of 180 characters; contains 186 characters
(#317) Variable "coc_config" must not contain underscores.
(#319) Variable "coc_config" must not contain underscores.
(#319) Line exceeds 132 characters; contains 140 characters
(#323) Expected "} else if (...) {\n"; found "}\n // If term doesn't start on January 1st and course start date's day comes on or after term start day,\n // set course term to course start date's year + next year.\n else if (...) {\n"
(#325) Variable "coc_config" must not contain underscores.
(#325) Line exceeds 132 characters; contains 164 characters
(#329) Expected "} else {\n"; found "}\n // If term doesn't start on January 1st and course start date's day comes before term start day,\n // set course term to course start date's year + former year.\n else {\n"
(#331) Variable "coc_config" must not contain underscores.
(#331) Line exceeds 132 characters; contains 164 characters
(#334) Inline comments must start with a capital letter, digit or 3-dots sequence
(#335) Expected "} else if (...) {\n"; found "}\n // "Semester" mode.\n else if (...) {\n"
(#335) Variable "coc_config" must not contain underscores.
(#339) Variable "coc_config" must not contain underscores.
(#339) Variable "coc_config" must not contain underscores.
(#339) Line exceeds maximum limit of 180 characters; contains 186 characters
(#340) Variable "coc_config" must not contain underscores.
(#340) Variable "coc_config" must not contain underscores.
(#340) Line exceeds maximum limit of 180 characters; contains 186 characters
(#346) Variable "coc_config" must not contain underscores.
(#346) Line exceeds 132 characters; contains 164 characters
(#350) Expected "} else if (...) {\n"; found "}\n // If course start date's day comes on or after first term start day but before second term start day,\n // set course term to first term of current year.\n else if (...) {\n"
(#352) Variable "coc_config" must not contain underscores.
(#352) Line exceeds 132 characters; contains 140 characters
(#356) Expected "} else {\n"; found "}\n // If course start date's day comes on or after second term start day,\n // set course term to second term of current year.\n else {\n"
(#360) Variable "coc_config" must not contain underscores.
(#361) Variable "coc_config" must not contain underscores.
(#361) Line exceeds 132 characters; contains 144 characters
(#363) Variable "coc_config" must not contain underscores.
(#363) Line exceeds 132 characters; contains 168 characters
(#367) Inline comments must start with a capital letter, digit or 3-dots sequence
(#368) Expected "} else if (...) {\n"; found "}\n // "Tertial" mode.\n else if (...) {\n"
(#368) Variable "coc_config" must not contain underscores.
(#372) Variable "coc_config" must not contain underscores.
(#372) Variable "coc_config" must not contain underscores.
(#372) Line exceeds maximum limit of 180 characters; contains 186 characters
(#373) Variable "coc_config" must not contain underscores.
(#373) Variable "coc_config" must not contain underscores.
(#373) Line exceeds maximum limit of 180 characters; contains 186 characters
(#374) Variable "coc_config" must not contain underscores.
(#374) Variable "coc_config" must not contain underscores.
(#374) Line exceeds maximum limit of 180 characters; contains 186 characters
(#380) Variable "coc_config" must not contain underscores.
(#380) Line exceeds 132 characters; contains 164 characters
(#384) Expected "} else if (...) {\n"; found "}\n // If course start date's day comes on or after first term start day but before second term start day,\n // set course term to first term of current year.\n else if (...) {\n"
(#386) Variable "coc_config" must not contain underscores.
(#386) Line exceeds 132 characters; contains 140 characters
(#390) Expected "} else if (...) {\n"; found "}\n // If course start date's day comes on or after second term start day but before third term start day,\n // set course term to second term of current year.\n else if (...) {\n"
(#392) Variable "coc_config" must not contain underscores.
(#392) Line exceeds 132 characters; contains 140 characters
(#396) Expected "} else {\n"; found "}\n // If course start date's day comes on or after third term start day,\n // set course term to third term of current year.\n else {\n"
(#400) Variable "coc_config" must not contain underscores.
(#401) Variable "coc_config" must not contain underscores.
(#401) Line exceeds 132 characters; contains 144 characters
(#403) Variable "coc_config" must not contain underscores.
(#403) Line exceeds 132 characters; contains 168 characters
(#407) Inline comments must start with a capital letter, digit or 3-dots sequence
(#408) Expected "} else if (...) {\n"; found "}\n // "Trimester" mode.\n else if (...) {\n"
(#408) Variable "coc_config" must not contain underscores.
(#412) Variable "coc_config" must not contain underscores.
(#412) Variable "coc_config" must not contain underscores.
(#412) Line exceeds maximum limit of 180 characters; contains 186 characters
(#413) Variable "coc_config" must not contain underscores.
(#413) Variable "coc_config" must not contain underscores.
(#413) Line exceeds maximum limit of 180 characters; contains 186 characters
(#414) Variable "coc_config" must not contain underscores.
(#414) Variable "coc_config" must not contain underscores.
(#414) Line exceeds maximum limit of 180 characters; contains 186 characters
(#415) Variable "coc_config" must not contain underscores.
(#415) Variable "coc_config" must not contain underscores.
(#415) Line exceeds maximum limit of 180 characters; contains 186 characters
(#421) Variable "coc_config" must not contain underscores.
(#421) Line exceeds 132 characters; contains 164 characters
(#425) Expected "} else if (...) {\n"; found "}\n // If course start date's day comes on or after first term start day but before second term start day,\n // set course term to first term of current year.\n else if (...) {\n"
(#427) Variable "coc_config" must not contain underscores.
(#427) Line exceeds 132 characters; contains 140 characters
(#431) Expected "} else if (...) {\n"; found "}\n // If course start date's day comes on or after second term start day but before third term start day,\n // set course term to second term of current year.\n else if (...) {\n"
(#433) Variable "coc_config" must not contain underscores.
(#433) Line exceeds 132 characters; contains 140 characters
(#437) Expected "} else if (...) {\n"; found "}\n // If course start date's day comes on or after third term start day but before fourth term start day,\n // set course term to third term of current year.\n else if (...) {\n"
(#439) Variable "coc_config" must not contain underscores.
(#439) Line exceeds 132 characters; contains 140 characters
(#443) Expected "} else {\n"; found "}\n // If course start date's day comes on or after fourth term start day,\n // set course term to fourth term of current year.\n else {\n"
(#447) Variable "coc_config" must not contain underscores.
(#448) Variable "coc_config" must not contain underscores.
(#448) Line exceeds 132 characters; contains 144 characters
(#450) Variable "coc_config" must not contain underscores.
(#450) Line exceeds 132 characters; contains 168 characters
(#455) Expected "} else {\n"; found "}\n // This should never happen.\n else {\n"
(#464) Variable "coc_config" must not contain underscores.
(#470) Variable "coc_config" must not contain underscores.
(#471) Variable "coc_config" must not contain underscores.
(#472) Variable "coc_config" must not contain underscores.
(#473) Variable "coc_config" must not contain underscores.
(#491) Variable "coc_config" must not contain underscores.
(#493) Variable "coc_config" must not contain underscores.
(#509) Variable "coc_config" must not contain underscores.
(#515) Variable "coc_config" must not contain underscores.
(#515) Variable "coc_config" must not contain underscores.
(#522) Line exceeds maximum limit of 180 characters; contains 360 characters
(#526) Variable "coc_config" must not contain underscores.
(#529) Line exceeds maximum limit of 180 characters; contains 194 characters
(#536) Variable "coc_config" must not contain underscores.
(#538) Variable "coc_config" must not contain underscores.
(#547) Expected "} else if (...) {\n"; found "}\n // If no.\n else if (...) {\n"
(#547) Variable "coc_config" must not contain underscores.
(#549) Variable "coc_config" must not contain underscores.
(#558) Expected "} else if (...) {\n"; found "}\n // If depending on moodle/course:reviewotherusers capability.\n else if (...) {\n"
(#558) Variable "coc_config" must not contain underscores.
(#561) Variable "coc_config" must not contain underscores.
(#570) Expected "} else {\n"; found "}\n // Should not happen.\n else {\n"
(#592) Variable "coc_config" must not contain underscores.
(#594) Variable "coc_config" must not contain underscores.
(#600) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#603) Variable "coc_config" must not contain underscores.
(#612) Variable "coc_config" must not contain underscores.
(#613) Line exceeds 132 characters; contains 141 characters
(#617) Variable "coc_config" must not contain underscores.
(#618) Line exceeds 132 characters; contains 153 characters
(#622) Variable "coc_config" must not contain underscores.
(#623) Line exceeds 132 characters; contains 177 characters
(#627) Variable "coc_config" must not contain underscores.
(#628) Line exceeds 132 characters; contains 150 characters
(#632) Variable "coc_config" must not contain underscores.
(#632) Variable "param_manage" must not contain underscores.
(#635) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#639) Variable "coc_config" must not contain underscores.
(#649) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#653) Variable "coc_config" must not contain underscores.
(#657) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#660) Variable "coc_config" must not contain underscores.
(#663) Variable "coc_config" must not contain underscores.
(#666) Variable "coc_config" must not contain underscores.
(#671) Expected "} else if (...) {\n"; found "}\n // If term doesn't start on January 1st and current day comes on or after term start day and there are courses\n // this term, set selected term to this year + next year.\n else if (...) {\n"
(#671) Variable "coc_config" must not contain underscores.
(#671) Line exceeds 132 characters; contains 138 characters
(#677) Expected "} else if (...) {\n"; found "}\n // If term doesn't start on January 1st and current day comes before term start day and there are courses\n // this term, set selected term to this year + former year.\n else if (...) {\n"
(#681) Expected "} else {\n"; found "}\n // Otherwise set selected term to the latest (but not future) term possible.\n else {\n"
(#692) Inline comments must start with a capital letter, digit or 3-dots sequence
(#693) Expected "} else if (...) {\n"; found "}\n // "Semester" mode.\n else if (...) {\n"
(#693) Variable "coc_config" must not contain underscores.
(#696) Variable "coc_config" must not contain underscores.
(#696) Line exceeds 132 characters; contains 177 characters
(#701) Expected "} else if (...) {\n"; found "}\n // If current day comes on or after first term start day but before second term start day and there are courses\n // this term, set selected term to first term of current year.\n else if (...) {\n"
(#701) Variable "coc_config" must not contain underscores.
(#701) Line exceeds 132 characters; contains 153 characters
(#702) Variable "coc_config" must not contain underscores.
(#702) Line exceeds 132 characters; contains 151 characters
(#708) Expected "} else if (...) {\n"; found "}\n // If course start date's day comes on or after second term start day and there are courses this term,\n // set selected term to second term of current year.\n else if (...) {\n"
(#712) Expected "} else {\n"; found "}\n // Otherwise set selected term to the latest (but not future) term possible.\n else {\n"
(#723) Inline comments must start with a capital letter, digit or 3-dots sequence
(#724) Expected "} else if (...) {\n"; found "}\n // "Tertial" mode.\n else if (...) {\n"
(#724) Variable "coc_config" must not contain underscores.
(#727) Variable "coc_config" must not contain underscores.
(#733) Expected "} else if (...) {\n"; found "}\n // If current day comes on or after first term start day but before second term start day and there are courses\n // this term, set selected term to first term of current year.\n else if (...) {\n"
(#733) Variable "coc_config" must not contain underscores.
(#733) Line exceeds 132 characters; contains 153 characters
(#734) Variable "coc_config" must not contain underscores.
(#734) Line exceeds 132 characters; contains 151 characters
(#740) Expected "} else if (...) {\n"; found "}\n // If current day comes on or after second term start day but before third term start day and there are courses\n // this term, set selected term to second term of current year.\n else if (...) {\n"
(#740) Variable "coc_config" must not contain underscores.
(#740) Line exceeds 132 characters; contains 153 characters
(#741) Variable "coc_config" must not contain underscores.
(#741) Line exceeds 132 characters; contains 151 characters
(#747) Expected "} else if (...) {\n"; found "}\n // If course start date's day comes on or after third term start day and there are courses this term,\n // set selected term to third term of current year.\n else if (...) {\n"
(#751) Expected "} else {\n"; found "}\n // Otherwise set selected term to the latest (but not future) term possible.\n else {\n"
(#762) Inline comments must start with a capital letter, digit or 3-dots sequence
(#763) Expected "} else if (...) {\n"; found "}\n // "Trimester" mode.\n else if (...) {\n"
(#763) Variable "coc_config" must not contain underscores.
(#766) Variable "coc_config" must not contain underscores.
(#772) Expected "} else if (...) {\n"; found "}\n // If current day comes on or after first term start day but before second term start day and there are courses\n // this term, set selected term to first term of current year.\n else if (...) {\n"
(#772) Variable "coc_config" must not contain underscores.
(#772) Line exceeds 132 characters; contains 153 characters
(#773) Variable "coc_config" must not contain underscores.
(#773) Line exceeds 132 characters; contains 151 characters
(#779) Expected "} else if (...) {\n"; found "}\n // If current day comes on or after second term start day but before third term start day and there are courses\n // this term, set selected term to second term of current year.\n else if (...) {\n"
(#779) Variable "coc_config" must not contain underscores.
(#779) Line exceeds 132 characters; contains 153 characters
(#780) Variable "coc_config" must not contain underscores.
(#780) Line exceeds 132 characters; contains 151 characters
(#786) Expected "} else if (...) {\n"; found "}\n // If current day comes on or after third term start day but before fourth term start day and there are courses\n // this term, set selected term to third term of current year.\n else if (...) {\n"
(#786) Variable "coc_config" must not contain underscores.
(#786) Line exceeds 132 characters; contains 153 characters
(#787) Variable "coc_config" must not contain underscores.
(#787) Line exceeds 132 characters; contains 151 characters
(#793) Expected "} else if (...) {\n"; found "}\n // If course start date's day comes on or after fourth term start day and there are courses this term,\n // set selected term to fourth term of current year.\n else if (...) {\n"
(#797) Expected "} else {\n"; found "}\n // Otherwise set selected term to the latest (but not future) term possible.\n else {\n"
(#809) Expected "} else {\n"; found "}\n // This should never happen.\n else {\n"
(#816) Functions must not contain multiple empty lines in a row; found 3 empty lines
(#824) Variable "coc_config" must not contain underscores.
(#824) Variable "param_manage" must not contain underscores.
(#824) Variable "coc_config" must not contain underscores.
(#824) Variable "coc_config" must not contain underscores.
(#824) Variable "coc_config" must not contain underscores.
(#824) Variable "coc_config" must not contain underscores.
(#824) Line exceeds maximum limit of 180 characters; contains 259 characters
(#827) Variable "coc_config" must not contain underscores.
(#830) Variable "coc_config" must not contain underscores.
(#833) Variable "coc_config" must not contain underscores.
(#836) Variable "coc_config" must not contain underscores.
(#846) Line exceeds 132 characters; contains 134 characters
(#858) Variable "coc_config" must not contain underscores.
(#862) Variable "coc_config" must not contain underscores.
(#863) Variable "coc_config" must not contain underscores.
(#867) Line exceeds maximum limit of 180 characters; contains 196 characters
(#889) Line exceeds 132 characters; contains 136 characters
(#893) Expected "} else if (...) {\n"; found "}\n // Handle "timeless" term option.\n else if (...) {\n"
(#894) Variable "coc_config" must not contain underscores.
(#894) Line exceeds 132 characters; contains 135 characters
(#902) Expected "} else {\n"; found "}\n // If iterated term isn't selected term.\n else {\n"
(#908) Expected "} else if (...) {\n"; found "}\n // Handle "timeless" term option.\n else if (...) {\n"
(#909) Variable "coc_config" must not contain underscores.
(#929) Variable "coc_config" must not contain underscores.
(#933) Variable "coc_config" must not contain underscores.
(#934) Variable "coc_config" must not contain underscores.
(#934) Line exceeds 132 characters; contains 151 characters
(#947) Variable "ftl_key" must not contain underscores.
(#947) Variable "ftl_value" must not contain underscores.
(#948) Variable "ftl_key" must not contain underscores.
(#977) Expected "} else {\n"; found "}\n // If iterated top level category isn't selected top level category.\n else {\n"
(#995) Variable "coc_config" must not contain underscores.
(#999) Variable "coc_config" must not contain underscores.
(#1000) Variable "coc_config" must not contain underscores.
(#1000) Line exceeds 132 characters; contains 135 characters
(#1004) Line exceeds maximum limit of 180 characters; contains 204 characters
(#1028) Expected "} else {\n"; found "}\n // If iterated parent category isn't selected parent category.\n else {\n"
(#1046) Variable "coc_config" must not contain underscores.
(#1050) Variable "coc_config" must not contain underscores.
(#1051) Variable "coc_config" must not contain underscores.
(#1051) Line exceeds 132 characters; contains 133 characters
(#1055) Line exceeds maximum limit of 180 characters; contains 202 characters
(#1098) Line exceeds maximum limit of 180 characters; contains 228 characters
(#1103) Functions must not contain multiple empty lines in a row; found 3 empty lines
(#1111) Variable "coc_config" must not contain underscores.
(#1113) Variable "param_manage" must not contain underscores.
(#1114) Line exceeds maximum limit of 180 characters; contains 291 characters
(#1117) Functions must not contain multiple empty lines in a row; found 3 empty lines
(#1130) Variable "js_courseslist" must not contain underscores.
(#1136) Variable "coc_config" must not contain underscores.
(#1136) Variable "param_manage" must not contain underscores.
(#1142) Expected "} else {\n"; found "}\n // Otherwise hide the course with CSS.\n else {\n"
(#1148) Variable "coc_config" must not contain underscores.
(#1148) Variable "param_manage" must not contain underscores.
(#1154) Expected "} else {\n"; found "}\n // Otherwise hide the course with CSS.\n else {\n"
(#1160) Variable "coc_config" must not contain underscores.
(#1160) Variable "param_manage" must not contain underscores.
(#1166) Expected "} else {\n"; found "}\n // Otherwise hide the course with CSS.\n else {\n"
(#1172) Variable "coc_config" must not contain underscores.
(#1172) Variable "param_manage" must not contain underscores.
(#1178) Expected "} else {\n"; found "}\n // Otherwise hide the course with CSS.\n else {\n"
(#1184) Variable "coc_config" must not contain underscores.
(#1184) Variable "param_manage" must not contain underscores.
(#1198) Expected "} else {\n"; found "}\n // Otherwise hide the course with CSS.\n else {\n"
(#1202) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#1208) Variable "coc_config" must not contain underscores.
(#1208) Variable "param_manage" must not contain underscores.
(#1213) Variable "param_manage" must not contain underscores.
(#1213) Line exceeds maximum limit of 180 characters; contains 285 characters
(#1214) Line exceeds 132 characters; contains 153 characters
(#1216) Variable "param_manage" must not contain underscores.
(#1216) Line exceeds maximum limit of 180 characters; contains 304 characters
(#1217) Line exceeds 132 characters; contains 154 characters
(#1222) Expected "} else {\n"; found "}\n // If course news are visible.\n else {\n"
(#1224) Variable "param_manage" must not contain underscores.
(#1224) Line exceeds maximum limit of 180 characters; contains 304 characters
(#1225) Line exceeds 132 characters; contains 153 characters
(#1227) Variable "param_manage" must not contain underscores.
(#1227) Line exceeds maximum limit of 180 characters; contains 285 characters
(#1228) Line exceeds 132 characters; contains 154 characters
(#1236) Variable "coc_config" must not contain underscores.
(#1238) Line exceeds maximum limit of 180 characters; contains 191 characters
(#1240) Variable "param_manage" must not contain underscores.
(#1240) Line exceeds maximum limit of 180 characters; contains 289 characters
(#1241) Line exceeds 132 characters; contains 160 characters
(#1243) Variable "param_manage" must not contain underscores.
(#1243) Line exceeds maximum limit of 180 characters; contains 308 characters
(#1244) Line exceeds 132 characters; contains 160 characters
(#1249) Expected "} else {\n"; found "}\n // If course is visible.\n else {\n"
(#1251) Variable "param_manage" must not contain underscores.
(#1251) Line exceeds maximum limit of 180 characters; contains 308 characters
(#1252) Line exceeds 132 characters; contains 160 characters
(#1254) Variable "param_manage" must not contain underscores.
(#1254) Line exceeds maximum limit of 180 characters; contains 289 characters
(#1255) Line exceeds 132 characters; contains 160 characters
(#1268) Variable "coc_config" must not contain underscores.
(#1269) Variable "coc_config" must not contain underscores.
(#1270) Variable "coc_config" must not contain underscores.
(#1271) Variable "coc_config" must not contain underscores.
(#1272) Variable "coc_config" must not contain underscores.
(#1274) Variable "coc_config" must not contain underscores.
(#1277) Variable "coc_config" must not contain underscores.
(#1280) Variable "coc_config" must not contain underscores.
(#1283) Variable "coc_config" must not contain underscores.
(#1286) Variable "coc_config" must not contain underscores.
(#1291) Variable "coc_config" must not contain underscores.
(#1292) Variable "coc_config" must not contain underscores.
(#1299) Variable "coc_config" must not contain underscores.
(#1303) Expected "} else {\n"; found "}\n // Otherwise.\n else {\n"
(#1307) Expected "} else {\n"; found "}\n else {\n"
(#1312) Variable "coc_config" must not contain underscores.
(#1313) Line exceeds 132 characters; contains 161 characters
(#1315) Expected "} else {\n"; found "}\n else {\n"
(#1316) Line exceeds 132 characters; contains 175 characters
(#1318) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#1321) Variable "coc_config" must not contain underscores.
(#1321) Variable "param_manage" must not contain underscores.
(#1324) Variable "js_coursenewslist" must not contain underscores.
(#1331) Expected "} else {\n"; found "}\n // Otherwise start course news div as hidden.\n else {\n"
(#1339) Line exceeds 132 characters; contains 134 characters
(#1342) Line indented incorrectly; expected 28 spaces, found 32
(#1344) Line indented incorrectly; expected 28 spaces, found 32
(#1345) Line exceeds 132 characters; contains 174 characters
(#1346) Line indented incorrectly; expected 28 spaces, found 32
(#1362) Variable "coc_config" must not contain underscores.
(#1362) Variable "param_manage" must not contain underscores.
(#1367) Variable "coc_config" must not contain underscores.
(#1367) Variable "param_manage" must not contain underscores.
(#1372) Variable "coc_config" must not contain underscores.
(#1372) Variable "param_manage" must not contain underscores.
(#1377) Variable "coc_config" must not contain underscores.
(#1377) Variable "param_manage" must not contain underscores.
(#1382) Variable "coc_config" must not contain underscores.
(#1382) Variable "param_manage" must not contain underscores.
(#1392) Functions must not contain multiple empty lines in a row; found 3 empty lines
(#1400) Variable "coc_config" must not contain underscores.
(#1402) Variable "param_manage" must not contain underscores.
(#1403) Line exceeds maximum limit of 180 characters; contains 294 characters
(#1406) Expected "} else if (...) {\n"; found "}\n // If hidden courses managing is not active, but I have hidden courses, output the box as visible.\n else if (...) {\n"
(#1406) Variable "param_manage" must not contain underscores.
(#1407) Line exceeds maximum limit of 180 characters; contains 479 characters
(#1410) Expected "} else {\n"; found "}\n // Otherwise output the box as hidden to appear via JS as soon as a course is hidden.\n else {\n"
(#1411) Line exceeds maximum limit of 180 characters; contains 490 characters
(#1414) Functions must not contain multiple empty lines in a row; found 3 empty lines
(#1424) Functions must not contain multiple empty lines in a row; found 3 empty lines
(#1433) Variable "coc_config" must not contain underscores.
(#1436) Variable "coc_config" must not contain underscores.
(#1436) Variable "param_manage" must not contain underscores.
(#1442) Variable "coc_config" must not contain underscores.
(#1445) Variable "coc_config" must not contain underscores.
(#1448) Variable "coc_config" must not contain underscores.
(#1451) Variable "coc_config" must not contain underscores.
(#1456) Variable "coc_config" must not contain underscores.
(#1457) Variable "js_hidecoursesoptions" must not contain underscores.
(#1459) Variable "js_courseslist" must not contain underscores.
(#1460) Variable "param_manage" must not contain underscores.
(#1462) Variable "js_hidecoursesoptions" must not contain underscores.
(#1466) Variable "coc_config" must not contain underscores.
(#1466) Variable "param_manage" must not contain underscores.
(#1467) Variable "js_coursenewsoptions" must not contain underscores.
(#1468) Variable "js_coursenewslist" must not contain underscores.
(#1471) Variable "js_coursenewsoptions" must not contain underscores.
(#1475) Variable "coc_config" must not contain underscores.
(#1475) Variable "coc_config" must not contain underscores.
(#1475) Variable "coc_config" must not contain underscores.
(#1475) Variable "coc_config" must not contain underscores.
(#1475) Line exceeds maximum limit of 180 characters; contains 198 characters
(#1476) Variable "js_filteroptions" must not contain underscores.
(#1484) Line exceeds 132 characters; contains 147 characters
(#1485) Variable "js_filteroptions" must not contain underscores.
(#1487) Functions must not contain multiple empty lines in a row; found 3 empty lines
(#1509) Functions must not contain multiple empty lines in a row; found 3 empty lines
blocks/course_overview_campus/locallib.php
(#217) Variable "coc_config" must not contain underscores.
(#219) Variable "coc_config" must not contain underscores.
(#221) Variable "coc_config" must not contain underscores.
(#222) Variable "coc_config" must not contain underscores.
(#222) Expected 1 space after "<"; newline found
(#223) Variable "coc_config" must not contain underscores.
(#225) Variable "coc_config" must not contain underscores.
(#226) Variable "coc_config" must not contain underscores.
(#226) Expected 1 space after "<"; newline found
(#227) Variable "coc_config" must not contain underscores.
(#228) Variable "coc_config" must not contain underscores.
(#228) Expected 1 space after "<"; newline found
(#229) Variable "coc_config" must not contain underscores.
(#231) Variable "coc_config" must not contain underscores.
(#232) Variable "coc_config" must not contain underscores.
(#232) Expected 1 space after "<"; newline found
(#233) Variable "coc_config" must not contain underscores.
(#234) Variable "coc_config" must not contain underscores.
(#234) Expected 1 space after "<"; newline found
(#235) Variable "coc_config" must not contain underscores.
(#236) Variable "coc_config" must not contain underscores.
(#236) Expected 1 space after "<"; newline found
(#237) Variable "coc_config" must not contain underscores.
(#252) Variable "coc_config" must not contain underscores.
(#267) Variable "coc_config" must not contain underscores.
(#270) Variable "coc_config" must not contain underscores.
(#274) Expected "} else if (...) {\n"; found "}\n // Display lastname.\n else if (...) {\n"
(#274) Variable "coc_config" must not contain underscores.
(#278) Expected "} else if (...) {\n"; found "}\n // Display firstname.\n else if (...) {\n"
(#278) Variable "coc_config" must not contain underscores.
(#282) Expected "} else if (...) {\n"; found "}\n // Display fullnamedisplay.\n else if (...) {\n"
(#282) Variable "coc_config" must not contain underscores.
(#286) Expected "} else {\n"; found "}\n // Fallback: Display lastname.\n else {\n"
(#307) Variable "coc_config" must not contain underscores.
(#313) Variable "coc_config" must not contain underscores.
(#317) Expected "} else if (...) {\n"; found "}\n // Slash separation.\n else if (...) {\n"
(#317) Variable "coc_config" must not contain underscores.
(#321) Expected "} else if (...) {\n"; found "}\n // Underscore separation.\n else if (...) {\n"
(#321) Variable "coc_config" must not contain underscores.
(#325) Expected "} else if (...) {\n"; found "}\n // No second year.\n else if (...) {\n"
(#325) Variable "coc_config" must not contain underscores.
(#329) Expected "} else {\n"; found "}\n // This shouldn't happen.\n else {\n"
(#336) Variable "coc_config" must not contain underscores.
(#340) Expected "} else if (...) {\n"; found "}\n // Prefix without space.\n else if (...) {\n"
(#340) Variable "coc_config" must not contain underscores.
(#344) Expected "} else if (...) {\n"; found "}\n // Suffix with space.\n else if (...) {\n"
(#344) Variable "coc_config" must not contain underscores.
(#348) Expected "} else if (...) {\n"; found "}\n // Suffix without space.\n else if (...) {\n"
(#348) Variable "coc_config" must not contain underscores.
(#352) Expected "} else {\n"; found "}\n // This shouldn't happen.\n else {\n"
(#451) Variable "coc_config" must not contain underscores.
(#453) Line exceeds 132 characters; contains 159 characters
(#455) Variable "coc_config" must not contain underscores.
(#458) Variable "coc_config" must not contain underscores.
(#458) Line exceeds 132 characters; contains 138 characters
(#461) Variable "coc_config" must not contain underscores.
(#461) Line exceeds 132 characters; contains 154 characters
(#464) Variable "coc_config" must not contain underscores.
(#464) Line exceeds 132 characters; contains 136 characters
(#488) Variable "local_boostcoc_installed" must not contain underscores.
(#490) Variable "local_boostcoc_installed" must not contain underscores.
(#492) Variable "local_boostcoc_installed" must not contain underscores.
(#494) Variable "local_boostcoc_installed" must not contain underscores.
(#498) Variable "local_boostcoc_installed" must not contain underscores.
blocks/course_overview_campus/settings.php
(#88) Expected "} else if (...) {\n"; found "}\n\n\n // Create full settings page structure.\n else if (...) {\n"
(#123) Line exceeds maximum limit of 180 characters; contains 202 characters
(#161) Line exceeds 132 characters; contains 159 characters
(#267) Line exceeds maximum limit of 180 characters; contains 199 characters
(#396) Variable "coc_config" must not contain underscores.
(#397) Variable "coc_config" must not contain underscores.
(#398) Variable "coc_config" must not contain underscores.
(#399) Variable "coc_config" must not contain underscores.
(#402) Line exceeds 132 characters; contains 137 characters
(#409) Line exceeds maximum limit of 180 characters; contains 223 characters
(#424) Line exceeds 132 characters; contains 173 characters
(#491) Line exceeds maximum limit of 180 characters; contains 235 characters

Javascript coding style problems

(0 errors, 14 warnings)

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

blocks/course_overview_campus/amd/src/filter.js
(#12) Missing JSDoc comment. (require-jsdoc)
(#30) Missing JSDoc comment. (require-jsdoc)
(#48) Missing JSDoc comment. (require-jsdoc)
(#66) Missing JSDoc comment. (require-jsdoc)
(#84) Missing JSDoc comment. (require-jsdoc)
(#93) Blocks are nested too deeply (5). (max-depth)
(#113) Missing JSDoc comment. (require-jsdoc)
(#129) Missing JSDoc comment. (require-jsdoc)
blocks/course_overview_campus/amd/src/hidecourse.js
(#12) Missing JSDoc comment. (require-jsdoc)
(#36) Missing JSDoc comment. (require-jsdoc)
(#52) Missing JSDoc comment. (require-jsdoc)
(#68) Missing JSDoc comment. (require-jsdoc)
blocks/course_overview_campus/amd/src/hidenews.js
(#12) Missing JSDoc comment. (require-jsdoc)
(#26) Missing JSDoc comment. (require-jsdoc)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(0 errors, 0 warnings)

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


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

(0 errors, 0 warnings)

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


shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 0 warnings)

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