Prechecker results: warning


Overview

(0 errors, 0 warnings)

This section shows the general problems detected when processing the code [More info]


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

(0 errors, 10 warnings)

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

blocks/townsquare/amd/src/timefilter.js
(#176) Expected to return a value at the end of function 'convertidtotime'. (consistent-return)
blocks/townsquare/amd/src/usersettings_save.js
(#62) ["timepast"] is better written in dot notation. (dot-notation)
(#62) ["timefuture"] is better written in dot notation. (dot-notation)
(#62) ["basicletter"] is better written in dot notation. (dot-notation)
(#63) ["completionletter"] is better written in dot notation. (dot-notation)
(#63) ["postletter"] is better written in dot notation. (dot-notation)
(#167) There should be no space before '}'. (@babel/object-curly-spacing)
(#171) Expected space(s) after "switch". (keyword-spacing)
(#235) Expected to return a value at the end of function 'convertidtotime'. (consistent-return)
(#261) Expected to return a value at the end of function 'converttimetoid'. (consistent-return)

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, 59 warnings)

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

blocks/townsquare/templates/activitycompletionletter.mustache
(#1) Example context missing.
(#1) HTML Validation error, line 3: CSS: “border-color”: Parse Error. (ad><body><div class="townsquare_letter completionletter card mb-3" id="content-nr-" style="border-color: "> <)
(#1) HTML Validation error, line 4: CSS: “background-color”: Parse Error. (r: "> <div class="townsquareletter_header completionletter_header card-header" style="background-color: "> )
(#1) HTML Validation error, line 6: Bad value “” for attribute “id” on element “div”: An ID must not be the empty string. ( <div class = "townsquareletter_course completionletter_course" id=""> )
(#1) HTML Validation error, line 8: Duplicate ID “”. ( <div class = "townsquareletter_date completionletter_date" id=""> )
(#1) HTML Validation info, line 6: The first occurrence of ID “” was here. ( <div class = "townsquareletter_course completionletter_course" id=""> )
(#1) HTML Validation error, line 8: Bad value “” for attribute “id” on element “div”: An ID must not be the empty string. ( <div class = "townsquareletter_date completionletter_date" id=""> )
blocks/townsquare/templates/basicletter.mustache
(#1) Example context missing.
(#1) HTML Validation error, line 2: CSS: “border-color”: Parse Error. (ad><body><div class="townsquare_letter basicletter card mb-3" id="content-nr-" style="border-color: "> <)
(#1) HTML Validation error, line 3: CSS: “background-color”: Parse Error. (r: "> <div class="townsquareletter_header basicletter_header card-header" style="background-color: "> )
(#1) HTML Validation error, line 5: Bad value “” for attribute “id” on element “div”: An ID must not be the empty string. ( <div class = "townsquareletter_course basicletter_course" id=""> )
(#1) HTML Validation error, line 7: Duplicate ID “”. ( <div class = "townsquareletter_date basicletter_date" id=""> )
(#1) HTML Validation info, line 5: The first occurrence of ID “” was here. ( <div class = "townsquareletter_course basicletter_course" id=""> )
(#1) HTML Validation error, line 7: Bad value “” for attribute “id” on element “div”: An ID must not be the empty string. ( <div class = "townsquareletter_date basicletter_date" id=""> )
blocks/townsquare/templates/blockcontent.mustache
(#1) Example context missing.
(#1) HTML Validation error, line 34: Attribute “autocomplete” is only allowed when the input type is “color”, “date”, “datetime-local”, “email”, “hidden”, “month”, “number”, “password”, “range”, “search”, “tel”, “text”, “time”, “url”, or “week”. ( <input class="ts_all_time_button" type="radio" checked="checked" name="ts_time_options" id="ts_time_all" autocomplete="off" > ((all)
(#1) HTML Validation error, line 40: Attribute “autocomplete” is only allowed when the input type is “color”, “date”, “datetime-local”, “email”, “hidden”, “month”, “number”, “password”, “range”, “search”, “tel”, “text”, “time”, “url”, or “week”. ( <input class="ts_future_time_button" type="radio" name="ts_time_options" id="ts_time_next_twodays" autocomplete="off"> ((nex)
(#1) HTML Validation error, line 43: Attribute “autocomplete” is only allowed when the input type is “color”, “date”, “datetime-local”, “email”, “hidden”, “month”, “number”, “password”, “range”, “search”, “tel”, “text”, “time”, “url”, or “week”. ( <input class="ts_future_time_button" type="radio" name="ts_time_options" id="ts_time_next_fivedays" autocomplete="off"> ((nex)
(#1) HTML Validation error, line 46: Attribute “autocomplete” is only allowed when the input type is “color”, “date”, “datetime-local”, “email”, “hidden”, “month”, “number”, “password”, “range”, “search”, “tel”, “text”, “time”, “url”, or “week”. ( <input class="ts_future_time_button" type="radio" name="ts_time_options" id="ts_time_next_week" autocomplete="off"> ((nex)
(#1) HTML Validation error, line 49: Attribute “autocomplete” is only allowed when the input type is “color”, “date”, “datetime-local”, “email”, “hidden”, “month”, “number”, “password”, “range”, “search”, “tel”, “text”, “time”, “url”, or “week”. ( <input class="ts_future_time_button" type="radio" name="ts_time_options" id="ts_time_next_month" autocomplete="off"> ((nex)
(#1) HTML Validation error, line 55: Attribute “autocomplete” is only allowed when the input type is “color”, “date”, “datetime-local”, “email”, “hidden”, “month”, “number”, “password”, “range”, “search”, “tel”, “text”, “time”, “url”, or “week”. ( <input class="ts_past_time_button" type="radio" name="ts_time_options" id="ts_time_last_twodays" autocomplete="off"> ((las)
(#1) HTML Validation error, line 58: Attribute “autocomplete” is only allowed when the input type is “color”, “date”, “datetime-local”, “email”, “hidden”, “month”, “number”, “password”, “range”, “search”, “tel”, “text”, “time”, “url”, or “week”. ( <input class="ts_past_time_button" type="radio" name="ts_time_options" id="ts_time_last_fivedays" autocomplete="off"> ((las)
(#1) HTML Validation error, line 61: Attribute “autocomplete” is only allowed when the input type is “color”, “date”, “datetime-local”, “email”, “hidden”, “month”, “number”, “password”, “range”, “search”, “tel”, “text”, “time”, “url”, or “week”. ( <input class="ts_past_time_button" type="radio" name="ts_time_options" id="ts_time_last_week" autocomplete="off"> ((las)
(#1) HTML Validation error, line 65: Attribute “autocomplete” is only allowed when the input type is “color”, “date”, “datetime-local”, “email”, “hidden”, “month”, “number”, “password”, “range”, “search”, “tel”, “text”, “time”, “url”, or “week”. ( <input class="ts_past_time_button" type="radio" name="ts_time_options" id="ts_time_last_month" autocomplete="off"> ((las)
(#1) HTML Validation error, line 84: The value of the “for” attribute of the “label” element must be the ID of a non-hidden form control. ( <label class="form-check-label" for="ts_basicletter_check"> )
(#1) HTML Validation error, line 90: The value of the “for” attribute of the “label” element must be the ID of a non-hidden form control. ( <label class="form-check-label" for="ts_completionletter_check"> )
(#1) HTML Validation error, line 96: The value of the “for” attribute of the “label” element must be the ID of a non-hidden form control. ( <label class="form-check-label" for="ts_postletter_check"> )
blocks/townsquare/templates/orientationmarker.mustache
(#1) Example context missing.
(#1) HTML Validation error, line 3: CSS: “border-color”: Parse Error. (ad><body><div class="orientationmarker card mb-3" id="content-nr-" style="border-color: ; background-color: ;"> <)
(#1) HTML Validation error, line 3: CSS: “background-color”: Parse Error. (ad><body><div class="orientationmarker card mb-3" id="content-nr-" style="border-color: ; background-color: ;"> <)
blocks/townsquare/templates/postletter.mustache
(#1) Example context missing.
(#1) HTML Validation error, line 2: CSS: “border-color”: Parse Error. (ad><body><div class="townsquare_letter postletter card mb-3" id="content-nr-" style="border-color: "> <)
(#1) HTML Validation error, line 3: CSS: “background-color”: Parse Error. (r: "> <div class="townsquareletter_header postletter_header card-header" style="background-color: "> )
(#1) HTML Validation error, line 5: Bad value “” for attribute “id” on element “div”: An ID must not be the empty string. ( <div class = "townsquareletter_course postletter_course" id=""> )
(#1) HTML Validation error, line 7: Duplicate ID “”. ( <div class = "townsquareletter_date postletter_date" id=""> )
(#1) HTML Validation info, line 5: The first occurrence of ID “” was here. ( <div class = "townsquareletter_course postletter_course" id=""> )
(#1) HTML Validation error, line 7: Bad value “” for attribute “id” on element “div”: An ID must not be the empty string. ( <div class = "townsquareletter_date postletter_date" id=""> )
(#1) HTML Validation error, line 19: Duplicate ID “content-nr-”. ( <span class ="postletter_message" id="content-nr-" > )
(#1) HTML Validation info, line 2: The first occurrence of ID “content-nr-” was here. (ad><body><div class="townsquare_letter postletter card mb-3" id="content-nr-" style="border-color: "> <)
(#1) HTML Validation error, line 23: Duplicate ID “content-nr-”. ( <span class="townsquare_showmore badge rounded-pill" id="content-nr-" data-action="block_townsquare/showmore_button"> )
(#1) HTML Validation info, line 2: The first occurrence of ID “content-nr-” was here. (ad><body><div class="townsquare_letter postletter card mb-3" id="content-nr-" style="border-color: "> <)
blocks/townsquare/templates/sidepanel.mustache
(#1) Example context missing.
(#1) HTML Validation error, line 24: Attribute “autocomplete” is only allowed when the input type is “color”, “date”, “datetime-local”, “email”, “hidden”, “month”, “number”, “password”, “range”, “search”, “tel”, “text”, “time”, “url”, or “week”. ( <input type="radio" class="btn-check ts_all_time_button" name="ts_time_options" id="ts_time_all" autocomplete="off" checked> )
(#1) HTML Validation error, line 30: Attribute “autocomplete” is only allowed when the input type is “color”, “date”, “datetime-local”, “email”, “hidden”, “month”, “number”, “password”, “range”, “search”, “tel”, “text”, “time”, “url”, or “week”. ( <input type="radio" class="btn-check ts_future_time_button" name="ts_time_future" id="ts_time_next_twodays" autocomplete="off"> )
(#1) HTML Validation error, line 34: Attribute “autocomplete” is only allowed when the input type is “color”, “date”, “datetime-local”, “email”, “hidden”, “month”, “number”, “password”, “range”, “search”, “tel”, “text”, “time”, “url”, or “week”. ( <input type="radio" class="btn-check ts_future_time_button" name="ts_time_future" id="ts_time_next_fivedays" autocomplete="off"> )
(#1) HTML Validation error, line 38: Attribute “autocomplete” is only allowed when the input type is “color”, “date”, “datetime-local”, “email”, “hidden”, “month”, “number”, “password”, “range”, “search”, “tel”, “text”, “time”, “url”, or “week”. ( <input type="radio" class="btn-check ts_future_time_button" name="ts_time_future" id="ts_time_next_week" autocomplete="off"> )
(#1) HTML Validation error, line 42: Attribute “autocomplete” is only allowed when the input type is “color”, “date”, “datetime-local”, “email”, “hidden”, “month”, “number”, “password”, “range”, “search”, “tel”, “text”, “time”, “url”, or “week”. ( <input type="radio" class="btn-check ts_future_time_button" name="ts_time_future" id="ts_time_next_month" autocomplete="off"> )
(#1) HTML Validation error, line 48: Attribute “autocomplete” is only allowed when the input type is “color”, “date”, “datetime-local”, “email”, “hidden”, “month”, “number”, “password”, “range”, “search”, “tel”, “text”, “time”, “url”, or “week”. ( <input type="radio" class="btn-check ts_past_time_button" name="ts_time_past" id="ts_time_last_twodays" autocomplete="off"> )
(#1) HTML Validation error, line 52: Attribute “autocomplete” is only allowed when the input type is “color”, “date”, “datetime-local”, “email”, “hidden”, “month”, “number”, “password”, “range”, “search”, “tel”, “text”, “time”, “url”, or “week”. ( <input type="radio" class="btn-check ts_past_time_button" name="ts_time_past" id="ts_time_last_fivedays" autocomplete="off"> )
(#1) HTML Validation error, line 56: Attribute “autocomplete” is only allowed when the input type is “color”, “date”, “datetime-local”, “email”, “hidden”, “month”, “number”, “password”, “range”, “search”, “tel”, “text”, “time”, “url”, or “week”. ( <input type="radio" class="btn-check ts_past_time_button" name="ts_time_past" id="ts_time_last_week" autocomplete="off"> )
(#1) HTML Validation error, line 61: Attribute “autocomplete” is only allowed when the input type is “color”, “date”, “datetime-local”, “email”, “hidden”, “month”, “number”, “password”, “range”, “search”, “tel”, “text”, “time”, “url”, or “week”. ( <input type="radio" class="btn-check ts_past_time_button" name="ts_time_past" id="ts_time_last_month" autocomplete="off"> )
blocks/townsquare/templates/sidepanel_old.mustache
(#1) Example context missing.
(#1) HTML Validation error, line 30: Attribute “autocomplete” is only allowed when the input type is “color”, “date”, “datetime-local”, “email”, “hidden”, “month”, “number”, “password”, “range”, “search”, “tel”, “text”, “time”, “url”, or “week”. ( <input class="ts_all_time_button" type="radio" checked="checked" name="ts_time_options" id="ts_time_all" autocomplete="off" > ((all)
(#1) HTML Validation error, line 36: Attribute “autocomplete” is only allowed when the input type is “color”, “date”, “datetime-local”, “email”, “hidden”, “month”, “number”, “password”, “range”, “search”, “tel”, “text”, “time”, “url”, or “week”. ( <input class="ts_future_time_button" type="radio" name="ts_time_options" id="ts_time_next_twodays" autocomplete="off"> ((nex)
(#1) HTML Validation error, line 39: Attribute “autocomplete” is only allowed when the input type is “color”, “date”, “datetime-local”, “email”, “hidden”, “month”, “number”, “password”, “range”, “search”, “tel”, “text”, “time”, “url”, or “week”. ( <input class="ts_future_time_button" type="radio" name="ts_time_options" id="ts_time_next_fivedays" autocomplete="off"> ((nex)
(#1) HTML Validation error, line 42: Attribute “autocomplete” is only allowed when the input type is “color”, “date”, “datetime-local”, “email”, “hidden”, “month”, “number”, “password”, “range”, “search”, “tel”, “text”, “time”, “url”, or “week”. ( <input class="ts_future_time_button" type="radio" name="ts_time_options" id="ts_time_next_week" autocomplete="off"> ((nex)
(#1) HTML Validation error, line 45: Attribute “autocomplete” is only allowed when the input type is “color”, “date”, “datetime-local”, “email”, “hidden”, “month”, “number”, “password”, “range”, “search”, “tel”, “text”, “time”, “url”, or “week”. ( <input class="ts_future_time_button" type="radio" name="ts_time_options" id="ts_time_next_month" autocomplete="off"> ((nex)
(#1) HTML Validation error, line 51: Attribute “autocomplete” is only allowed when the input type is “color”, “date”, “datetime-local”, “email”, “hidden”, “month”, “number”, “password”, “range”, “search”, “tel”, “text”, “time”, “url”, or “week”. ( <input class="ts_past_time_button" type="radio" name="ts_time_options" id="ts_time_last_twodays" autocomplete="off"> ((las)
(#1) HTML Validation error, line 54: Attribute “autocomplete” is only allowed when the input type is “color”, “date”, “datetime-local”, “email”, “hidden”, “month”, “number”, “password”, “range”, “search”, “tel”, “text”, “time”, “url”, or “week”. ( <input class="ts_past_time_button" type="radio" name="ts_time_options" id="ts_time_last_fivedays" autocomplete="off"> ((las)
(#1) HTML Validation error, line 57: Attribute “autocomplete” is only allowed when the input type is “color”, “date”, “datetime-local”, “email”, “hidden”, “month”, “number”, “password”, “range”, “search”, “tel”, “text”, “time”, “url”, or “week”. ( <input class="ts_past_time_button" type="radio" name="ts_time_options" id="ts_time_last_week" autocomplete="off"> ((las)
(#1) HTML Validation error, line 61: Attribute “autocomplete” is only allowed when the input type is “color”, “date”, “datetime-local”, “email”, “hidden”, “month”, “number”, “password”, “range”, “search”, “tel”, “text”, “time”, “url”, or “week”. ( <input class="ts_past_time_button" type="radio" name="ts_time_options" id="ts_time_last_month" autocomplete="off"> ((las)
(#1) HTML Validation error, line 80: The value of the “for” attribute of the “label” element must be the ID of a non-hidden form control. ( <label class="form-check-label" for="ts_basicletter_check"> )
(#1) HTML Validation error, line 86: The value of the “for” attribute of the “label” element must be the ID of a non-hidden form control. ( <label class="form-check-label" for="ts_completionletter_check"> )
(#1) HTML Validation error, line 92: The value of the “for” attribute of the “label” element must be the ID of a non-hidden form control. ( <label class="form-check-label" for="ts_postletter_check"> )

Gherkin .feature problems

(0 errors, 0 warnings)

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