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

(186 errors, 276 warnings)

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

mod/booking/backup/moodle2/backup_booking_activity_task.class.php
(#53) The static declaration must come after the visibility declaration
mod/booking/backup/moodle2/backup_booking_settingslib.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/booking/backup/moodle2/backup_booking_stepslib.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/booking/backup/moodle2/restore_booking_activity_task.class.php
(#52) The static declaration must come after the visibility declaration
(#65) The static declaration must come after the visibility declaration
(#81) The static declaration must come after the visibility declaration
(#107) The static declaration must come after the visibility declaration
mod/booking/backup/moodle2/restore_booking_stepslib.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/booking/bookinginstancetemplatessettings.php
(#38) Logical operator "and" is prohibited; use "&&" instead
mod/booking/bookingredirect.php
(#24) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#26) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
(#38) File must end with a newline character
mod/booking/categories.php
(#81) File must end with a newline character
mod/booking/categoriesform.class.php
(#16) Old MOODLE_INTERNAL check detected. Replace it by "defined('MOODLE_INTERNAL') || die();"
mod/booking/category.php
(#27) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#31) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#66) File must end with a newline character
mod/booking/categoryadd.php
(#36) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#110) File must end with a newline character
mod/booking/classes/GoogleUrlApi.php
(#24) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/booking/classes/all_options.php
(#38) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#275) Line exceeds 132 characters; contains 140 characters
mod/booking/classes/booking.php
(#134) Inline comments must end in full-stops, exclamation marks, or question marks
(#191) Line exceeds 132 characters; contains 174 characters
(#205) Line exceeds 132 characters; contains 134 characters
(#214) The static declaration must come after the visibility declaration
(#237) Line exceeds 132 characters; contains 165 characters
(#252) Line exceeds 132 characters; contains 170 characters
(#286) Line exceeds 132 characters; contains 147 characters
(#301) Line exceeds 132 characters; contains 137 characters
(#335) Line exceeds 132 characters; contains 144 characters
(#500) Line exceeds 132 characters; contains 165 characters
(#503) Line exceeds 132 characters; contains 153 characters
mod/booking/classes/booking_option.php
(#339) Logical operator "and" is prohibited; use "&&" instead
(#634) Logical operator "and" is prohibited; use "&&" instead
(#1023) Logical operator "or" is prohibited; use "||" instead
(#1024) Logical operator "and" is prohibited; use "&&" instead
mod/booking/classes/booking_utils.php
(#19) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#232) Logical operator "and" is prohibited; use "&&" instead
(#238) Logical operator "and" is prohibited; use "&&" instead
(#238) Logical operator "and" is prohibited; use "&&" instead
(#336) Logical operator "and" is prohibited; use "&&" instead
(#1172) Logical operator "or" is prohibited; use "||" instead
(#1205) Logical operator "or" is prohibited; use "||" instead
mod/booking/classes/calendar.php
(#163) Line exceeds 132 characters; contains 143 characters
(#165) Line exceeds 132 characters; contains 150 characters
(#170) Line exceeds 132 characters; contains 144 characters
(#171) Line exceeds 132 characters; contains 153 characters
(#172) Line exceeds 132 characters; contains 146 characters
(#176) Line exceeds 132 characters; contains 144 characters
(#200) Declaring a required parameter after an optional one is deprecated since PHP 8.0. Parameter $userid is optional, while parameter $calendareventid is required.
(#292) Declaring a required parameter after an optional one is deprecated since PHP 8.0. Parameter $userid is optional, while parameter $calendareventid is required.
(#292) Line exceeds 132 characters; contains 135 characters
(#309) Line exceeds 132 characters; contains 134 characters
(#377) File must end with a newline character
mod/booking/classes/event/booking_cancelled.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#52) Line exceeds 132 characters; contains 158 characters
(#62) File must end with a newline character
mod/booking/classes/event/bookingoption_booked.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#52) Line exceeds 132 characters; contains 153 characters
(#93) File must end with a newline character
mod/booking/classes/event/bookingoption_completed.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/booking/classes/event/bookingoption_created.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#65) Possible useless method overriding detected
(#68) File must end with a newline character
mod/booking/classes/event/bookingoption_deleted.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#41) Inline comments must start with a capital letter, digit or 3-dots sequence
(#41) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) This comment is 50% valid code; is this commented out code?
(#64) Possible useless method overriding detected
(#67) File must end with a newline character
mod/booking/classes/event/bookingoption_updated.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#41) Inline comments must start with a capital letter, digit or 3-dots sequence
(#41) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) This comment is 50% valid code; is this commented out code?
(#64) Possible useless method overriding detected
(#67) File must end with a newline character
mod/booking/classes/event/bookingoptiondate_created.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#63) Possible useless method overriding detected
(#66) File must end with a newline character
mod/booking/classes/event/bookingoptiondate_deleted.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#63) Possible useless method overriding detected
(#66) File must end with a newline character
mod/booking/classes/event/course_module_viewed.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/booking/classes/event/custom_field_changed.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/booking/classes/event/report_viewed.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#86) File must end with a newline character
mod/booking/classes/event/teacher_added.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#71) File must end with a newline character
mod/booking/classes/event/teacher_removed.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/booking/classes/form/confirmactivity.php
(#65) File must end with a newline character
mod/booking/classes/form/customfield.php
(#149) Line exceeds 132 characters; contains 135 characters
mod/booking/classes/form/customreporttemplatesadd_form.php
(#20) Old MOODLE_INTERNAL check detected. Replace it by "defined('MOODLE_INTERNAL') || die();"
mod/booking/classes/form/importoptions_form.php
(#22) Old MOODLE_INTERNAL check detected. Replace it by "defined('MOODLE_INTERNAL') || die();"
mod/booking/classes/form/instancetemplateadd_form.php
(#20) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#38) File must end with a newline character
mod/booking/classes/form/option_form.php
(#75) Functions must not contain multiple empty lines in a row; found 2 empty lines
mod/booking/classes/form/subscribe_cohort_or_group_form.php
(#54) Inline comments must start with a capital letter, digit or 3-dots sequence
(#54) This comment is 84% valid code; is this commented out code?
(#57) Inline comments must start with a capital letter, digit or 3-dots sequence
(#57) This comment is 84% valid code; is this commented out code?
(#82) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#102) Visibility must be declared on method "validation"
mod/booking/classes/form/subscribeusersctivity.php
(#29) Line exceeds 132 characters; contains 168 characters
(#42) Passing the $glue and $pieces parameters in reverse order to implode has been deprecated since PHP 7.4 and is removed since PHP 8.0; $glue should be the first parameter and $pieces the second
(#47) Line exceeds 132 characters; contains 137 characters
(#47) Inline comments must end in full-stops, exclamation marks, or question marks
(#55) Inline comments must end in full-stops, exclamation marks, or question marks
(#61) File must end with a newline character
mod/booking/classes/ical.php
(#18) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#107) Logical operator "or" is prohibited; use "||" instead
(#248) Inline comments must end in full-stops, exclamation marks, or question marks
(#261) Inline comments must start with a capital letter, digit or 3-dots sequence
(#261) No space found before comment text; expected "// "SEQUENCE:0"," but found "//"SEQUENCE:0","
(#265) Line exceeds 132 characters; contains 158 characters
mod/booking/classes/observer.php
(#23) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#125) Line indented incorrectly; expected 8 spaces, found 7
(#127) Line indented incorrectly; expected at least 12 spaces, found 11
(#128) Line indented incorrectly; expected 12 spaces, found 11
(#129) Line indented incorrectly; expected at least 16 spaces, found 15
(#130) Line indented incorrectly; expected at least 16 spaces, found 15
(#131) Line indented incorrectly; expected at least 16 spaces, found 15
(#132) Line indented incorrectly; expected at least 16 spaces, found 15
(#133) Line indented incorrectly; expected at least 16 spaces, found 15
(#135) Line indented incorrectly; expected at least 16 spaces, found 15
(#137) Inline comments must end in full-stops, exclamation marks, or question marks
(#137) Line indented incorrectly; expected at least 16 spaces, found 15
(#138) Line indented incorrectly; expected at least 16 spaces, found 15
(#144) Line indented incorrectly; expected at least 16 spaces, found 15
(#147) Inline comments must end in full-stops, exclamation marks, or question marks
(#147) Line indented incorrectly; expected at least 17 spaces, found 15
(#149) Line indented incorrectly; expected 17 spaces, found 15
(#150) Line indented incorrectly; expected at least 21 spaces, found 19
(#151) Line indented incorrectly; expected at least 21 spaces, found 19
(#152) Line indented incorrectly; expected 17 spaces, found 15
(#153) Line indented incorrectly; expected 12 spaces, found 11
(#159) Closing brace indented incorrectly; expected 7 spaces, found 8
(#160) Inline comments must end in full-stops, exclamation marks, or question marks
(#160) Line indented incorrectly; expected at least 12 spaces, found 11
(#161) Line indented incorrectly; expected at least 12 spaces, found 11
(#163) Inline comments must start with a capital letter, digit or 3-dots sequence
(#163) Line indented incorrectly; expected at least 12 spaces, found 11
(#164) Line indented incorrectly; expected at least 12 spaces, found 11
(#165) Line indented incorrectly; expected 8 spaces, found 7
(#165) Closing brace indented incorrectly; expected 8 spaces, found 7
(#167) Line exceeds 132 characters; contains 161 characters
(#217) The use of function error_log() is forbidden; use debugging() instead
(#217) Line exceeds 132 characters; contains 138 characters
(#230) Line exceeds 132 characters; contains 139 characters
(#241) Line exceeds 132 characters; contains 150 characters
mod/booking/classes/output/booking_bookinginstance.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#119) File must end with a newline character
mod/booking/classes/output/bookingoption_changes.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#64) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#156) File must end with a newline character
mod/booking/classes/output/bookingoption_description.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/booking/classes/output/business_card.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/booking/classes/output/col_coursestarttime.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#53) Declaring a required parameter after an optional one is deprecated since PHP 8.0. Parameter $booking is optional, while parameter $bookingoption is required.
mod/booking/classes/output/col_text_with_description.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/booking/classes/output/coursepage_available_options.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#152) Inline comments must end in full-stops, exclamation marks, or question marks
(#169) Inline comments must end in full-stops, exclamation marks, or question marks
(#172) Inline comments must end in full-stops, exclamation marks, or question marks
(#178) Inline comments must end in full-stops, exclamation marks, or question marks
(#187) Inline comments must end in full-stops, exclamation marks, or question marks
(#195) Inline comments must end in full-stops, exclamation marks, or question marks
(#229) File must end with a newline character
mod/booking/classes/output/coursepage_shortinfo_and_button.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#105) File must end with a newline character
mod/booking/classes/output/info_modal.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#44) Member variable "bookingoption_description" must not contain underscores.
(#79) Line exceeds 132 characters; contains 150 characters
(#94) Inline comments must end in full-stops, exclamation marks, or question marks
(#124) Declaring a required parameter after an optional one is deprecated since PHP 8.0. Parameter $bookingevent is optional, while parameter $descriptionparam is required.
(#142) Closing brace must be on a line by itself
(#145) Line exceeds 132 characters; contains 134 characters
(#157) Line exceeds 132 characters; contains 135 characters
(#187) File must end with a newline character
mod/booking/classes/output/instance_description.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/booking/classes/output/mobile.php
(#260) Line exceeds 132 characters; contains 176 characters
(#263) Line exceeds 132 characters; contains 149 characters
(#307) Logical operator "and" is prohibited; use "&&" instead
(#307) Logical operator "and" is prohibited; use "&&" instead
(#352) Line exceeds 132 characters; contains 136 characters
(#360) Line exceeds 132 characters; contains 150 characters
(#364) Line exceeds 132 characters; contains 134 characters
(#390) File must end with a newline character
mod/booking/classes/output/renderer.php
(#30) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#42) Declaring a required parameter after an optional one is deprecated since PHP 8.0. Parameter $current is optional, while parameter $booking is required.
(#42) Line exceeds 132 characters; contains 140 characters
(#209) global $OUTPUT cannot be used in renderers. Use $this->output.
(#279) Logical operator "and" is prohibited; use "&&" instead
(#285) global $OUTPUT cannot be used in renderers. Use $this->output.
(#434) Whitespace found at end of line
(#436) Line indented incorrectly; expected at least 4 spaces, found 3
mod/booking/classes/output/report_edit_bookingnotes.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#82) File must end with a newline character
mod/booking/classes/output/signin_downloadform.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#93) File must end with a newline character
mod/booking/classes/places.php
(#18) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/booking/classes/signinsheet/generator.php
(#18) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#255) Logical operator "and" is prohibited; use "&&" instead
mod/booking/classes/site_overview.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#88) Inline comments must end in full-stops, exclamation marks, or question marks
(#274) File must end with a newline character
mod/booking/classes/subscriber_selector_base.php
(#85) File must end with a newline character
mod/booking/classes/table/optiontemplatessettings_table.php
(#52) Line exceeds 132 characters; contains 149 characters
(#69) Expected "if (...) {\n"; found "if(...){\n"
(#94) Line exceeds 132 characters; contains 157 characters
(#101) File must end with a newline character
mod/booking/classes/task/enrol_bookedusers_tocourse.php
(#19) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
mod/booking/classes/task/remove_activity_completion.php
(#18) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/booking/classes/task/send_completion_mails.php
(#18) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
mod/booking/classes/task/send_confirmation_mails.php
(#18) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
mod/booking/classes/utils/csv_import.php
(#24) Old MOODLE_INTERNAL check detected. Replace it by "defined('MOODLE_INTERNAL') || die();"
(#118) Inline comments must end in full-stops, exclamation marks, or question marks
(#227) Inline comments must end in full-stops, exclamation marks, or question marks
(#255) Inline comments must start with a capital letter, digit or 3-dots sequence
(#255) This comment is 75% valid code; is this commented out code?
(#340) Inline comments must end in full-stops, exclamation marks, or question marks
(#389) Inline comments must end in full-stops, exclamation marks, or question marks
(#390) This comment is 62% valid code; is this commented out code?
(#412) Logical operator "and" is prohibited; use "&&" instead
(#421) Logical operator "and" is prohibited; use "&&" instead
(#430) Logical operator "and" is prohibited; use "&&" instead
(#473) Logical operator "and" is prohibited; use "&&" instead
(#477) Logical operator "and" is prohibited; use "&&" instead
(#573) File must end with a newline character
mod/booking/classes/utils/db.php
(#17) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/booking/classes/utils/wb_payment.php
(#20) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/booking/confirmactivity.php
(#92) File must end with a newline character
mod/booking/customreporttemplates.php
(#38) Logical operator "and" is prohibited; use "&&" instead
mod/booking/customreporttemplatesadd.php
(#40) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#44) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
mod/booking/db/events.php
(#65) File must end with a newline character
mod/booking/db/mobile.php
(#36) Inline comments must end in full-stops, exclamation marks, or question marks
(#37) Inline comments must end in full-stops, exclamation marks, or question marks
(#51) File must end with a newline character
mod/booking/db/upgrade.php
(#17) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/booking/db/upgradelib.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/booking/edit_optiontemplates.php
(#40) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#55) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
mod/booking/editoptions.php
(#43) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#47) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#50) Line exceeds 132 characters; contains 135 characters
(#76) Line exceeds 132 characters; contains 147 characters
(#93) Inline comments must end in full-stops, exclamation marks, or question marks
(#106) Line exceeds 132 characters; contains 139 characters
(#108) Expected "} else if (...) {\n"; found "}\n else if (...) {\n"
(#112) Expected "} else {\n"; found "}\n else {\n"
(#126) Inline comments must end in full-stops, exclamation marks, or question marks
mod/booking/externallib.php
(#19) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
mod/booking/importexcel.php
(#44) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#136) File must end with a newline character
mod/booking/importexcel_form.php
(#16) Old MOODLE_INTERNAL check detected. Replace it by "defined('MOODLE_INTERNAL') || die();"
mod/booking/instancetemplateadd.php
(#42) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#54) Inline comments must start with a capital letter, digit or 3-dots sequence
(#54) Inline comments must end in full-stops, exclamation marks, or question marks
(#55) Variable "templates_data" must not contain underscores.
(#56) Variable "number_of_templates" must not contain underscores.
(#56) Variable "templates_data" must not contain underscores.
(#62) Expected "} else if (...) {\n"; found "}\nelse if (...) {\n"
(#63) Inline comments must start with a capital letter, digit or 3-dots sequence
(#64) Inline comments must end in full-stops, exclamation marks, or question marks
(#65) Variable "number_of_templates" must not contain underscores.
(#76) Inline comments must start with a capital letter, digit or 3-dots sequence
(#77) Inline comments must end in full-stops, exclamation marks, or question marks
(#78) Expected "} else {\n"; found "}\n // if the user does not match the requirements he will be redirected to view.php\n // ... with the corresponding message\n else {\n"
(#83) Expected "} else {\n"; found "}\nelse {\n"
(#90) File must end with a newline character
mod/booking/institutionadd.php
(#36) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#90) File must end with a newline character
mod/booking/institutioncsv.php
(#37) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
mod/booking/institutionform.class.php
(#16) Old MOODLE_INTERNAL check detected. Replace it by "defined('MOODLE_INTERNAL') || die();"
mod/booking/institutions.php
(#27) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#71) File must end with a newline character
mod/booking/institutions_rest.php
(#16) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#35) File must end with a newline character
mod/booking/lib.php
(#463) Logical operator "or" is prohibited; use "||" instead
(#1088) Logical operator "and" is prohibited; use "&&" instead
(#1185) Logical operator "or" is prohibited; use "||" instead
(#1218) Logical operator "or" is prohibited; use "||" instead
(#1362) Since PHP 7.0, functions inspecting arguments, like debug_backtrace(), no longer report the original value as passed to a parameter, but will instead provide the current value. The parameter "$subject" was changed on line 1212.
(#1741) Logical operator "and" is prohibited; use "&&" instead
(#1770) Logical operator "or" is prohibited; use "||" instead
(#1832) Logical operator "and" is prohibited; use "&&" instead
mod/booking/link.php
(#20) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#55) Inline comments must end in full-stops, exclamation marks, or question marks
(#60) Line exceeds 132 characters; contains 149 characters
(#101) Expected 1 space after "=>"; 0 found
mod/booking/locallib.php
(#146) Logical operator "and" is prohibited; use "&&" instead
(#381) Line exceeds 132 characters; contains 142 characters
(#437) Declaring a required parameter after an optional one is deprecated since PHP 8.0. Parameter $optiondate is optional, while parameter $cmid is required.
(#443) Inline comments must start with a capital letter, digit or 3-dots sequence
(#443) Inline comments must end in full-stops, exclamation marks, or question marks
(#448) Line exceeds 132 characters; contains 146 characters
(#456) Inline comments must end in full-stops, exclamation marks, or question marks
(#464) Inline comments must start with a capital letter, digit or 3-dots sequence
(#464) Inline comments must end in full-stops, exclamation marks, or question marks
(#478) Inline comments must end in full-stops, exclamation marks, or question marks
(#486) Inline comments must start with a capital letter, digit or 3-dots sequence
(#486) Inline comments must end in full-stops, exclamation marks, or question marks
mod/booking/mod_form.php
(#40) Declaring a required parameter after an optional one is deprecated since PHP 8.0. Parameter $dashes is optional, while parameter $options is required.
mod/booking/moveoption.php
(#95) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
mod/booking/mybookings.php
(#16) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
(#66) File must end with a newline character
mod/booking/optiondates.php
(#46) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#65) Inline comments must end in full-stops, exclamation marks, or question marks
(#98) Inline comments must end in full-stops, exclamation marks, or question marks
mod/booking/optiondatesadd_form.php
(#85) Inline comments must start with a capital letter, digit or 3-dots sequence
(#85) This comment is 61% valid code; is this commented out code?
(#85) No space found before comment text; expected "// $mform->addElement('text', 'customfieldname' . $j, get_string('customfieldname', 'booking'));" but found "//$mform->addElement('text', 'customfieldname' . $j, get_string('customfieldname', 'booking'));"
(#86) No space found before comment text; expected "// $mform->setType('customfieldname' . $j, PARAM_TEXT);" but found "//$mform->setType('customfieldname' . $j, PARAM_TEXT);"
(#87) No space found before comment text; expected "// $mform->setDefault('customfieldname' . $j, $customfield->cfgname);" but found "//$mform->setDefault('customfieldname' . $j, $customfield->cfgname);"
(#88) No space found before comment text; expected "// $mform->addHelpButton('customfieldname' . $j, 'customfieldname', 'booking');" but found "//$mform->addHelpButton('customfieldname' . $j, 'customfieldname', 'booking');"
(#103) Line exceeds 132 characters; contains 151 characters
(#113) Line exceeds 132 characters; contains 152 characters
(#139) Inline comments must end in full-stops, exclamation marks, or question marks
(#158) Line exceeds 132 characters; contains 139 characters
(#168) Inline comments must start with a capital letter, digit or 3-dots sequence
(#168) This comment is 60% valid code; is this commented out code?
(#168) No space found before comment text; expected "// $mform->addElement('text', 'customfieldname' . $counter, get_string('customfieldname', 'booking'));" but found "//$mform->addElement('text', 'customfieldname' . $counter, get_string('customfieldname', 'booking'));"
(#169) No space found before comment text; expected "// $mform->setType('customfieldname' . $counter, PARAM_TEXT);" but found "//$mform->setType('customfieldname' . $counter, PARAM_TEXT);"
(#170) No space found before comment text; expected "// $mform->setDefault('customfieldname' . $counter, '');" but found "//$mform->setDefault('customfieldname' . $counter, '');"
(#171) No space found before comment text; expected "// $mform->addHelpButton('customfieldname' . $counter, 'customfieldname', 'booking');" but found "//$mform->addHelpButton('customfieldname' . $counter, 'customfieldname', 'booking');"
(#172) No space found before comment text; expected "// $mform->hideIf('customfieldname' . $counter, 'addcustomfield' . $counter, 'notchecked');" but found "//$mform->hideIf('customfieldname' . $counter, 'addcustomfield' . $counter, 'notchecked');"
(#174) Line exceeds 132 characters; contains 154 characters
(#239) File must end with a newline character
mod/booking/optiontemplatessettings.php
(#38) Logical operator "and" is prohibited; use "&&" instead
mod/booking/otherbooking.php
(#38) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#61) Line exceeds 132 characters; contains 152 characters
(#62) Line exceeds 132 characters; contains 146 characters
mod/booking/rating_rest.php
(#16) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#55) File must end with a newline character
mod/booking/report.php
(#303) Logical operator "and" is prohibited; use "&&" instead
(#557) Logical operator "and" is prohibited; use "&&" instead
(#636) Line exceeds 132 characters; contains 150 characters
(#643) Line exceeds 132 characters; contains 167 characters
(#838) Logical operator "and" is prohibited; use "&&" instead
mod/booking/sendmessage.php
(#36) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#72) File must end with a newline character
mod/booking/sendmessageform.class.php
(#16) Old MOODLE_INTERNAL check detected. Replace it by "defined('MOODLE_INTERNAL') || die();"
mod/booking/subscribeusers.php
(#23) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#80) Line indented incorrectly; expected at least 5 spaces, found 4
(#81) Line indented incorrectly; expected at least 5 spaces, found 4
(#82) Line indented incorrectly; expected at least 5 spaces, found 4
(#83) Line indented incorrectly; expected at least 5 spaces, found 4
(#85) Line indented incorrectly; expected 5 spaces, found 4
(#86) Line indented incorrectly; expected at least 9 spaces, found 8
(#87) Line indented incorrectly; expected 9 spaces, found 8
(#88) Line indented incorrectly; expected at least 13 spaces, found 12
(#89) Line indented incorrectly; expected at least 13 spaces, found 12
(#90) Line indented incorrectly; expected at least 13 spaces, found 12
(#91) Line indented incorrectly; expected at least 13 spaces, found 12
(#93) Line indented incorrectly; expected 13 spaces, found 12
(#93) Logical operator "or" is prohibited; use "||" instead
(#95) Line indented incorrectly; expected 17 spaces, found 16
(#96) Line indented incorrectly; expected 21 spaces, found 20
(#97) Line indented incorrectly; expected at least 25 spaces, found 24
(#98) Line indented incorrectly; expected at least 25 spaces, found 24
(#99) Line indented incorrectly; expected 21 spaces, found 20
(#100) Line indented incorrectly; expected at least 21 spaces, found 20
(#101) Line indented incorrectly; expected 17 spaces, found 16
(#102) Line indented incorrectly; expected 17 spaces, found 16
(#103) Line indented incorrectly; expected at least 21 spaces, found 20
(#105) Line indented incorrectly; expected 17 spaces, found 16
(#106) Line indented incorrectly; expected at least 21 spaces, found 20
(#107) Line indented incorrectly; expected 21 spaces, found 20
(#108) Line indented incorrectly; expected 25 spaces, found 24
(#109) Line indented incorrectly; expected at least 29 spaces, found 28
(#114) Line indented incorrectly; expected at least 30 spaces, found 28
(#115) Line indented incorrectly; expected 30 spaces, found 28
(#116) Line indented incorrectly; expected at least 34 spaces, found 32
(#117) Line indented incorrectly; expected 34 spaces, found 32
(#118) Line indented incorrectly; expected at least 38 spaces, found 36
(#119) Line indented incorrectly; expected 34 spaces, found 32
(#120) Line indented incorrectly; expected at least 34 spaces, found 32
(#122) Line indented incorrectly; expected 30 spaces, found 28
(#123) Line indented incorrectly; expected at least 30 spaces, found 28
(#124) Line indented incorrectly; expected 25 spaces, found 24
(#125) Line indented incorrectly; expected 21 spaces, found 20
(#126) Line indented incorrectly; expected at least 21 spaces, found 20
(#127) Line indented incorrectly; expected 17 spaces, found 16
(#128) Line indented incorrectly; expected 13 spaces, found 12
(#129) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#129) Line indented incorrectly; expected at least 17 spaces, found 16
(#130) Line indented incorrectly; expected 13 spaces, found 12
(#131) Line indented incorrectly; expected 9 spaces, found 8
(#133) Line indented incorrectly; expected at least 13 spaces, found 12
(#134) Line indented incorrectly; expected at least 13 spaces, found 12
(#135) Line indented incorrectly; expected 13 spaces, found 12
(#136) Line indented incorrectly; expected 17 spaces, found 16
(#137) Line indented incorrectly; expected at least 21 spaces, found 20
(#138) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#138) Line indented incorrectly; expected at least 21 spaces, found 20
(#139) Line indented incorrectly; expected 17 spaces, found 16
(#140) Line indented incorrectly; expected 13 spaces, found 12
(#141) Line indented incorrectly; expected 9 spaces, found 8
(#143) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#143) Line indented incorrectly; expected at least 13 spaces, found 12
(#144) Line indented incorrectly; expected 9 spaces, found 8
(#145) Line indented incorrectly; expected at least 9 spaces, found 8
(#146) Line indented incorrectly; expected at least 9 spaces, found 8
(#147) Line indented incorrectly; expected at least 9 spaces, found 8
(#148) Line indented incorrectly; expected at least 9 spaces, found 8
(#149) Line indented incorrectly; expected at least 9 spaces, found 8
(#150) Line indented incorrectly; expected 5 spaces, found 4
(#190) Expected "if (...) {\n"; found "if (...){\n"
(#221) The use of function error_log() is forbidden; use debugging() instead
mod/booking/subscribeusersctivity.php
(#75) File must end with a newline character
mod/booking/tagtemplates.php
(#43) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#48) Logical operator "and" is prohibited; use "&&" instead
(#72) Line exceeds 132 characters; contains 148 characters
mod/booking/tagtemplatesadd.php
(#41) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
mod/booking/tagtemplatesadd_form.php
(#16) Old MOODLE_INTERNAL check detected. Replace it by "defined('MOODLE_INTERNAL') || die();"
(#65) File must end with a newline character
mod/booking/teachers.php
(#37) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#42) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#92) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#98) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#105) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#146) File must end with a newline character
mod/booking/teachers_form.php
(#17) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
(#60) Line exceeds 132 characters; contains 139 characters
mod/booking/tests/booking_option_test.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#35) PHPUnit testcase name "mod_booking_booking_option_testcase" does not match file name "booking_option_test"
(#35) PHPUnit class "mod_booking_booking_option_testcase" does not have any namespace. It is recommended to add it to the "mod_booking" namespace, using more levels if needed, in order to match the code being tested
(#58) Line exceeds 132 characters; contains 166 characters
(#154) File must end with a newline character
mod/booking/tests/events_test.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#35) PHPUnit testcase name "mod_booking_events_testcase" does not match file name "events_test"
(#35) PHPUnit class "mod_booking_events_testcase" does not have any namespace. It is recommended to add it to the "mod_booking" namespace, using more levels if needed, in order to match the code being tested
(#55) Line exceeds 132 characters; contains 147 characters
(#141) File must end with a newline character
mod/booking/tests/generator/lib.php
(#16) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/booking/tests/lib_test.php
(#22) PHPUnit testcase name "mod_booking_lib_testcase" does not match file name "lib_test"
(#22) PHPUnit class "mod_booking_lib_testcase" does not have any namespace. It is recommended to add it to the "mod_booking" namespace, using more levels if needed, in order to match the code being tested
(#51) Line exceeds 132 characters; contains 138 characters
(#76) File must end with a newline character
mod/booking/view.php
(#21) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#149) Logical operator "and" is prohibited; use "&&" instead
(#149) Logical operator "and" is prohibited; use "&&" instead
(#150) Logical operator "and" is prohibited; use "&&" instead
(#151) Logical operator "or" is prohibited; use "||" instead
(#174) Logical operator "and" is prohibited; use "&&" instead
(#174) Logical operator "and" is prohibited; use "&&" instead
(#175) Logical operator "and" is prohibited; use "&&" instead
(#176) Logical operator "or" is prohibited; use "||" instead
(#266) Logical operator "and" is prohibited; use "&&" instead
(#266) Logical operator "and" is prohibited; use "&&" instead
(#445) Line exceeds 132 characters; contains 136 characters
(#446) Line exceeds 132 characters; contains 148 characters
(#536) Logical operator "and" is prohibited; use "&&" instead
(#536) Line exceeds 132 characters; contains 158 characters
(#634) Whitespace found at end of line
(#637) Line exceeds 132 characters; contains 140 characters
(#763) Logical operator "and" is prohibited; use "&&" instead
(#763) Line exceeds 132 characters; contains 158 characters
mod/booking/viewconfirmation.php
(#42) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#72) File must end with a newline character
mod/booking/viewpolicy.php
(#45) File must end with a newline character

Javascript coding style problems

(8 errors, 130 warnings)

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

mod/booking/amd/src/bookinginstancetemplateselect.js
(#26) @package should be empty. (jsdoc/empty-tags)
mod/booking/amd/src/edit_note.js
(#26) @package should be empty. (jsdoc/empty-tags)
mod/booking/amd/src/institutionautocomplete.js
(#20) @package should be empty. (jsdoc/empty-tags)
(#34) There should be no space after this paren. (space-in-parens)
(#34) There should be no space before this paren. (space-in-parens)
(#34) There should be no space after this paren. (space-in-parens)
(#34) There should be no space before this paren. (space-in-parens)
(#37) There should be no space after this paren. (space-in-parens)
(#37) There should be no space before this paren. (space-in-parens)
mod/booking/amd/src/jquery.barrating.js
(#15) Missing JSDoc @param "factory" declaration. (jsdoc/require-param)
(#25) Unexpected space before function parentheses. (space-before-function-paren)
(#30) Unexpected space before function parentheses. (space-before-function-paren)
(#34) Missing JSDoc comment. (jsdoc/require-jsdoc)
(#34) Missing JSDoc comment. (require-jsdoc)
(#37) Comments should not begin with a lowercase character. (capitalized-comments)
(#50) Comments should not begin with a lowercase character. (capitalized-comments)
(#55) Comments should not begin with a lowercase character. (capitalized-comments)
(#64) Comments should not begin with a lowercase character. (capitalized-comments)
(#75) Comments should not begin with a lowercase character. (capitalized-comments)
(#80) There should be no space after '{'. (babel/object-curly-spacing)
(#80) There should be no space before '}'. (babel/object-curly-spacing)
(#88) Comments should not begin with a lowercase character. (capitalized-comments)
(#99) Comments should not begin with a lowercase character. (capitalized-comments)
(#108) Comments should not begin with a lowercase character. (capitalized-comments)
(#116) Comments should not begin with a lowercase character. (capitalized-comments)
(#125) Comments should not begin with a lowercase character. (capitalized-comments)
(#129) Comments should not begin with a lowercase character. (capitalized-comments)
(#133) Comments should not begin with a lowercase character. (capitalized-comments)
(#136) Comments should not begin with a lowercase character. (capitalized-comments)
(#140) Comments should not begin with a lowercase character. (capitalized-comments)
(#143) Comments should not begin with a lowercase character. (capitalized-comments)
(#148) Comments should not begin with a lowercase character. (capitalized-comments)
(#153) Comments should not begin with a lowercase character. (capitalized-comments)
(#158) Comments should not begin with a lowercase character. (capitalized-comments)
(#163) Comments should not begin with a lowercase character. (capitalized-comments)
(#165) There should be no space after '{'. (babel/object-curly-spacing)
(#165) There should be no space before '}'. (babel/object-curly-spacing)
(#167) Comments should not begin with a lowercase character. (capitalized-comments)
(#173) Comments should not begin with a lowercase character. (capitalized-comments)
(#177) Statement inside of curly braces should be on next line. (brace-style)
(#177) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#191) Comments should not begin with a lowercase character. (capitalized-comments)
(#193) There should be no space after '{'. (babel/object-curly-spacing)
(#193) There should be no space before '}'. (babel/object-curly-spacing)
(#196) Comments should not begin with a lowercase character. (capitalized-comments)
(#208) Comments should not begin with a lowercase character. (capitalized-comments)
(#217) Comments should not begin with a lowercase character. (capitalized-comments)
(#219) Comments should not begin with a lowercase character. (capitalized-comments)
(#227) Comments should not begin with a lowercase character. (capitalized-comments)
(#238) Comments should not begin with a lowercase character. (capitalized-comments)
(#240) Comments should not begin with a lowercase character. (capitalized-comments)
(#243) Comments should not begin with a lowercase character. (capitalized-comments)
(#248) Comments should not begin with a lowercase character. (capitalized-comments)
(#254) Comments should not begin with a lowercase character. (capitalized-comments)
(#259) Comments should not begin with a lowercase character. (capitalized-comments)
(#261) Comments should not begin with a lowercase character. (capitalized-comments)
(#267) Comments should not begin with a lowercase character. (capitalized-comments)
(#277) Comments should not begin with a lowercase character. (capitalized-comments)
(#299) Comments should not begin with a lowercase character. (capitalized-comments)
(#308) Comments should not begin with a lowercase character. (capitalized-comments)
(#321) Comments should not begin with a lowercase character. (capitalized-comments)
(#327) Comments should not begin with a lowercase character. (capitalized-comments)
(#337) Comments should not begin with a lowercase character. (capitalized-comments)
(#349) Comments should not begin with a lowercase character. (capitalized-comments)
(#362) Comments should not begin with a lowercase character. (capitalized-comments)
(#370) Comments should not begin with a lowercase character. (capitalized-comments)
(#382) Comments should not begin with a lowercase character. (capitalized-comments)
(#390) Comments should not begin with a lowercase character. (capitalized-comments)
(#394) Comments should not begin with a lowercase character. (capitalized-comments)
(#397) Comments should not begin with a lowercase character. (capitalized-comments)
(#403) Comments should not begin with a lowercase character. (capitalized-comments)
(#423) Comments should not begin with a lowercase character. (capitalized-comments)
(#428) Comments should not begin with a lowercase character. (capitalized-comments)
(#431) Comments should not begin with a lowercase character. (capitalized-comments)
(#434) Comments should not begin with a lowercase character. (capitalized-comments)
(#444) Comments should not begin with a lowercase character. (capitalized-comments)
(#465) Comments should not begin with a lowercase character. (capitalized-comments)
(#475) Comments should not begin with a lowercase character. (capitalized-comments)
(#488) Comments should not begin with a lowercase character. (capitalized-comments)
(#498) Comments should not begin with a lowercase character. (capitalized-comments)
(#511) Comments should not begin with a lowercase character. (capitalized-comments)
(#514) Comments should not begin with a lowercase character. (capitalized-comments)
(#517) Comments should not begin with a lowercase character. (capitalized-comments)
(#520) Comments should not begin with a lowercase character. (capitalized-comments)
(#523) Comments should not begin with a lowercase character. (capitalized-comments)
(#526) Comments should not begin with a lowercase character. (capitalized-comments)
(#535) Unexpected space before function parentheses. (space-before-function-paren)
(#545) Unexpected space before function parentheses. (space-before-function-paren)
(#546) Expected to return a value at the end of function. (consistent-return)
(#546) Unexpected space before function parentheses. (space-before-function-paren)
(#549) Comments should not begin with a lowercase character. (capitalized-comments)
(#554) Comments should not begin with a lowercase character. (capitalized-comments)
(#560) Comments should not begin with a lowercase character. (capitalized-comments)
(#567) Comments should not begin with a lowercase character. (capitalized-comments)
(#579) Missing space before value for key 'theme'. (key-spacing)
(#580) Missing space before value for key 'initialRating'. (key-spacing)
(#580) Comments should not begin with a lowercase character. (capitalized-comments)
(#581) Missing space before value for key 'allowEmpty'. (key-spacing)
(#581) Comments should not begin with a lowercase character. (capitalized-comments)
(#582) Missing space before value for key 'emptyValue'. (key-spacing)
(#582) Comments should not begin with a lowercase character. (capitalized-comments)
(#583) Missing space before value for key 'showValues'. (key-spacing)
(#583) Comments should not begin with a lowercase character. (capitalized-comments)
(#584) Missing space before value for key 'showSelectedRating'. (key-spacing)
(#584) Comments should not begin with a lowercase character. (capitalized-comments)
(#585) Missing space before value for key 'deselectable'. (key-spacing)
(#585) Comments should not begin with a lowercase character. (capitalized-comments)
(#586) Missing space before value for key 'reverse'. (key-spacing)
(#586) Comments should not begin with a lowercase character. (capitalized-comments)
(#587) Missing space before value for key 'readonly'. (key-spacing)
(#587) Comments should not begin with a lowercase character. (capitalized-comments)
(#588) Missing space before value for key 'fastClicks'. (key-spacing)
(#588) Comments should not begin with a lowercase character. (capitalized-comments)
(#589) Missing space before value for key 'hoverState'. (key-spacing)
(#589) Comments should not begin with a lowercase character. (capitalized-comments)
(#590) Missing space before value for key 'silent'. (key-spacing)
(#590) Comments should not begin with a lowercase character. (capitalized-comments)
(#591) Missing space before value for key 'triggerChange'. (key-spacing)
(#591) Comments should not begin with a lowercase character. (capitalized-comments)
(#592) Missing space before value for key 'onSelect'. (key-spacing)
(#592) Unexpected space before function parentheses. (space-before-function-paren)
(#595) Comments should not begin with a lowercase character. (capitalized-comments)
(#596) Missing space before value for key 'onClear'. (key-spacing)
(#596) Unexpected space before function parentheses. (space-before-function-paren)
(#598) Comments should not begin with a lowercase character. (capitalized-comments)
(#599) Missing space before value for key 'onDestroy'. (key-spacing)
(#599) Unexpected space before function parentheses. (space-before-function-paren)
(#601) Comments should not begin with a lowercase character. (capitalized-comments)
mod/booking/amd/src/optionstemplateselect.js
(#26) @package should be empty. (jsdoc/empty-tags)
mod/booking/amd/src/signinsheetdownload.js
(#26) @package should be empty. (jsdoc/empty-tags)
mod/booking/amd/src/view_actions.js
(#20) @package should be empty. (jsdoc/empty-tags)
(#29) Extra space after key 'setup'. (key-spacing)
(#33) Expected space(s) after "if". (keyword-spacing)
(#42) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#46) There should be no space after '{'. (babel/object-curly-spacing)
(#46) There should be no space before '}'. (babel/object-curly-spacing)
(#58) Extra space after key 'scrollTop'. (key-spacing)
(#66) Extra space after key 'scrollTop'. (key-spacing)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(455 errors, 139 warnings)

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

mod/booking/backup/moodle2/backup_booking_activity_task.class.php
(#18) Package moodlecore is not valid
(#16) No one-line description found in phpdocs for file
(#50) Phpdocs for function backup_booking_activity_task::encode_content_links has incomplete parameters list
mod/booking/backup/moodle2/backup_booking_settingslib.php
(#19) Package moodlecore is not valid
(#18) No one-line description found in phpdocs for file
mod/booking/backup/moodle2/backup_booking_stepslib.php
(#19) Package moodlecore is not valid
(#32) Function backup_booking_activity_structure_step::define_structure is not documented
(#17) No one-line description found in phpdocs for file
mod/booking/backup/moodle2/restore_booking_activity_task.class.php
(#19) Package moodlecore is not valid
(#17) No one-line description found in phpdocs for file
(#76) Inline phpdocs tag {@link restore_logs_processor} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#79) Inline phpdocs tag {@link restore_log_rule} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#99) Inline phpdocs tag {@link restore_logs_processor} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#102) Inline phpdocs tag {@link restore_log_rule} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
mod/booking/backup/moodle2/restore_booking_stepslib.php
(#19) Package moodlecore is not valid
(#32) Function restore_booking_activity_structure_step::define_structure is not documented
(#60) Function restore_booking_activity_structure_step::process_booking is not documented
(#73) Function restore_booking_activity_structure_step::process_booking_option is not documented
(#90) Function restore_booking_activity_structure_step::process_booking_answer is not documented
(#103) Function restore_booking_activity_structure_step::process_booking_optiondate is not documented
(#119) Function restore_booking_activity_structure_step::process_booking_teacher is not documented
(#130) Function restore_booking_activity_structure_step::process_booking_category is not documented
(#139) Function restore_booking_activity_structure_step::process_booking_tag is not documented
(#153) Function restore_booking_activity_structure_step::process_booking_institution is not documented
(#162) Function restore_booking_activity_structure_step::process_booking_other is not documented
(#171) Function restore_booking_activity_structure_step::process_booking_customfield is not documented
(#185) Function restore_booking_activity_structure_step::after_execute is not documented
(#17) No one-line description found in phpdocs for file
mod/booking/bookingredirect.php
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
(#17) File-level phpdocs block does not have @license tag
mod/booking/categories.php
(#16) File-level phpdocs block is not found
mod/booking/categoriesform.class.php
(#22) Package is not specified for class mod_booking_categories_form. It is also not specified in file-level phpdocs
(#22) Class mod_booking_categories_form is not documented
(#24) Function mod_booking_categories_form::show_sub_categories is not documented
(#37) Function mod_booking_categories_form::definition is not documented
mod/booking/category.php
(#16) File-level phpdocs block is not found
mod/booking/categoryadd.php
(#16) File-level phpdocs block is not found
mod/booking/classes/GoogleUrlApi.php
(#26) Class GoogleUrlApi is not documented
(#28) Variable GoogleUrlApi::$apiurl is not documented
(#30) Phpdocs for function GoogleUrlApi::__construct has incomplete parameters list
mod/booking/classes/all_options.php
(#40) Class all_options is not documented
(#70) Function all_options::col_id is not documented
(#178) Function all_options::col_status is not documented
(#199) Function all_options::col_coursestarttime is not documented
(#259) Function all_options::col_courseendtime is not documented
(#267) Function all_options::col_text is not documented
(#304) Function all_options::col_description is not documented
(#313) Function all_options::col_availableplaces is not documented
(#346) Function all_options::wrap_html_start is not documented
(#349) Function all_options::wrap_html_finish is not documented
(#42) Variable all_options::$booking is not documented
(#44) Variable all_options::$cm is not documented
(#46) Variable all_options::$context is not documented
(#48) Variable all_options::$tags is not documented
(#321) Phpdocs for function all_options::other_cols has incomplete parameters list
mod/booking/classes/all_userbookings.php
(#102) Function all_userbookings::col_status is not documented
(#131) Function all_userbookings::col_fullname is not documented
(#144) Function all_userbookings::col_numrec is not documented
(#152) Function all_userbookings::col_completed is not documented
(#164) Function all_userbookings::col_rating is not documented
(#175) Function all_userbookings::col_coursestarttime is not documented
(#183) Function all_userbookings::col_courseendtime is not documented
(#191) Function all_userbookings::col_waitinglist is not documented
(#205) Function all_userbookings::col_city is not documented
(#212) Function all_userbookings::col_selected is not documented
(#222) Function all_userbookings::col_notes is not documented
(#47) Variable all_userbookings::$db is not documented
(#64) Phpdocs for function all_userbookings::__construct has incomplete parameters list
(#236) Phpdocs for function all_userbookings::other_cols has incomplete parameters list
mod/booking/classes/booking.php
(#110) Function booking::apply_tags is not documented
(#157) Function booking::searchparameters is not documented
(#194) Function booking::get_all_options_count is not documented
(#241) Function booking::get_active_optionids_count is not documented
(#290) Function booking::get_my_bookingids_count is not documented
(#27) No one-line description found in phpdocs for class booking
(#102) There is no description in phpdocs for function get_context
(#115) There is no description in phpdocs for function get_url_params
(#81) Phpdocs for function booking::__construct has incomplete parameters list
(#174) Phpdocs for function booking::get_all_options has incomplete parameters list
(#222) Phpdocs for function booking::get_active_optionids has incomplete parameters list
(#259) Phpdocs for function booking::get_all_optionids_of_teacher has incomplete parameters list
(#269) Phpdocs for function booking::get_my_bookingids has incomplete parameters list
mod/booking/classes/booking_option.php
(#26) Package is not specified for function get_config. It is also not specified in file-level phpdocs
(#26) Function get_config is not documented
(#282) Function booking_option::get_url_params is not documented
(#1680) Function booking_option::printcustomreport is not documented
(#177) Phpdocs for function booking_option::create_option_from_optionid has incomplete parameters list
(#734) Phpdocs for function booking_option::user_delete_response has incomplete parameters list
(#839) Phpdocs for function booking_option::transfer_users_to_otheroption has incomplete parameters list
(#952) Phpdocs for function booking_option::send_mail_with_adhoc_task has incomplete parameters list
(#1217) Phpdocs for function booking_option::enrol_user has incomplete parameters list
(#1545) Phpdocs for function booking_option::move_option_otherbookinginstance has incomplete parameters list
(#1625) Phpdocs for function booking_option::confirmactivity has incomplete parameters list
mod/booking/classes/booking_tags.php
(#22) Package mod-booking is not valid
(#55) Function booking_tags::get_all_tags is not documented
(#59) Function booking_tags::prepare_replaces is not documented
(#71) Function booking_tags::get_replaces is not documented
(#75) Function booking_tags::tag_replaces is not documented
(#79) Function booking_tags::booking_replace is not documented
(#90) Function booking_tags::option_replace is not documented
(#28) Variable booking_tags::$tags is not documented
(#30) Variable booking_tags::$replaces is not documented
(#32) Variable booking_tags::$optionschangetext is not documented
(#35) Variable booking_tags::$bookingchangetext is not documented
(#40) Variable booking_tags::$option is not documented
mod/booking/classes/booking_utils.php
(#55) Function booking_utils::__construct is not documented
(#67) Function booking_utils::get_pretty_duration is not documented
(#71) Function booking_utils::pretty_duration is not documented
(#574) Function booking_utils::render_meeting_fields is not documented
(#1038) Function booking_utils::col_status is not documented
(#87) Phpdocs for function booking_utils::generate_params has incomplete parameters list
(#186) Phpdocs for function booking_utils::get_body has incomplete parameters list
(#206) Phpdocs for function booking_utils::return_button_based_on_record has incomplete parameters list
(#454) Phpdocs for function booking_utils::show_conference_link has incomplete parameters list
(#500) Phpdocs for function booking_utils::return_string_from_dates has incomplete parameters list
(#528) Phpdocs for function booking_utils::return_array_of_customfields has incomplete parameters list
(#551) Phpdocs for function booking_utils::render_customfield_data has incomplete parameters list
(#659) Phpdocs for function booking_utils::react_on_changes has incomplete parameters list
(#711) Phpdocs for function booking_utils::return_array_of_sessions has incomplete parameters list
(#777) Phpdocs for function booking_utils::booking_option_has_optiondates has incomplete parameters list
(#797) Phpdocs for function booking_utils::booking_customfields_get_changes has incomplete parameters list
(#917) Phpdocs for function booking_utils::booking_option_get_changes has incomplete parameters list
(#1006) Phpdocs for function booking_utils::booking_optiondate_get_changes has incomplete parameters list
(#1058) Phpdocs for function booking_utils::booking_hide_option_userevents has incomplete parameters list
(#1076) Phpdocs for function booking_utils::booking_show_option_userevents has incomplete parameters list
(#1127) Phpdocs for function booking_utils::book_cohort_or_group_members has incomplete parameters list
(#1250) Phpdocs for function booking_utils::booking_encode_moodle_url has incomplete parameters list
mod/booking/classes/bookinginstancetemplatessettings_table.php
(#21) Package is not specified for class bookinginstancetemplatessettings_table. It is also not specified in file-level phpdocs
(#21) Class bookinginstancetemplatessettings_table is not documented
(#31) Phpdocs for function bookinginstancetemplatessettings_table::__construct has incomplete parameters list
(#52) Phpdocs for function bookinginstancetemplatessettings_table::col_name has incomplete parameters list
(#62) Phpdocs for function bookinginstancetemplatessettings_table::col_action has incomplete parameters list
mod/booking/classes/calendar.php
(#47) Function calendar::__construct is not documented
(#41) Variable calendar::$optionid is not documented
(#42) Variable calendar::$userid is not documented
(#43) Variable calendar::$cmid is not documented
(#44) Variable calendar::$type is not documented
(#45) Variable calendar::$optiondateid is not documented
(#34) Constant calendar::TYPEOPTION is not documented
(#35) Constant calendar::TYPEUSER is not documented
(#36) Constant calendar::TYPETEACHERADD is not documented
(#37) Constant calendar::TYPETEACHERREMOVE is not documented
(#38) Constant calendar::TYPETEACHERUPDATE is not documented
(#39) Constant calendar::TYPEOPTIONDATE is not documented
(#191) Phpdocs for function calendar::booking_option_add_to_cal has incomplete parameters list
mod/booking/classes/customreporttemplates_table.php
(#21) Package is not specified for class customreporttemplates_table. It is also not specified in file-level phpdocs
(#21) Class customreporttemplates_table is not documented
(#66) Function customreporttemplates_table::col_file is not documented
(#31) Phpdocs for function customreporttemplates_table::__construct has incomplete parameters list
(#51) Phpdocs for function customreporttemplates_table::col_action has incomplete parameters list
mod/booking/classes/event/booking_cancelled.php
(#40) Function booking_cancelled::init is not documented
(#46) Function booking_cancelled::get_name is not documented
(#50) Function booking_cancelled::get_description is not documented
(#58) Function booking_cancelled::get_url is not documented
mod/booking/classes/event/bookingoption_booked.php
(#40) Function bookingoption_booked::init is not documented
(#46) Function bookingoption_booked::get_name is not documented
(#50) Function bookingoption_booked::get_description is not documented
(#58) Function bookingoption_booked::get_url is not documented
(#62) Function bookingoption_booked::get_legacy_logdata is not documented
(#68) Function bookingoption_booked::get_legacy_eventname is not documented
(#73) Function bookingoption_booked::get_legacy_eventdata is not documented
mod/booking/classes/event/bookingoption_completed.php
(#40) Function bookingoption_completed::init is not documented
(#46) Function bookingoption_completed::get_name is not documented
(#50) Function bookingoption_completed::get_description is not documented
(#59) Function bookingoption_completed::get_url is not documented
(#63) Function bookingoption_completed::get_legacy_logdata is not documented
(#69) Function bookingoption_completed::get_legacy_eventname is not documented
(#74) Function bookingoption_completed::get_legacy_eventdata is not documented
mod/booking/classes/event/bookingoption_created.php
(#40) Function bookingoption_created::init is not documented
(#46) Function bookingoption_created::get_name is not documented
(#50) Function bookingoption_created::get_description is not documented
(#54) Function bookingoption_created::get_url is not documented
mod/booking/classes/event/bookingoption_deleted.php
(#40) Function bookingoption_deleted::init is not documented
(#46) Function bookingoption_deleted::get_name is not documented
(#50) Function bookingoption_deleted::get_description is not documented
(#54) Function bookingoption_deleted::get_url is not documented
mod/booking/classes/event/bookingoption_updated.php
(#40) Function bookingoption_updated::init is not documented
(#46) Function bookingoption_updated::get_name is not documented
(#50) Function bookingoption_updated::get_description is not documented
(#54) Function bookingoption_updated::get_url is not documented
mod/booking/classes/event/bookingoptiondate_created.php
(#38) Function bookingoptiondate_created::init is not documented
(#44) Function bookingoptiondate_created::get_name is not documented
(#48) Function bookingoptiondate_created::get_description is not documented
(#52) Function bookingoptiondate_created::get_url is not documented
mod/booking/classes/event/bookingoptiondate_deleted.php
(#38) Function bookingoptiondate_deleted::init is not documented
(#44) Function bookingoptiondate_deleted::get_name is not documented
(#48) Function bookingoptiondate_deleted::get_description is not documented
(#52) Function bookingoptiondate_deleted::get_url is not documented
mod/booking/classes/event/custom_field_changed.php
(#56) Function custom_field_changed::get_description is not documented
mod/booking/classes/event/teacher_added.php
(#57) Function teacher_added::get_description is not documented
mod/booking/classes/event/teacher_removed.php
(#56) Function teacher_removed::get_description is not documented
mod/booking/classes/existing_subscriber_selector.php
(#24) Package mod-booking is not valid
mod/booking/classes/external.php
(#285) Function external::unenrol_user_parameters is not documented
(#294) Function external::unenrol_user is not documented
(#327) Phpdocs for function external::addbookingoption has incomplete parameters list
(#543) Phpdocs for function external::get_booking_option_description has incomplete parameters list
mod/booking/classes/form/confirmactivity.php
(#25) Package is not specified for class confirmactivity. It is also not specified in file-level phpdocs
(#25) Class confirmactivity is not documented
(#26) Function confirmactivity::definition is not documented
(#60) Function confirmactivity::validation is not documented
mod/booking/classes/form/customfield.php
(#23) Package is not specified for class customfield. It is also not specified in file-level phpdocs
(#23) Class customfield is not documented
(#25) Function customfield::definition is not documented
(#90) Function customfield::validation is not documented
(#95) Function customfield::get_data is not documented
mod/booking/classes/form/customreporttemplatesadd_form.php
(#29) Package mod_booking\form is not valid
(#55) Phpdocs for function customreporttemplatesadd_form::validation has incomplete parameters list
mod/booking/classes/form/importoptions_form.php
(#31) Package mod_booking\form is not valid
(#73) Phpdocs for function importoptions_form::validation has incomplete parameters list
mod/booking/classes/form/instancetemplateadd_form.php
(#22) Package is not specified for class instancetemplateadd_form. It is also not specified in file-level phpdocs
(#22) Class instancetemplateadd_form is not documented
(#24) Function instancetemplateadd_form::definition is not documented
mod/booking/classes/form/option_form.php
(#28) Package is not specified for class option_form. It is also not specified in file-level phpdocs
(#28) Class option_form is not documented
(#30) Function option_form::definition is not documented
(#360) Function option_form::data_preprocessing is not documented
(#392) Function option_form::validation is not documented
(#417) Function option_form::set_data is not documented
(#467) Function option_form::get_data is not documented
mod/booking/classes/form/subscribe_cohort_or_group_form.php
(#99) Phpdocs for function subscribe_cohort_or_group_form::validation has incomplete parameters list
mod/booking/classes/form/subscribeusersctivity.php
(#23) Package is not specified for class subscribeusersctivity. It is also not specified in file-level phpdocs
(#23) Class subscribeusersctivity is not documented
(#24) Function subscribeusersctivity::definition is not documented
(#56) Function subscribeusersctivity::validation is not documented
mod/booking/classes/ical.php
(#309) Function ical::escape is not documented
(#31) Variable ical::$datesareset is not documented
(#33) Variable ical::$booking is not documented
(#35) Variable ical::$option is not documented
(#37) Variable ical::$user is not documented
(#39) Variable ical::$fromuser is not documented
(#41) Variable ical::$updated is not documented
(#43) Variable ical::$tempfilename is not documented
(#45) Variable ical::$times is not documented
(#47) Variable ical::$ical is not documented
(#49) Variable ical::$dtstamp is not documented
(#51) Variable ical::$summary is not documented
(#53) Variable ical::$description is not documented
(#55) Variable ical::$location is not documented
(#57) Variable ical::$host is not documented
(#59) Variable ical::$status is not documented
(#61) Variable ical::$role is not documented
(#63) Variable ical::$userfullname is not documented
(#65) Variable ical::$attachical is not documented
(#67) Variable ical::$attachicalsessions is not documented
(#69) Variable ical::$onefileperevent is not documented
(#71) Variable ical::$individualvevents is not documented
(#20) Constant DESCRIPTION_ICAL is not documented
(#76) Phpdocs for function ical::__construct has incomplete parameters list
(#231) Phpdocs for function ical::add_vevent has incomplete parameters list
mod/booking/classes/mybookings_table.php
(#25) Package is not specified for class mybookings_table. It is also not specified in file-level phpdocs
(#25) Class mybookings_table is not documented
(#48) Function mybookings_table::col_coursestarttime is not documented
(#56) Function mybookings_table::col_text is not documented
(#63) Function mybookings_table::col_name is not documented
(#70) Function mybookings_table::col_status is not documented
(#30) Phpdocs for function mybookings_table::__construct has incomplete parameters list
mod/booking/classes/observer.php
(#89) There is no description in phpdocs for function booking_cancelled
mod/booking/classes/optiondates_handler.php
(#26) Package is not specified for class optiondates_handler. It is also not specified in file-level phpdocs
mod/booking/classes/output/booking_bookinginstance.php
(#116) Function booking_bookinginstance::export_for_template is not documented
mod/booking/classes/output/bookingoption_changes.php
(#60) Function bookingoption_changes::export_for_template is not documented
(#53) Phpdocs for function bookingoption_changes::__construct has incomplete parameters list
mod/booking/classes/output/bookingoption_description.php
(#35) Constant DESCRIPTION_WEBSITE is not documented
(#36) Constant DESCRIPTION_CALENDAR is not documented
(#37) Constant DESCRIPTION_ICAL is not documented
(#38) Constant DESCRIPTION_MAIL is not documented
(#193) There is no description in phpdocs for function export_for_template
(#90) Phpdocs for function bookingoption_description::__construct has incomplete parameters list
mod/booking/classes/output/business_card.php
(#100) Function business_card::export_for_template is not documented
(#70) Phpdocs for function business_card::__construct has incomplete parameters list
mod/booking/classes/output/col_coursestarttime.php
(#73) Function col_coursestarttime::export_for_template is not documented
(#51) Phpdocs for function col_coursestarttime::__construct has incomplete parameters list
mod/booking/classes/output/coursepage_available_options.php
(#219) There is no description in phpdocs for function export_for_template
(#55) Phpdocs for function coursepage_available_options::__construct has incomplete parameters list
mod/booking/classes/output/coursepage_shortinfo_and_button.php
(#93) There is no description in phpdocs for function export_for_template
(#79) Phpdocs for function coursepage_shortinfo_and_button::__construct has incomplete parameters list
mod/booking/classes/output/info_modal.php
(#105) Function info_modal::export_for_template is not documented
(#163) Function info_modal::return_status_description is not documented
(#77) Phpdocs for function info_modal::__construct has incomplete parameters list
(#120) Phpdocs for function info_modal::return_array_of_sessions has incomplete parameters list
mod/booking/classes/output/instance_description.php
(#70) Function instance_description::export_for_template is not documented
(#57) Phpdocs for function instance_description::__construct has incomplete parameters list
mod/booking/classes/output/mobile.php
(#194) Phpdocs for function mobile::npbuttons has incomplete parameters list
(#218) Phpdocs for function mobile::prepare_options_array has incomplete parameters list
(#242) Phpdocs for function mobile::prepare_options has incomplete parameters list
mod/booking/classes/output/renderer.php
(#42) Function renderer::print_booking_tabs is not documented
(#89) Phpdocs for function renderer::subscriber_selection_form has incomplete parameters list
(#310) Phpdocs for function renderer::render_signin_pdfdownloadform has incomplete parameters list
(#346) Phpdocs for function renderer::render_instance_description has incomplete parameters list
(#411) Phpdocs for function renderer::render_modal_info has incomplete parameters list
(#423) Phpdocs for function renderer::render_col_text_modal has incomplete parameters list
(#438) Phpdocs for function renderer::render_coursepage_available_options has incomplete parameters list
(#450) Phpdocs for function renderer::render_coursepage_shortinfo_and_button has incomplete parameters list
(#462) Phpdocs for function renderer::render_col_coursestarttime has incomplete parameters list
(#474) Phpdocs for function renderer::render_col_text_with_description has incomplete parameters list
mod/booking/classes/output/report_edit_bookingnotes.php
(#74) Function report_edit_bookingnotes::export_for_template is not documented
(#61) Phpdocs for function report_edit_bookingnotes::__construct has incomplete parameters list
mod/booking/classes/output/signin_downloadform.php
(#90) Function signin_downloadform::export_for_template is not documented
(#69) Phpdocs for function signin_downloadform::__construct has incomplete parameters list
mod/booking/classes/places.php
(#37) Function places::__construct is not documented
(#29) Variable places::$maxanswers is not documented
(#31) Variable places::$available is not documented
(#33) Variable places::$maxoverbooking is not documented
(#35) Variable places::$overbookingavailable is not documented
mod/booking/classes/potential_subscriber_selector.php
(#24) Package mod-booking is not valid
(#146) Phpdocs for function potential_subscriber_selector::set_force_subscribed has incomplete parameters list
(#37) Phpdocs for variable potential_subscriber_selector::$existingsubscribers does not contain @var or incorrect
mod/booking/classes/privacy/provider.php
(#20) Package booking is not valid
(#38) Class provider is not documented
mod/booking/classes/signinsheet/signin_pdf.php
(#21) Package is not specified for class signin_pdf. It is also not specified in file-level phpdocs
(#63) Function signin_pdf::setfooterimage is not documented
(#28) Variable signin_pdf::$file is not documented
(#30) There is no description in phpdocs for function go_to_newline
(#32) Phpdocs for function signin_pdf::go_to_newline has incomplete parameters list
mod/booking/classes/site_overview.php
(#19) Package mod is not valid
(#28) Class site_overview is not documented
(#60) Function site_overview::__construct is not documented
(#17) No one-line description found in phpdocs for file
(#138) Phpdocs for function site_overview::get_my_optionids has incomplete parameters list
(#149) Phpdocs for function site_overview::all_bookingoptions_of_course has incomplete parameters list
(#188) Phpdocs for function site_overview::display has incomplete parameters list
mod/booking/classes/subscriber_selector_base.php
(#24) Package mod-booking is not valid
mod/booking/classes/table/bookingoptions_simple_table.php
(#33) Package is not specified for class bookingoptions_simple_table. It is also not specified in file-level phpdocs
(#38) Phpdocs for variable bookingoptions_simple_table::$teachers does not contain @var or incorrect
mod/booking/classes/table/instancetemplatessettings_table.php
(#26) Package is not specified for class instancetemplatessettings_table. It is also not specified in file-level phpdocs
(#26) Class instancetemplatessettings_table is not documented
(#31) Phpdocs for function instancetemplatessettings_table::__construct has incomplete parameters list
(#54) Phpdocs for function instancetemplatessettings_table::col_action has incomplete parameters list
mod/booking/classes/table/optiontemplatessettings_table.php
(#22) Package is not specified for class optiontemplatessettings_table. It is also not specified in file-level phpdocs
(#22) Class optiontemplatessettings_table is not documented
(#37) Phpdocs for function optiontemplatessettings_table::__construct has incomplete parameters list
(#59) Phpdocs for function optiontemplatessettings_table::col_options has incomplete parameters list
(#85) Phpdocs for function optiontemplatessettings_table::col_action has incomplete parameters list
mod/booking/classes/task/enrol_bookedusers_tocourse.php
(#23) Package is not specified for class enrol_bookedusers_tocourse. It is also not specified in file-level phpdocs
(#23) Class enrol_bookedusers_tocourse is not documented
(#25) There is no description in phpdocs for function get_name
mod/booking/classes/task/remove_activity_completion.php
(#20) Package is not specified for class remove_activity_completion. It is also not specified in file-level phpdocs
(#20) Class remove_activity_completion is not documented
(#22) Function remove_activity_completion::get_name is not documented
(#26) Function remove_activity_completion::execute is not documented
mod/booking/classes/task/send_completion_mails.php
(#27) Package is not specified for class send_completion_mails. It is also not specified in file-level phpdocs
mod/booking/classes/task/send_confirmation_mails.php
(#23) Package is not specified for class send_confirmation_mails. It is also not specified in file-level phpdocs
(#23) Class send_confirmation_mails is not documented
mod/booking/classes/task/send_reminder_mails.php
(#30) Package is not specified for class send_reminder_mails. It is also not specified in file-level phpdocs
(#30) Class send_reminder_mails is not documented
(#32) Function send_reminder_mails::get_name is not documented
(#36) Function send_reminder_mails::execute is not documented
(#26) Constant MAIL_NOTIFICATION_PARTICIPANTS is not documented
(#27) Constant MAIL_NOTIFICATION_PARTICIPANTS_SESSIONS is not documented
(#28) Constant MAIL_NOTIFICATION_TEACHERS is not documented
mod/booking/classes/utils/csv_import.php
(#33) Package mod_booking\classes\utils is not valid
(#92) Function csv_import::__construct is not documented
(#29) No one-line description found in phpdocs for class csv_import
(#305) There is no description in phpdocs for function get_error
(#312) There is no description in phpdocs for function get_line_errors
(#467) There is no description in phpdocs for function validate_fieldnames
(#151) Phpdocs for function csv_import::process_data has incomplete parameters list
(#322) Phpdocs for function csv_import::add_csverror has incomplete parameters list
(#333) Phpdocs for function csv_import::prepare_data has incomplete parameters list
(#404) Phpdocs for function csv_import::validate_data has incomplete parameters list
(#448) Phpdocs for function csv_import::set_defaults has incomplete parameters list
(#536) Phpdocs for function csv_import::replace_csv_fieldnames has incomplete parameters list
mod/booking/classes/utils/db.php
(#19) Package is not specified for class db. It is also not specified in file-level phpdocs
(#19) Class db is not documented
(#66) Phpdocs for function db::getbadges has incomplete parameters list
(#88) Phpdocs for function db::getusersactivity has incomplete parameters list
(#120) Phpdocs for function db::getusersbadges has incomplete parameters list
mod/booking/classes/utils/wb_payment.php
(#22) Package is not specified for class wb_payment. It is also not specified in file-level phpdocs
(#27) Constant wb_payment::PUBLIC_KEY is not documented
(#22) No one-line description found in phpdocs for class wb_payment
(#40) Phpdocs for function wb_payment::decryptlicensekey has incomplete parameters list
mod/booking/classes/utils/webservice_import.php
(#38) Package mod_booking\classes\utils is not valid
(#344) Function webservice_import::add_teacher_to_bookingoption is not documented
(#34) No one-line description found in phpdocs for class webservice_import
(#58) Phpdocs for function webservice_import::process_data has incomplete parameters list
(#112) Phpdocs for function webservice_import::update_option has incomplete parameters list
(#122) Phpdocs for function webservice_import::check_if_update_option has incomplete parameters list
(#173) Phpdocs for function webservice_import::return_booking_id has incomplete parameters list
(#233) Phpdocs for function webservice_import::remap_data has incomplete parameters list
mod/booking/confirmactivity.php
(#21) Package mod/booking is not valid
(#16) No one-line description found in phpdocs for file
(#16) File-level phpdocs block does not have @copyright tag
(#16) File-level phpdocs block does not have @license tag
mod/booking/customreporttemplatesadd.php
(#19) Package Booking is not valid
mod/booking/db/log.php
(#19) Package mod is not valid
mod/booking/db/messages.php
(#20) Package mod is not valid
(#20) Package booking is not valid
mod/booking/db/mobile.php
(#16) File-level phpdocs block is not found
mod/booking/db/tasks.php
(#17) File-level phpdocs block is not found
mod/booking/db/upgrade.php
(#19) Package is not specified for function xmldb_booking_upgrade. It is also not specified in file-level phpdocs
(#17) File-level phpdocs block is not found
(#19) Function xmldb_booking_upgrade is not documented
mod/booking/edit_optiontemplates.php
(#16) File-level phpdocs block is not found
mod/booking/editoptions.php
(#16) File-level phpdocs block is not found
mod/booking/externallib.php
(#44) Package is not specified for class mod_booking_external. It is also not specified in file-level phpdocs
(#24) Package is not specified for function mod_booking_showsubcategories. It is also not specified in file-level phpdocs
(#44) Class mod_booking_external is not documented
(#24) Function mod_booking_showsubcategories is not documented
(#60) Function mod_booking_external::categories_parameters is not documented
(#68) Function mod_booking_external::categories is not documented
(#103) Function mod_booking_external::bookings is not documented
(#256) Function mod_booking_external::bookings_returns is not documented
mod/booking/importexcel.php
(#19) Package Booking is not valid
mod/booking/importexcel_form.php
(#23) Package is not specified for class importexcel_form. It is also not specified in file-level phpdocs
(#23) Class importexcel_form is not documented
(#42) Phpdocs for function importexcel_form::validation has incomplete parameters list
mod/booking/importoptions.php
(#19) Package Booking is not valid
mod/booking/index.php
(#16) File-level phpdocs block is not found
mod/booking/instancetemplateadd.php
(#19) Package Booking is not valid
mod/booking/institutionadd.php
(#16) File-level phpdocs block is not found
mod/booking/institutioncsv.php
(#19) Package Booking is not valid
mod/booking/institutioncsv_form.php
(#21) Package is not specified for class institutioncsv_form. It is also not specified in file-level phpdocs
(#21) Class institutioncsv_form is not documented
(#41) Phpdocs for function institutioncsv_form::validation has incomplete parameters list
mod/booking/institutionform.class.php
(#23) Package is not specified for class mod_booking_institution_form. It is also not specified in file-level phpdocs
(#23) Class mod_booking_institution_form is not documented
(#25) Function mod_booking_institution_form::definition is not documented
mod/booking/institutions.php
(#16) File-level phpdocs block is not found
mod/booking/institutions_rest.php
(#16) File-level phpdocs block is not found
mod/booking/lang/de/booking.php
(#18) File-level phpdocs block is not found
mod/booking/lang/en/booking.php
(#18) File-level phpdocs block is not found
mod/booking/lib.php
(#34) Package is not specified for function booking_get_coursemodule_info. It is also not specified in file-level phpdocs
(#46) Package is not specified for function booking_pluginfile. It is also not specified in file-level phpdocs
(#104) Package is not specified for function booking_user_outline. It is also not specified in file-level phpdocs
(#117) Package is not specified for function booking_user_complete. It is also not specified in file-level phpdocs
(#142) Package is not specified for function booking_supports. It is also not specified in file-level phpdocs
(#259) Package is not specified for function booking_get_completion_state. It is also not specified in file-level phpdocs
(#291) Package is not specified for function booking_add_instance. It is also not specified in file-level phpdocs
(#411) Package is not specified for function booking_update_instance. It is also not specified in file-level phpdocs
(#538) Package is not specified for function booking_update_options. It is also not specified in file-level phpdocs
(#892) Package is not specified for function deal_with_multisessions. It is also not specified in file-level phpdocs
(#944) Package is not specified for function booking_get_user_status. It is also not specified in file-level phpdocs
(#993) Package is not specified for function booking_myprofile_navigation. It is also not specified in file-level phpdocs
(#1006) Package is not specified for function booking_extend_settings_navigation. It is also not specified in file-level phpdocs
(#1162) Package is not specified for function booking_email_to_user. It is also not specified in file-level phpdocs
(#1532) Package is not specified for function booking_check_if_teacher. It is also not specified in file-level phpdocs
(#1551) Package is not specified for function booking_activitycompletion_teachers. It is also not specified in file-level phpdocs
(#1597) Package is not specified for function booking_generatenewnumners. It is also not specified in file-level phpdocs
(#1640) Package is not specified for function booking_activitycompletion. It is also not specified in file-level phpdocs
(#1694) Package is not specified for function booking_get_user_grades. It is also not specified in file-level phpdocs
(#1724) Package is not specified for function booking_update_grades. It is also not specified in file-level phpdocs
(#1751) Package is not specified for function booking_grade_item_update. It is also not specified in file-level phpdocs
(#1790) Package is not specified for function booking_grade_item_delete. It is also not specified in file-level phpdocs
(#1804) Package is not specified for function booking_scale_used. It is also not specified in file-level phpdocs
(#1823) Package is not specified for function booking_scale_used_anywhere. It is also not specified in file-level phpdocs
(#1839) Package is not specified for function booking_rating_permissions. It is also not specified in file-level phpdocs
(#1857) Package is not specified for function booking_rating_validate. It is also not specified in file-level phpdocs
(#1942) Package is not specified for function booking_rate. It is also not specified in file-level phpdocs
(#2028) Package is not specified for function booking_sendreminderemail. It is also not specified in file-level phpdocs
(#2041) Package is not specified for function booking_sendpollurlteachers. It is also not specified in file-level phpdocs
(#2093) Package is not specified for function booking_sendpollurl. It is also not specified in file-level phpdocs
(#2152) Package is not specified for function bookingoption_completed_send_message. It is also not specified in file-level phpdocs
(#2177) Package is not specified for function booking_sendcustommessage. It is also not specified in file-level phpdocs
(#2223) Package is not specified for function booking_send_notification. It is also not specified in file-level phpdocs
(#2326) Package is not specified for function booking_delete_instance. It is also not specified in file-level phpdocs
(#2374) Package is not specified for function booking_get_option_text. It is also not specified in file-level phpdocs
(#2393) Package is not specified for function booking_reset_course_form_definition. It is also not specified in file-level phpdocs
(#2404) Package is not specified for function booking_reset_course_form_defaults. It is also not specified in file-level phpdocs
(#2411) Package is not specified for function booking_reset_userdata. It is also not specified in file-level phpdocs
(#2443) Package is not specified for function booking_pretty_duration. It is also not specified in file-level phpdocs
(#2460) Package is not specified for function booking_generate_email_params. It is also not specified in file-level phpdocs
(#2645) Package is not specified for function booking_get_email_body. It is also not specified in file-level phpdocs
(#2680) Package is not specified for function booking_check_statuschange. It is also not specified in file-level phpdocs
(#2724) Package is not specified for function booking_get_extra_capabilities. It is also not specified in file-level phpdocs
(#2731) Package is not specified for function subscribe_teacher_to_booking_option. It is also not specified in file-level phpdocs
(#2770) Package is not specified for function unsubscribe_teacher_from_booking_option. It is also not specified in file-level phpdocs
(#2791) Package is not specified for function booking_show_subcategories. It is also not specified in file-level phpdocs
(#2808) Package is not specified for function booking_subscribed_teachers. It is also not specified in file-level phpdocs
(#2877) Package is not specified for function mod_booking_cm_info_view. It is also not specified in file-level phpdocs
(#17) File-level phpdocs block is not found
(#104) Function booking_user_outline is not documented
(#142) Function booking_supports is not documented
(#2374) Function booking_get_option_text is not documented
(#2791) Function booking_show_subcategories is not documented
(#34) There is no description in phpdocs for function booking_get_coursemodule_info
(#2223) There is no description in phpdocs for function booking_send_notification
(#2443) There is no description in phpdocs for function booking_pretty_duration
(#49) Phpdocs for function booking_pluginfile has incomplete parameters list
(#120) Phpdocs for function booking_user_complete has incomplete parameters list
(#176) Phpdocs for function booking_comment_permissions has incomplete parameters list
(#262) Phpdocs for function booking_get_completion_state has incomplete parameters list
(#892) Phpdocs for function deal_with_multisessions has incomplete parameters list
(#947) Phpdocs for function booking_get_user_status has incomplete parameters list
(#993) Phpdocs for function booking_myprofile_navigation has incomplete parameters list
(#1532) Phpdocs for function booking_check_if_teacher has incomplete parameters list
(#1790) Phpdocs for function booking_grade_item_delete has incomplete parameters list
(#1808) Phpdocs for function booking_scale_used has incomplete parameters list
(#1827) Phpdocs for function booking_scale_used_anywhere has incomplete parameters list
(#1842) Phpdocs for function booking_rating_permissions has incomplete parameters list
(#2030) Phpdocs for function booking_sendreminderemail has incomplete parameters list
(#2043) Phpdocs for function booking_sendpollurlteachers has incomplete parameters list
(#2096) Phpdocs for function booking_sendpollurl has incomplete parameters list
(#2180) Phpdocs for function booking_sendcustommessage has incomplete parameters list
(#2224) Phpdocs for function booking_send_notification has incomplete parameters list
(#2397) Phpdocs for function booking_reset_course_form_definition has incomplete parameters list
(#2404) Phpdocs for function booking_reset_course_form_defaults has incomplete parameters list
(#2414) Phpdocs for function booking_reset_userdata has incomplete parameters list
(#2463) Phpdocs for function booking_generate_email_params has incomplete parameters list
(#2683) Phpdocs for function booking_check_statuschange has incomplete parameters list
(#2735) Phpdocs for function subscribe_teacher_to_booking_option has incomplete parameters list
(#2774) Phpdocs for function unsubscribe_teacher_from_booking_option has incomplete parameters list
(#2813) Phpdocs for function booking_subscribed_teachers has incomplete parameters list
(#1697) Not recommended phpdocs tag @global used
(#1807) Not recommended phpdocs tag @global used
(#1826) Not recommended phpdocs tag @global used
(#2734) Not recommended phpdocs tag @global used
(#2773) Not recommended phpdocs tag @global used
(#2811) Not recommended phpdocs tag @global used
(#2811) Not recommended phpdocs tag @global used
(#1165) Inline phpdocs tag {@link $USER} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#1165) Inline phpdocs tag {@link $USER} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
mod/booking/link.php
(#17) File-level phpdocs block is not found
mod/booking/locallib.php
(#130) Package is not specified for class booking_potential_user_selector. It is also not specified in file-level phpdocs
(#296) Package is not specified for function booking_confirm_booking. It is also not specified in file-level phpdocs
(#330) Package is not specified for function booking_updatestartenddate. It is also not specified in file-level phpdocs
(#357) Package is not specified for function get_rendered_customfields. It is also not specified in file-level phpdocs
(#374) Package is not specified for function get_rendered_eventdescription. It is also not specified in file-level phpdocs
(#409) Package is not specified for function optiondate_deletecustomfields. It is also not specified in file-level phpdocs
(#419) Package is not specified for function optiondate_duplicatecustomfields. It is also not specified in file-level phpdocs
(#433) Package is not specified for function option_optiondate_update_event. It is also not specified in file-level phpdocs
(#517) Package is not specified for function booking_getoptionstatus. It is also not specified in file-level phpdocs
(#36) Package mod-booking is not valid
(#219) Package mod-booking is not valid
(#17) File-level phpdocs block is not found
(#107) Function booking_user_selector_base::get_options is not documented
(#137) Function booking_potential_user_selector::__construct is not documented
(#142) Function booking_potential_user_selector::find_users is not documented
(#229) Function booking_existing_user_selector::__construct is not documented
(#135) Variable booking_potential_user_selector::$options is not documented
(#225) Variable booking_existing_user_selector::$potentialusers is not documented
(#227) Variable booking_existing_user_selector::$options is not documented
(#27) Constant DESCRIPTION_WEBSITE is not documented
(#28) Constant DESCRIPTION_CALENDAR is not documented
(#29) Constant DESCRIPTION_ICAL is not documented
(#30) Constant DESCRIPTION_MAIL is not documented
(#299) Phpdocs for function booking_confirm_booking has incomplete parameters list
(#376) Phpdocs for function get_rendered_eventdescription has incomplete parameters list
(#421) Phpdocs for function optiondate_duplicatecustomfields has incomplete parameters list
(#435) Phpdocs for function option_optiondate_update_event has incomplete parameters list
mod/booking/mod_form.php
(#28) Package is not specified for class mod_booking_mod_form. It is also not specified in file-level phpdocs
(#28) Class mod_booking_mod_form is not documented
(#54) Function mod_booking_mod_form::add_completion_rules is not documented
(#72) Function mod_booking_mod_form::completion_rule_enabled is not documented
(#76) Function mod_booking_mod_form::definition is not documented
(#961) Function mod_booking_mod_form::validation is not documented
(#1012) Function mod_booking_mod_form::get_data is not documented
(#30) Variable mod_booking_mod_form::$options is not documented
(#35) Phpdocs for function mod_booking_mod_form::show_sub_categories has incomplete parameters list
mod/booking/moveoption.php
(#16) File-level phpdocs block is not found
mod/booking/mybookings.php
(#16) File-level phpdocs block is not found
mod/booking/optiondates.php
(#19) Package Booking is not valid
mod/booking/optiondatesadd_form.php
(#24) Package is not specified for class optiondatesadd_form. It is also not specified in file-level phpdocs
(#22) Constant MAX_CUSTOM_FIELDS is not documented
(#136) Phpdocs for function optiondatesadd_form::addcustomfields has incomplete parameters list
(#193) Phpdocs for function optiondatesadd_form::validation has incomplete parameters list
mod/booking/otherbooking.php
(#19) Package Booking is not valid
mod/booking/otherbookingaddrule.php
(#19) Package Booking is not valid
mod/booking/otherbookingaddrule_form.php
(#22) Package is not specified for class otherbookingaddrule_form. It is also not specified in file-level phpdocs
(#22) Class otherbookingaddrule_form is not documented
(#76) Function otherbookingaddrule_form::get_data is not documented
(#67) Phpdocs for function otherbookingaddrule_form::validation has incomplete parameters list
mod/booking/rating_rest.php
(#16) File-level phpdocs block is not found
mod/booking/sendmessage.php
(#16) File-level phpdocs block is not found
mod/booking/sendmessageform.class.php
(#23) Package is not specified for class mod_booking_sendmessage_form. It is also not specified in file-level phpdocs
(#23) Class mod_booking_sendmessage_form is not documented
(#25) Function mod_booking_sendmessage_form::definition is not documented
mod/booking/subscribeusers.php
(#16) No one-line description found in phpdocs for file
(#16) File-level phpdocs block does not have @copyright tag
(#16) File-level phpdocs block does not have @license tag
mod/booking/subscribeusersctivity.php
(#21) Package mod/booking is not valid
(#16) No one-line description found in phpdocs for file
(#16) File-level phpdocs block does not have @copyright tag
(#16) File-level phpdocs block does not have @license tag
mod/booking/tag.php
(#16) File-level phpdocs block is not found
mod/booking/tagtemplates.php
(#19) Package Booking is not valid
mod/booking/tagtemplatesadd.php
(#19) Package Booking is not valid
mod/booking/tagtemplatesadd_form.php
(#23) Package is not specified for class tagtemplatesadd_form. It is also not specified in file-level phpdocs
(#23) Class tagtemplatesadd_form is not documented
(#57) Function tagtemplatesadd_form::get_data is not documented
(#48) Phpdocs for function tagtemplatesadd_form::validation has incomplete parameters list
mod/booking/teachers.php
(#16) File-level phpdocs block is not found
mod/booking/teachers_form.php
(#20) Package is not specified for class mod_booking_teachers_form. It is also not specified in file-level phpdocs
(#20) Class mod_booking_teachers_form is not documented
(#22) Function mod_booking_teachers_form::definition is not documented
mod/booking/tests/booking_option_test.php
(#30) Package mod_forum is not valid
mod/booking/tests/events_test.php
(#30) Package mod_forum is not valid
(#47) Function mod_booking_events_testcase::returntestdata is not documented
mod/booking/tests/generator/lib.php
(#45) Function mod_booking_generator::create_instance is not documented
mod/booking/tests/lib_test.php
(#22) Package is not specified for class mod_booking_lib_testcase. It is also not specified in file-level phpdocs
(#22) Class mod_booking_lib_testcase is not documented
mod/booking/version.php
(#17) No one-line description found in phpdocs for file
mod/booking/view.php
(#16) File-level phpdocs block is not found
mod/booking/viewconfirmation.php
(#19) Package Booking is not valid
mod/booking/viewpolicy.php
(#16) 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 "eslint:amd" 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, 82 warnings)

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

mod/booking/templates/bookingoption_changes.mustache
(#1) Example context missing.
(#1) HTML Validation error, line 3: The “border” attribute on the “table” element is obsolete. Use CSS instead. (d><body><table border="0"></tab)
mod/booking/templates/bookingoption_description.mustache
(#1) Example context missing.
(#1) HTML Validation info, line 2: Empty heading. (ad><body><h4></h4>)
mod/booking/templates/bookingoption_description_event.mustache
(#1) Example context missing.
(#1) HTML Validation info, line 2: Empty heading. (ad><body><h4></h4>)
mod/booking/templates/bookingoption_description_ical.mustache
(#1) Example context missing.
mod/booking/templates/bookingoption_description_mail.mustache
(#1) Example context missing.
(#1) HTML Validation info, line 3: Empty heading. (d><body><h4></h4>)
mod/booking/templates/business_card.mustache
(#1) Example context missing.
(#1) HTML Validation error, line 6: Bad value “” for attribute “src” on element “img”: Must be non-empty. ( <img src="" alt="" class='userpicture' style="max-width:100%;"></img>)
(#1) HTML Validation error, line 6: Stray end tag “img”. (th:100%;"></img> )
(#1) HTML Validation error, line 13: Attribute “alt” not allowed on element “a” at this point. ( <b><a href='' alt=''></a></)
mod/booking/templates/col_coursestarttime.mustache
(#1) Example context missing.
mod/booking/templates/col_text_modal.mustache
(#1) Example context missing.
(#1) HTML Validation info, line 4: Empty heading. (y><div><h4></h4>)
(#1) HTML Validation info, line 14: Empty heading. (> <h5 class="modal-title" id="descriptionModalLabel"></h5>)
(#1) HTML Validation info, line 20: Empty heading. (> <h4></h4>)
mod/booking/templates/col_text_with_description.mustache
(#1) Example context missing.
mod/booking/templates/coursepage_available_options.mustache
(#1) Example context missing.
mod/booking/templates/coursepage_shortinfo_and_button.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation info, line 5: Empty heading. (ursename"><h2></h2><)
mod/booking/templates/info_modal.mustache
(#1) Example context missing.
(#1) HTML Validation info, line 11: Empty heading. (> <h5 class="modal-title" id="descriptionModalLabel"></h5>)
(#1) HTML Validation info, line 17: Empty heading. (> <h4></h4>)
mod/booking/templates/instance_description.mustache
(#1) Example context missing.
mod/booking/templates/mobile_mybookings_list.mustache
(#1) Example context missing (@template section not found.)
mod/booking/templates/mobile_view_page.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation info, line 16: Attribute “[args]” is not serializable as XML 1.0. ( <button ion-button block color="" core-site-plugins-new-content method="mobile_course_view" samePage="true" [args]="{cmid: , courseid: , whichview: 'showactive'}"> )
(#1) HTML Validation error, line 16: Attribute “ion-button” not allowed on element “button” at this point. ( <button ion-button block color="" core-site-plugins-new-content method="mobile_course_view" samePage="true" [args]="{cmid: , courseid: , whichview: 'showactive'}"> )
(#1) HTML Validation error, line 16: Attribute “block” not allowed on element “button” at this point. ( <button ion-button block color="" core-site-plugins-new-content method="mobile_course_view" samePage="true" [args]="{cmid: , courseid: , whichview: 'showactive'}"> )
(#1) HTML Validation error, line 16: Attribute “color” not allowed on element “button” at this point. ( <button ion-button block color="" core-site-plugins-new-content method="mobile_course_view" samePage="true" [args]="{cmid: , courseid: , whichview: 'showactive'}"> )
(#1) HTML Validation error, line 16: Attribute “core-site-plugins-new-content” not allowed on element “button” at this point. ( <button ion-button block color="" core-site-plugins-new-content method="mobile_course_view" samePage="true" [args]="{cmid: , courseid: , whichview: 'showactive'}"> )
(#1) HTML Validation error, line 16: Attribute “method” not allowed on element “button” at this point. ( <button ion-button block color="" core-site-plugins-new-content method="mobile_course_view" samePage="true" [args]="{cmid: , courseid: , whichview: 'showactive'}"> )
(#1) HTML Validation error, line 16: Attribute “samepage” not allowed on element “button” at this point. ( <button ion-button block color="" core-site-plugins-new-content method="mobile_course_view" samePage="true" [args]="{cmid: , courseid: , whichview: 'showactive'}"> )
(#1) HTML Validation error, line 16: Attribute “[args]” not allowed on element “button” at this point. ( <button ion-button block color="" core-site-plugins-new-content method="mobile_course_view" samePage="true" [args]="{cmid: , courseid: , whichview: 'showactive'}"> )
(#1) HTML Validation info, line 21: Attribute “[args]” is not serializable as XML 1.0. ( <button ion-button block color="" core-site-plugins-new-content method="mobile_course_view" samePage="true" [args]="{cmid: , courseid: , whichview: 'showall'}"> )
(#1) HTML Validation error, line 21: Attribute “ion-button” not allowed on element “button” at this point. ( <button ion-button block color="" core-site-plugins-new-content method="mobile_course_view" samePage="true" [args]="{cmid: , courseid: , whichview: 'showall'}"> )
(#1) HTML Validation error, line 21: Attribute “block” not allowed on element “button” at this point. ( <button ion-button block color="" core-site-plugins-new-content method="mobile_course_view" samePage="true" [args]="{cmid: , courseid: , whichview: 'showall'}"> )
(#1) HTML Validation error, line 21: Attribute “color” not allowed on element “button” at this point. ( <button ion-button block color="" core-site-plugins-new-content method="mobile_course_view" samePage="true" [args]="{cmid: , courseid: , whichview: 'showall'}"> )
(#1) HTML Validation error, line 21: Attribute “core-site-plugins-new-content” not allowed on element “button” at this point. ( <button ion-button block color="" core-site-plugins-new-content method="mobile_course_view" samePage="true" [args]="{cmid: , courseid: , whichview: 'showall'}"> )
(#1) HTML Validation error, line 21: Attribute “method” not allowed on element “button” at this point. ( <button ion-button block color="" core-site-plugins-new-content method="mobile_course_view" samePage="true" [args]="{cmid: , courseid: , whichview: 'showall'}"> )
(#1) HTML Validation error, line 21: Attribute “samepage” not allowed on element “button” at this point. ( <button ion-button block color="" core-site-plugins-new-content method="mobile_course_view" samePage="true" [args]="{cmid: , courseid: , whichview: 'showall'}"> )
(#1) HTML Validation error, line 21: Attribute “[args]” not allowed on element “button” at this point. ( <button ion-button block color="" core-site-plugins-new-content method="mobile_course_view" samePage="true" [args]="{cmid: , courseid: , whichview: 'showall'}"> )
(#1) HTML Validation info, line 26: Attribute “[args]” is not serializable as XML 1.0. ( <button ion-button block color="" core-site-plugins-new-content method="mobile_course_view" samePage="true" [args]="{cmid: , courseid: , whichview: 'mybooking'}"> )
(#1) HTML Validation error, line 26: Attribute “ion-button” not allowed on element “button” at this point. ( <button ion-button block color="" core-site-plugins-new-content method="mobile_course_view" samePage="true" [args]="{cmid: , courseid: , whichview: 'mybooking'}"> )
(#1) HTML Validation error, line 26: Attribute “block” not allowed on element “button” at this point. ( <button ion-button block color="" core-site-plugins-new-content method="mobile_course_view" samePage="true" [args]="{cmid: , courseid: , whichview: 'mybooking'}"> )
(#1) HTML Validation error, line 26: Attribute “color” not allowed on element “button” at this point. ( <button ion-button block color="" core-site-plugins-new-content method="mobile_course_view" samePage="true" [args]="{cmid: , courseid: , whichview: 'mybooking'}"> )
(#1) HTML Validation error, line 26: Attribute “core-site-plugins-new-content” not allowed on element “button” at this point. ( <button ion-button block color="" core-site-plugins-new-content method="mobile_course_view" samePage="true" [args]="{cmid: , courseid: , whichview: 'mybooking'}"> )
(#1) HTML Validation error, line 26: Attribute “method” not allowed on element “button” at this point. ( <button ion-button block color="" core-site-plugins-new-content method="mobile_course_view" samePage="true" [args]="{cmid: , courseid: , whichview: 'mybooking'}"> )
(#1) HTML Validation error, line 26: Attribute “samepage” not allowed on element “button” at this point. ( <button ion-button block color="" core-site-plugins-new-content method="mobile_course_view" samePage="true" [args]="{cmid: , courseid: , whichview: 'mybooking'}"> )
(#1) HTML Validation error, line 26: Attribute “[args]” not allowed on element “button” at this point. ( <button ion-button block color="" core-site-plugins-new-content method="mobile_course_view" samePage="true" [args]="{cmid: , courseid: , whichview: 'mybooking'}"> )
(#1) HTML Validation info, line 36: Attribute “[showcancelbutton]” is not serializable as XML 1.0. (rid> <ion-searchbar [showCancelButton]="shouldShowCancel" [debounce]="1000" [(ngModel)]="CONTENT_OTHERDATA.searchstring" (ionInput)="updateContent({ cmid: , courseid: , whichview: '', searchstring: CONTENT_OTHERDATA.searchstring})"></ion-)
(#1) HTML Validation info, line 36: Attribute “[debounce]” is not serializable as XML 1.0. (rid> <ion-searchbar [showCancelButton]="shouldShowCancel" [debounce]="1000" [(ngModel)]="CONTENT_OTHERDATA.searchstring" (ionInput)="updateContent({ cmid: , courseid: , whichview: '', searchstring: CONTENT_OTHERDATA.searchstring})"></ion-)
(#1) HTML Validation info, line 36: Attribute “[(ngmodel)]” is not serializable as XML 1.0. (rid> <ion-searchbar [showCancelButton]="shouldShowCancel" [debounce]="1000" [(ngModel)]="CONTENT_OTHERDATA.searchstring" (ionInput)="updateContent({ cmid: , courseid: , whichview: '', searchstring: CONTENT_OTHERDATA.searchstring})"></ion-)
(#1) HTML Validation info, line 36: Attribute “(ioninput)” is not serializable as XML 1.0. (rid> <ion-searchbar [showCancelButton]="shouldShowCancel" [debounce]="1000" [(ngModel)]="CONTENT_OTHERDATA.searchstring" (ionInput)="updateContent({ cmid: , courseid: , whichview: '', searchstring: CONTENT_OTHERDATA.searchstring})"></ion-)
(#1) HTML Validation info, line 42: Attribute “[args]” is not serializable as XML 1.0. ( <button ion-button block color="light" core-site-plugins-new-content method="mobile_course_view" samePage="true" [args]="{cmid: , courseid: , pagnumber: , whichview: '' }" useOtherData=""> )
(#1) HTML Validation error, line 42: Attribute “ion-button” not allowed on element “button” at this point. ( <button ion-button block color="light" core-site-plugins-new-content method="mobile_course_view" samePage="true" [args]="{cmid: , courseid: , pagnumber: , whichview: '' }" useOtherData=""> )
(#1) HTML Validation error, line 42: Attribute “block” not allowed on element “button” at this point. ( <button ion-button block color="light" core-site-plugins-new-content method="mobile_course_view" samePage="true" [args]="{cmid: , courseid: , pagnumber: , whichview: '' }" useOtherData=""> )
(#1) HTML Validation error, line 42: Attribute “color” not allowed on element “button” at this point. ( <button ion-button block color="light" core-site-plugins-new-content method="mobile_course_view" samePage="true" [args]="{cmid: , courseid: , pagnumber: , whichview: '' }" useOtherData=""> )
(#1) HTML Validation error, line 42: Attribute “core-site-plugins-new-content” not allowed on element “button” at this point. ( <button ion-button block color="light" core-site-plugins-new-content method="mobile_course_view" samePage="true" [args]="{cmid: , courseid: , pagnumber: , whichview: '' }" useOtherData=""> )
(#1) HTML Validation error, line 42: Attribute “method” not allowed on element “button” at this point. ( <button ion-button block color="light" core-site-plugins-new-content method="mobile_course_view" samePage="true" [args]="{cmid: , courseid: , pagnumber: , whichview: '' }" useOtherData=""> )
(#1) HTML Validation error, line 42: Attribute “samepage” not allowed on element “button” at this point. ( <button ion-button block color="light" core-site-plugins-new-content method="mobile_course_view" samePage="true" [args]="{cmid: , courseid: , pagnumber: , whichview: '' }" useOtherData=""> )
(#1) HTML Validation error, line 42: Attribute “[args]” not allowed on element “button” at this point. ( <button ion-button block color="light" core-site-plugins-new-content method="mobile_course_view" samePage="true" [args]="{cmid: , courseid: , pagnumber: , whichview: '' }" useOtherData=""> )
(#1) HTML Validation error, line 42: Attribute “useotherdata” not allowed on element “button” at this point. ( <button ion-button block color="light" core-site-plugins-new-content method="mobile_course_view" samePage="true" [args]="{cmid: , courseid: , pagnumber: , whichview: '' }" useOtherData=""> )
(#1) HTML Validation info, line 47: Attribute “[args]” is not serializable as XML 1.0. ( <button ion-button block color="light" core-site-plugins-new-content method="mobile_course_view" samePage="true" [args]="{cmid: , courseid: , pagnumber: , whichview: '' }" useOtherData=""> )
(#1) HTML Validation error, line 47: Attribute “ion-button” not allowed on element “button” at this point. ( <button ion-button block color="light" core-site-plugins-new-content method="mobile_course_view" samePage="true" [args]="{cmid: , courseid: , pagnumber: , whichview: '' }" useOtherData=""> )
(#1) HTML Validation error, line 47: Attribute “block” not allowed on element “button” at this point. ( <button ion-button block color="light" core-site-plugins-new-content method="mobile_course_view" samePage="true" [args]="{cmid: , courseid: , pagnumber: , whichview: '' }" useOtherData=""> )
(#1) HTML Validation error, line 47: Attribute “color” not allowed on element “button” at this point. ( <button ion-button block color="light" core-site-plugins-new-content method="mobile_course_view" samePage="true" [args]="{cmid: , courseid: , pagnumber: , whichview: '' }" useOtherData=""> )
(#1) HTML Validation error, line 47: Attribute “core-site-plugins-new-content” not allowed on element “button” at this point. ( <button ion-button block color="light" core-site-plugins-new-content method="mobile_course_view" samePage="true" [args]="{cmid: , courseid: , pagnumber: , whichview: '' }" useOtherData=""> )
(#1) HTML Validation error, line 47: Attribute “method” not allowed on element “button” at this point. ( <button ion-button block color="light" core-site-plugins-new-content method="mobile_course_view" samePage="true" [args]="{cmid: , courseid: , pagnumber: , whichview: '' }" useOtherData=""> )
(#1) HTML Validation error, line 47: Attribute “samepage” not allowed on element “button” at this point. ( <button ion-button block color="light" core-site-plugins-new-content method="mobile_course_view" samePage="true" [args]="{cmid: , courseid: , pagnumber: , whichview: '' }" useOtherData=""> )
(#1) HTML Validation error, line 47: Attribute “[args]” not allowed on element “button” at this point. ( <button ion-button block color="light" core-site-plugins-new-content method="mobile_course_view" samePage="true" [args]="{cmid: , courseid: , pagnumber: , whichview: '' }" useOtherData=""> )
(#1) HTML Validation error, line 47: Attribute “useotherdata” not allowed on element “button” at this point. ( <button ion-button block color="light" core-site-plugins-new-content method="mobile_course_view" samePage="true" [args]="{cmid: , courseid: , pagnumber: , whichview: '' }" useOtherData=""> )
mod/booking/templates/signin_downloadform.mustache
(#1) Example context missing.
(#1) HTML Validation error, line 3: Bad value “” for attribute “action” on element “form”: Must be non-empty. (eet"> <form data-region="booking-download-signinsheet-form" method="get" action=""> <di)
(#1) HTML Validation error, line 46: Element “option” without attribute “label” must not be empty. (value="1"></option> )
(#1) HTML Validation error, line 47: Element “option” without attribute “label” must not be empty. (value="2"></option> )
(#1) HTML Validation error, line 48: Element “option” without attribute “label” must not be empty. (value="3"></option> )
(#1) HTML Validation error, line 63: Self-closing syntax (“/>”) used on a non-void HTML element. Ignoring the slash and treating as a start tag. (d-footer"><button type="submit" class="btn btn-primary" name="downloadpdf" />[[down)
(#1) HTML Validation error, line 20: The value of the “for” attribute of the “label” element must be the ID of a non-hidden form control. (4"> <label for="addemptyrows">[[sign)
mod/booking/templates/site_overview_bookinginstance.mustache
(#1) Example context missing (@template section not found.)

Gherkin .feature problems

(0 errors, 0 warnings)

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