Prechecker results: error


Overview

(0 errors, 0 warnings)

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


PHP lint problems

(0 errors, 0 warnings)

This section shows php lint problems in the code detected by php -l [More info]


PHP coding style problems

(98 errors, 33 warnings)

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

course/format/topicsactivitycards/backup/moodle2/backup_format_topicsactivitycards_plugin.class.php
(#1) No one-line description found in phpdocs for docblock of file backup_format_topicsactivitycards_plugin.class.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#28) Missing docblock for class backup_format_topicsactivitycards_plugin
(#40) Line exceeds 132 characters; contains 179 characters
(#57) Missing docblock for function define_course_plugin_structure
(#61) Line exceeds 132 characters; contains 135 characters
course/format/topicsactivitycards/backup/moodle2/restore_format_topicsactivitycards_plugin.class.php
(#1) No one-line description found in phpdocs for docblock of file restore_format_topicsactivitycards_plugin.class.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#29) Missing docblock for class restore_format_topicsactivitycards_plugin
(#74) Missing docblock for function define_module_plugin_structure
(#79) Line exceeds 132 characters; contains 139 characters
(#97) Line exceeds 132 characters; contains 150 characters
(#102) Missing docblock for function after_restore_module
course/format/topicsactivitycards/classes/coursehomeheader.php
(#19) Missing @copyright tag
(#19) Missing @license tag
(#19) Missing docblock for class coursehomeheader
(#20) Missing member variable doc comment
(#21) Missing member variable doc comment
(#23) Missing docblock for function __construct
course/format/topicsactivitycards/classes/metadata.php
(#1) No one-line description found in phpdocs for docblock of file metadata.php
(#31) Missing docblock for class metadata
(#32) Missing docblock for constant metadata::TABLE
(#100) Missing docblock for function formattedduration
course/format/topicsactivitycards/classes/output/courseformat/content.php
(#1) No one-line description found in phpdocs for docblock of file content.php
(#31) Missing docblock for class content
(#42) Missing docblock for function export_for_template
course/format/topicsactivitycards/classes/output/courseformat/content/section.php
(#1) No one-line description found in phpdocs for docblock of file section.php
(#35) Missing docblock for class section
(#37) Missing docblock for function export_for_template
(#77) Line exceeds 132 characters; contains 134 characters
(#113) Line exceeds 132 characters; contains 149 characters
(#121) Inline comments must start with a capital letter, digit or 3-dots sequence
(#129) Missing docblock for function add_cm_data
(#172) Missing docblock for function get_template_name
course/format/topicsactivitycards/classes/output/courseformat/content/section/cmitem.php
(#1) No one-line description found in phpdocs for docblock of file cmitem.php
(#31) Missing docblock for class cmitem
(#32) Missing docblock for function export_for_template
(#65) Inline comments must start with a capital letter, digit or 3-dots sequence
(#79) Line exceeds 132 characters; contains 134 characters
(#129) Missing docblock for function get_template_name
course/format/topicsactivitycards/classes/output/courseformat/content/section/header.php
(#1) No one-line description found in phpdocs for docblock of file header.php
(#32) Missing docblock for class header
(#33) Missing docblock for function export_for_template
course/format/topicsactivitycards/classes/output/renderer.php
(#1) No one-line description found in phpdocs for docblock of file renderer.php
(#34) Missing docblock for class renderer
(#38) Missing docblock for function render_coursehomeheader
(#69) Line exceeds 132 characters; contains 138 characters
course/format/topicsactivitycards/db/upgrade.php
(#1) No one-line description found in phpdocs for docblock of file upgrade.php
(#26) Missing docblock for function xmldb_format_topicsactivitycards_upgrade
course/format/topicsactivitycards/format.php
(#1) No one-line description found in phpdocs for docblock of file format.php
course/format/topicsactivitycards/lang/en/format_topicsactivitycards.php
(#1) No one-line description found in phpdocs for docblock of file format_topicsactivitycards.php
(#79) The string key "collapsible" is duplicated
course/format/topicsactivitycards/lib.php
(#1) No one-line description found in phpdocs for docblock of file lib.php
(#34) Missing docblock for class format_topicsactivitycards
(#35) Missing docblock for constant format_topicsactivitycards::SECTIONLAYOUT_COURSEDEFAULT
(#36) Missing docblock for constant format_topicsactivitycards::SECTIONLAYOUT_CARDS
(#37) Missing docblock for constant format_topicsactivitycards::SECTIONLAYOUT_LIST
(#38) Missing docblock for constant format_topicsactivitycards::SECTIONCOLLAPSIBLE_COURSEDEFAULT
(#39) Missing docblock for constant format_topicsactivitycards::SECTIONCOLLAPSIBLE_YES
(#40) Missing docblock for constant format_topicsactivitycards::SECTIONCOLLAPSIBLE_NO
(#42) Missing docblock for constant format_topicsactivitycards::SECTIONHEADING_COURSEDEFAULT
(#43) Missing docblock for constant format_topicsactivitycards::SECTIONHEADING_HEADER
(#44) Missing docblock for constant format_topicsactivitycards::SECTIONHEADING_LINKEDCARD
(#46) Missing docblock for constant format_topicsactivitycards::VIEWBUTTON_COURSEDEFAULT
(#47) Missing docblock for constant format_topicsactivitycards::VIEWBUTTON_ACTIVITYNAME
(#48) Missing docblock for constant format_topicsactivitycards::VIEWBUTTON_BUTTON
(#49) Missing docblock for constant format_topicsactivitycards::SECTIONHEADING_CARD_WITHCONTENTS
(#51) Missing docblock for constant format_topicsactivitycards::PAGELAYOUT_FIXEDWIDTH
(#52) Missing docblock for constant format_topicsactivitycards::PAGELAYOUT_FULLWIDTH
(#54) Missing docblock for function page_set_course
(#64) Missing docblock for function course_header
(#84) Missing docblock for function course_format_options
(#126) Line exceeds 132 characters; contains 133 characters
(#127) Line exceeds 132 characters; contains 147 characters
(#239) Missing docblock for function section_format_options
(#252) Line exceeds 132 characters; contains 139 characters
(#387) Missing docblock for function create_edit_form_elements
(#408) Line exceeds maximum limit of 180 characters; contains 185 characters
(#420) Line exceeds 132 characters; contains 171 characters
(#431) Missing docblock for function update_course_format_options
(#435) Line exceeds 132 characters; contains 149 characters
(#444) Missing docblock for function update_section_format_options
(#461) Line exceeds 132 characters; contains 152 characters
(#470) Missing docblock for function get_view_url
(#498) Missing docblock for function uses_sections
(#502) Missing docblock for function get_best_editing_context
(#515) No one-line description found in phpdocs for docblock of function texteditoroptions
(#525) Missing docblock for function uses_indentation
(#543) Missing member variable doc comment
(#545) Missing docblock for function get_cm_metadatas
(#557) Expected "foreach (...) {\n"; found "foreach (...){\n"
(#580) Missing member variable doc comment
(#582) Missing docblock for function get_cm_cardimages
(#607) Missing member variable doc comment
(#609) Missing docblock for function get_section_cardimages
(#617) Line exceeds 132 characters; contains 176 characters
(#635) Missing docblock for function get_area_files
(#664) Missing docblock for function instance_sql_fields
(#675) Inline comments must start with a capital letter, digit or 3-dots sequence
(#689) Missing docblock for function normalise_render_width
(#696) Missing docblock for function get_format_options
(#714) Missing member variable doc comment
(#716) Missing docblock for function get_tactags
(#788) No one-line description found in phpdocs for docblock of function get_fontawesome_icon_options
(#818) Missing docblock for function format_topicsactivitycards_cardbackgroundimage_filemanageroptions
(#828) Missing docblock for function format_topicsactivitycards_showcoursemoduleelements
(#884) Line exceeds 132 characters; contains 145 characters
(#889) Line exceeds 132 characters; contains 167 characters
(#892) Line exceeds 132 characters; contains 134 characters
(#910) Line exceeds 132 characters; contains 149 characters
(#913) Line exceeds 132 characters; contains 172 characters
(#919) Line exceeds 132 characters; contains 154 characters
(#928) Missing docblock for function format_topicsactivitycards_coursemodule_edit_post_actions
(#991) Missing docblock for function format_topicsactivitycards_coursemodule_validation
(#1009) Missing docblock for function format_topicsactivitycards_pluginfile
course/format/topicsactivitycards/tests/fixtures/overridde_testing_data_generator.php
(#21) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#22) Missing @copyright tag
(#22) Missing @license tag
(#22) Missing docblock for class overridde_testing_data_generator
(#23) Missing docblock for function create_course
(#23) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $options.
course/format/topicsactivitycards/tests/format_topicsactivitycards_test.php
(#1) No one-line description found in phpdocs for docblock of file format_topicsactivitycards_test.php
(#41) Missing docblock for class format_topicsactivitycards_test
(#43) Missing member variable doc comment
(#46) Docblock tag "@static" is not recommended.
(#63) Test method test_get_default_section_name() is missing any coverage information, own or at class level
(#94) Test method test_update_inplace_editable() is missing any coverage information, own or at class level
(#118) Line exceeds 132 characters; contains 134 characters
(#129) Test method test_inplace_editable() is missing any coverage information, own or at class level
(#143) Line exceeds 132 characters; contains 135 characters
course/format/topicsactivitycards/version.php
(#1) No one-line description found in phpdocs for docblock of file version.php

Javascript coding style problems

(0 errors, 6 warnings)

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

course/format/topicsactivitycards/amd/src/tactags.js
(#24) Unexpected space before function parentheses. (space-before-function-paren)
(#26) Unexpected space before function parentheses. (space-before-function-paren)
(#27) Unexpected space before function parentheses. (space-before-function-paren)
(#37) Expected space or tab after '//' in comment. (spaced-comment)
(#39) Expected space or tab after '//' in comment. (spaced-comment)
(#43) Expected space or tab after '//' in comment. (spaced-comment)

CSS problems

(404 errors, 11 warnings)

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

course/format/topicsactivitycards/styles.css
(#162) Expected "#83C55B" to be "#83c55b" (color-hex-case)
(#474) Expected "#83C55B" to be "#83c55b" (color-hex-case)
(#477) Expected "#83C55B" to be "#83c55b" (color-hex-case)
(#4) Unexpected !important (declaration-no-important)
(#11) Unexpected !important (declaration-no-important)
(#27) Unexpected !important (declaration-no-important)
(#34) Unexpected !important (declaration-no-important)
(#68) Unexpected !important (declaration-no-important)
(#71) Unexpected !important (declaration-no-important)
(#76) Unexpected !important (declaration-no-important)
(#79) Unexpected !important (declaration-no-important)
(#104) Unexpected !important (declaration-no-important)
(#468) Unexpected unit (length-zero-no-unit)
(#40) Expected line length to be no more than 132 characters (max-line-length)
(#43) Expected line length to be no more than 132 characters (max-line-length)
(#49) Expected line length to be no more than 132 characters (max-line-length)
(#60) Expected line length to be no more than 132 characters (max-line-length)
(#67) Expected line length to be no more than 132 characters (max-line-length)
(#70) Expected line length to be no more than 132 characters (max-line-length)
(#4) Expected indentation of 4 spaces (indentation)
(#8) Expected indentation of 4 spaces (indentation)
(#11) Expected indentation of 4 spaces (indentation)
(#12) Expected indentation of 4 spaces (indentation)
(#15) Expected indentation of 4 spaces (indentation)
(#16) Expected indentation of 4 spaces (indentation)
(#19) Expected indentation of 4 spaces (indentation)
(#22) Expected indentation of 4 spaces (indentation)
(#23) Expected indentation of 4 spaces (indentation)
(#24) Expected indentation of 4 spaces (indentation)
(#27) Expected indentation of 4 spaces (indentation)
(#28) Expected indentation of 4 spaces (indentation)
(#31) Expected indentation of 4 spaces (indentation)
(#34) Expected indentation of 4 spaces (indentation)
(#35) Expected indentation of 4 spaces (indentation)
(#38) Expected indentation of 4 spaces (indentation)
(#41) Expected indentation of 4 spaces (indentation)
(#44) Expected indentation of 4 spaces (indentation)
(#45) Expected indentation of 4 spaces (indentation)
(#46) Expected indentation of 4 spaces (indentation)
(#47) Expected indentation of 4 spaces (indentation)
(#50) Expected indentation of 4 spaces (indentation)
(#53) Expected indentation of 4 spaces (indentation)
(#54) Expected indentation of 4 spaces (indentation)
(#57) Expected indentation of 4 spaces (indentation)
(#58) Expected indentation of 4 spaces (indentation)
(#61) Expected indentation of 4 spaces (indentation)
(#64) Expected indentation of 4 spaces (indentation)
(#65) Expected indentation of 4 spaces (indentation)
(#68) Expected indentation of 4 spaces (indentation)
(#71) Expected indentation of 4 spaces (indentation)
(#74) Expected indentation of 4 spaces (indentation)
(#75) Expected indentation of 4 spaces (indentation)
(#76) Expected indentation of 4 spaces (indentation)
(#79) Expected indentation of 4 spaces (indentation)
(#80) Expected indentation of 4 spaces (indentation)
(#83) Expected indentation of 4 spaces (indentation)
(#84) Expected indentation of 4 spaces (indentation)
(#88) Expected indentation of 4 spaces (indentation)
(#89) Expected indentation of 4 spaces (indentation)
(#90) Expected indentation of 4 spaces (indentation)
(#91) Expected indentation of 4 spaces (indentation)
(#92) Expected indentation of 4 spaces (indentation)
(#93) Expected indentation of 4 spaces (indentation)
(#96) Expected indentation of 4 spaces (indentation)
(#97) Expected indentation of 4 spaces (indentation)
(#100) Expected indentation of 4 spaces (indentation)
(#101) Expected indentation of 4 spaces (indentation)
(#104) Expected indentation of 4 spaces (indentation)
(#105) Expected indentation of 4 spaces (indentation)
(#106) Expected indentation of 4 spaces (indentation)
(#107) Expected indentation of 4 spaces (indentation)
(#108) Expected indentation of 4 spaces (indentation)
(#109) Expected indentation of 4 spaces (indentation)
(#112) Expected indentation of 4 spaces (indentation)
(#113) Expected indentation of 4 spaces (indentation)
(#116) Expected indentation of 4 spaces (indentation)
(#119) Expected indentation of 4 spaces (indentation)
(#120) Expected indentation of 4 spaces (indentation)
(#121) Expected indentation of 4 spaces (indentation)
(#125) Expected indentation of 4 spaces (indentation)
(#126) Expected indentation of 4 spaces (indentation)
(#129) Expected indentation of 4 spaces (indentation)
(#130) Expected indentation of 4 spaces (indentation)
(#133) Expected indentation of 4 spaces (indentation)
(#134) Expected indentation of 4 spaces (indentation)
(#135) Expected indentation of 4 spaces (indentation)
(#136) Expected indentation of 4 spaces (indentation)
(#137) Expected indentation of 4 spaces (indentation)
(#138) Expected indentation of 4 spaces (indentation)
(#139) Expected indentation of 4 spaces (indentation)
(#142) Expected indentation of 4 spaces (indentation)
(#143) Expected indentation of 4 spaces (indentation)
(#144) Expected indentation of 4 spaces (indentation)
(#145) Expected indentation of 4 spaces (indentation)
(#146) Expected indentation of 4 spaces (indentation)
(#149) Expected indentation of 4 spaces (indentation)
(#152) Expected indentation of 4 spaces (indentation)
(#153) Expected indentation of 4 spaces (indentation)
(#156) Expected indentation of 4 spaces (indentation)
(#157) Expected indentation of 4 spaces (indentation)
(#158) Expected indentation of 4 spaces (indentation)
(#161) Expected indentation of 4 spaces (indentation)
(#162) Expected indentation of 4 spaces (indentation)
(#163) Expected indentation of 4 spaces (indentation)
(#164) Expected indentation of 4 spaces (indentation)
(#165) Expected indentation of 4 spaces (indentation)
(#166) Expected indentation of 4 spaces (indentation)
(#167) Expected indentation of 4 spaces (indentation)
(#168) Expected indentation of 4 spaces (indentation)
(#171) Expected indentation of 4 spaces (indentation)
(#174) Expected indentation of 4 spaces (indentation)
(#177) Expected indentation of 4 spaces (indentation)
(#180) Expected indentation of 4 spaces (indentation)
(#183) Expected indentation of 4 spaces (indentation)
(#186) Expected indentation of 4 spaces (indentation)
(#189) Expected indentation of 4 spaces (indentation)
(#192) Expected indentation of 4 spaces (indentation)
(#195) Expected indentation of 4 spaces (indentation)
(#198) Expected indentation of 4 spaces (indentation)
(#201) Expected indentation of 4 spaces (indentation)
(#204) Expected indentation of 4 spaces (indentation)
(#207) Expected indentation of 4 spaces (indentation)
(#210) Expected indentation of 4 spaces (indentation)
(#213) Expected indentation of 4 spaces (indentation)
(#216) Expected indentation of 4 spaces (indentation)
(#219) Expected indentation of 4 spaces (indentation)
(#222) Expected indentation of 4 spaces (indentation)
(#225) Expected indentation of 4 spaces (indentation)
(#228) Expected indentation of 4 spaces (indentation)
(#231) Expected indentation of 4 spaces (indentation)
(#234) Expected indentation of 4 spaces (indentation)
(#237) Expected indentation of 4 spaces (indentation)
(#240) Expected indentation of 4 spaces (indentation)
(#243) Expected indentation of 4 spaces (indentation)
(#246) Expected indentation of 4 spaces (indentation)
(#249) Expected indentation of 4 spaces (indentation)
(#252) Expected indentation of 4 spaces (indentation)
(#255) Expected indentation of 4 spaces (indentation)
(#258) Expected indentation of 4 spaces (indentation)
(#261) Expected indentation of 4 spaces (indentation)
(#264) Expected indentation of 4 spaces (indentation)
(#267) Expected indentation of 4 spaces (indentation)
(#270) Expected indentation of 4 spaces (indentation)
(#273) Expected indentation of 4 spaces (indentation)
(#276) Expected indentation of 4 spaces (indentation)
(#279) Expected indentation of 4 spaces (indentation)
(#282) Expected indentation of 4 spaces (indentation)
(#285) Expected indentation of 4 spaces (indentation)
(#288) Expected indentation of 4 spaces (indentation)
(#291) Expected indentation of 4 spaces (indentation)
(#294) Expected indentation of 4 spaces (indentation)
(#297) Expected indentation of 4 spaces (indentation)
(#300) Expected indentation of 4 spaces (indentation)
(#303) Expected indentation of 4 spaces (indentation)
(#306) Expected indentation of 4 spaces (indentation)
(#309) Expected indentation of 4 spaces (indentation)
(#312) Expected indentation of 4 spaces (indentation)
(#315) Expected indentation of 4 spaces (indentation)
(#318) Expected indentation of 4 spaces (indentation)
(#321) Expected indentation of 4 spaces (indentation)
(#324) Expected indentation of 4 spaces (indentation)
(#327) Expected indentation of 4 spaces (indentation)
(#330) Expected indentation of 4 spaces (indentation)
(#333) Expected indentation of 4 spaces (indentation)
(#336) Expected indentation of 4 spaces (indentation)
(#339) Expected indentation of 4 spaces (indentation)
(#342) Expected indentation of 4 spaces (indentation)
(#345) Expected indentation of 4 spaces (indentation)
(#348) Expected indentation of 4 spaces (indentation)
(#351) Expected indentation of 4 spaces (indentation)
(#354) Expected indentation of 4 spaces (indentation)
(#357) Expected indentation of 4 spaces (indentation)
(#360) Expected indentation of 4 spaces (indentation)
(#363) Expected indentation of 4 spaces (indentation)
(#366) Expected indentation of 4 spaces (indentation)
(#369) Expected indentation of 4 spaces (indentation)
(#372) Expected indentation of 4 spaces (indentation)
(#375) Expected indentation of 4 spaces (indentation)
(#378) Expected indentation of 4 spaces (indentation)
(#381) Expected indentation of 4 spaces (indentation)
(#384) Expected indentation of 4 spaces (indentation)
(#387) Expected indentation of 4 spaces (indentation)
(#390) Expected indentation of 4 spaces (indentation)
(#393) Expected indentation of 4 spaces (indentation)
(#396) Expected indentation of 4 spaces (indentation)
(#399) Expected indentation of 4 spaces (indentation)
(#402) Expected indentation of 4 spaces (indentation)
(#405) Expected indentation of 4 spaces (indentation)
(#408) Expected indentation of 4 spaces (indentation)
(#411) Expected indentation of 4 spaces (indentation)
(#414) Expected indentation of 4 spaces (indentation)
(#417) Expected indentation of 4 spaces (indentation)
(#420) Expected indentation of 4 spaces (indentation)
(#423) Expected indentation of 4 spaces (indentation)
(#426) Expected indentation of 4 spaces (indentation)
(#429) Expected indentation of 4 spaces (indentation)
(#432) Expected indentation of 4 spaces (indentation)
(#435) Expected indentation of 4 spaces (indentation)
(#438) Expected indentation of 4 spaces (indentation)
(#441) Expected indentation of 4 spaces (indentation)
(#444) Expected indentation of 4 spaces (indentation)
(#447) Expected indentation of 4 spaces (indentation)
(#450) Expected indentation of 4 spaces (indentation)
(#453) Expected indentation of 4 spaces (indentation)
(#456) Expected indentation of 4 spaces (indentation)
(#459) Expected indentation of 4 spaces (indentation)
(#462) Expected indentation of 4 spaces (indentation)
(#465) Expected indentation of 4 spaces (indentation)
(#468) Expected indentation of 4 spaces (indentation)
(#471) Expected indentation of 4 spaces (indentation)
(#474) Expected indentation of 4 spaces (indentation)
(#477) Expected indentation of 4 spaces (indentation)
course/format/topicsactivitycards/scss/styles.scss
(#163) Expected "#83C55B" to be "#83c55b" (color-hex-case)
(#5) Unexpected !important (declaration-no-important)
(#15) Unexpected !important (declaration-no-important)
(#36) Unexpected !important (declaration-no-important)
(#45) Unexpected !important (declaration-no-important)
(#88) Unexpected !important (declaration-no-important)
(#92) Unexpected !important (declaration-no-important)
(#98) Unexpected !important (declaration-no-important)
(#102) Unexpected !important (declaration-no-important)
(#135) Unexpected !important (declaration-no-important)
(#2) Expected indentation of 4 spaces (indentation)
(#6) Expected indentation of 4 spaces (indentation)
(#3) Expected indentation of 4 spaces (indentation)
(#4) Expected indentation of 4 spaces (indentation)
(#5) Expected indentation of 8 spaces (indentation)
(#10) Expected indentation of 4 spaces (indentation)
(#12) Expected indentation of 4 spaces (indentation)
(#11) Expected indentation of 8 spaces (indentation)
(#14) Expected indentation of 4 spaces (indentation)
(#158) Expected indentation of 4 spaces (indentation)
(#15) Expected indentation of 8 spaces (indentation)
(#16) Expected indentation of 8 spaces (indentation)
(#18) Expected indentation of 8 spaces (indentation)
(#27) Expected indentation of 8 spaces (indentation)
(#19) Expected indentation of 12 spaces (indentation)
(#22) Expected indentation of 12 spaces (indentation)
(#20) Expected indentation of 16 spaces (indentation)
(#21) Expected indentation of 16 spaces (indentation)
(#24) Expected indentation of 12 spaces (indentation)
(#26) Expected indentation of 12 spaces (indentation)
(#25) Expected indentation of 16 spaces (indentation)
(#29) Expected indentation of 8 spaces (indentation)
(#33) Expected indentation of 8 spaces (indentation)
(#30) Expected indentation of 12 spaces (indentation)
(#31) Expected indentation of 12 spaces (indentation)
(#32) Expected indentation of 12 spaces (indentation)
(#35) Expected indentation of 8 spaces (indentation)
(#38) Expected indentation of 8 spaces (indentation)
(#36) Expected indentation of 12 spaces (indentation)
(#37) Expected indentation of 12 spaces (indentation)
(#40) Expected indentation of 8 spaces (indentation)
(#42) Expected indentation of 8 spaces (indentation)
(#41) Expected indentation of 12 spaces (indentation)
(#44) Expected indentation of 8 spaces (indentation)
(#76) Expected indentation of 8 spaces (indentation)
(#45) Expected indentation of 12 spaces (indentation)
(#46) Expected indentation of 12 spaces (indentation)
(#48) Expected indentation of 12 spaces (indentation)
(#54) Expected indentation of 12 spaces (indentation)
(#49) Expected indentation of 16 spaces (indentation)
(#51) Expected indentation of 16 spaces (indentation)
(#53) Expected indentation of 16 spaces (indentation)
(#52) Expected indentation of 20 spaces (indentation)
(#56) Expected indentation of 12 spaces (indentation)
(#61) Expected indentation of 12 spaces (indentation)
(#57) Expected indentation of 16 spaces (indentation)
(#58) Expected indentation of 16 spaces (indentation)
(#59) Expected indentation of 16 spaces (indentation)
(#60) Expected indentation of 16 spaces (indentation)
(#63) Expected indentation of 12 spaces (indentation)
(#65) Expected indentation of 12 spaces (indentation)
(#64) Expected indentation of 16 spaces (indentation)
(#67) Expected indentation of 12 spaces (indentation)
(#70) Expected indentation of 12 spaces (indentation)
(#68) Expected indentation of 16 spaces (indentation)
(#69) Expected indentation of 16 spaces (indentation)
(#72) Expected indentation of 12 spaces (indentation)
(#75) Expected indentation of 12 spaces (indentation)
(#73) Expected indentation of 16 spaces (indentation)
(#74) Expected indentation of 16 spaces (indentation)
(#77) Expected indentation of 8 spaces (indentation)
(#79) Expected indentation of 8 spaces (indentation)
(#78) Expected indentation of 12 spaces (indentation)
(#81) Expected indentation of 8 spaces (indentation)
(#105) Expected indentation of 8 spaces (indentation)
(#82) Expected indentation of 12 spaces (indentation)
(#85) Expected indentation of 12 spaces (indentation)
(#83) Expected indentation of 16 spaces (indentation)
(#84) Expected indentation of 16 spaces (indentation)
(#87) Expected indentation of 12 spaces (indentation)
(#89) Expected indentation of 12 spaces (indentation)
(#88) Expected indentation of 16 spaces (indentation)
(#91) Expected indentation of 12 spaces (indentation)
(#93) Expected indentation of 12 spaces (indentation)
(#92) Expected indentation of 16 spaces (indentation)
(#95) Expected indentation of 12 spaces (indentation)
(#99) Expected indentation of 12 spaces (indentation)
(#96) Expected indentation of 16 spaces (indentation)
(#97) Expected indentation of 16 spaces (indentation)
(#98) Expected indentation of 16 spaces (indentation)
(#101) Expected indentation of 12 spaces (indentation)
(#104) Expected indentation of 12 spaces (indentation)
(#102) Expected indentation of 16 spaces (indentation)
(#103) Expected indentation of 16 spaces (indentation)
(#107) Expected indentation of 8 spaces (indentation)
(#110) Expected indentation of 8 spaces (indentation)
(#108) Expected indentation of 12 spaces (indentation)
(#109) Expected indentation of 12 spaces (indentation)
(#112) Expected indentation of 8 spaces (indentation)
(#120) Expected indentation of 8 spaces (indentation)
(#113) Expected indentation of 8 spaces (indentation)
(#114) Expected indentation of 12 spaces (indentation)
(#115) Expected indentation of 12 spaces (indentation)
(#116) Expected indentation of 12 spaces (indentation)
(#117) Expected indentation of 12 spaces (indentation)
(#118) Expected indentation of 12 spaces (indentation)
(#119) Expected indentation of 12 spaces (indentation)
(#122) Expected indentation of 8 spaces (indentation)
(#132) Expected indentation of 8 spaces (indentation)
(#123) Expected indentation of 12 spaces (indentation)
(#126) Expected indentation of 12 spaces (indentation)
(#124) Expected indentation of 16 spaces (indentation)
(#125) Expected indentation of 16 spaces (indentation)
(#128) Expected indentation of 12 spaces (indentation)
(#131) Expected indentation of 12 spaces (indentation)
(#129) Expected indentation of 16 spaces (indentation)
(#130) Expected indentation of 16 spaces (indentation)
(#134) Expected indentation of 8 spaces (indentation)
(#156) Expected indentation of 8 spaces (indentation)
(#135) Expected indentation of 12 spaces (indentation)
(#136) Expected indentation of 12 spaces (indentation)
(#137) Expected indentation of 12 spaces (indentation)
(#138) Expected indentation of 12 spaces (indentation)
(#139) Expected indentation of 12 spaces (indentation)
(#140) Expected indentation of 12 spaces (indentation)
(#142) Expected indentation of 12 spaces (indentation)
(#145) Expected indentation of 12 spaces (indentation)
(#143) Expected indentation of 16 spaces (indentation)
(#144) Expected indentation of 16 spaces (indentation)
(#147) Expected indentation of 12 spaces (indentation)
(#149) Expected indentation of 12 spaces (indentation)
(#148) Expected indentation of 16 spaces (indentation)
(#151) Expected indentation of 12 spaces (indentation)
(#155) Expected indentation of 12 spaces (indentation)
(#152) Expected indentation of 16 spaces (indentation)
(#153) Expected indentation of 16 spaces (indentation)
(#154) Expected indentation of 16 spaces (indentation)
(#172) Expected indentation of 4 spaces (indentation)
(#181) Expected indentation of 4 spaces (indentation)
(#182) Expected indentation of 4 spaces (indentation)
(#184) Expected indentation of 4 spaces (indentation)
(#256) Expected indentation of 4 spaces (indentation)
(#185) Expected indentation of 8 spaces (indentation)
(#186) Expected indentation of 8 spaces (indentation)
(#188) Expected indentation of 8 spaces (indentation)
(#196) Expected indentation of 8 spaces (indentation)
(#189) Expected indentation of 12 spaces (indentation)
(#190) Expected indentation of 12 spaces (indentation)
(#191) Expected indentation of 12 spaces (indentation)
(#192) Expected indentation of 12 spaces (indentation)
(#193) Expected indentation of 12 spaces (indentation)
(#194) Expected indentation of 12 spaces (indentation)
(#195) Expected indentation of 12 spaces (indentation)
(#198) Expected indentation of 8 spaces (indentation)
(#208) Expected indentation of 8 spaces (indentation)
(#199) Expected indentation of 12 spaces (indentation)
(#200) Expected indentation of 12 spaces (indentation)
(#201) Expected indentation of 12 spaces (indentation)
(#202) Expected indentation of 12 spaces (indentation)
(#203) Expected indentation of 12 spaces (indentation)
(#205) Expected indentation of 12 spaces (indentation)
(#207) Expected indentation of 12 spaces (indentation)
(#206) Expected indentation of 16 spaces (indentation)
(#210) Expected indentation of 8 spaces (indentation)
(#241) Expected indentation of 8 spaces (indentation)
(#211) Expected indentation of 12 spaces (indentation)
(#212) Expected indentation of 12 spaces (indentation)
(#214) Expected indentation of 12 spaces (indentation)
(#240) Expected indentation of 12 spaces (indentation)
(#215) Expected indentation of 16 spaces (indentation)
(#216) Expected indentation of 16 spaces (indentation)
(#217) Expected indentation of 16 spaces (indentation)
(#219) Expected indentation of 16 spaces (indentation)
(#239) Expected indentation of 16 spaces (indentation)
(#220) Expected indentation of 20 spaces (indentation)
(#221) Expected indentation of 20 spaces (indentation)
(#222) Expected indentation of 20 spaces (indentation)
(#223) Expected indentation of 20 spaces (indentation)
(#224) Expected indentation of 20 spaces (indentation)
(#225) Expected indentation of 20 spaces (indentation)
(#226) Expected indentation of 20 spaces (indentation)
(#227) Expected indentation of 20 spaces (indentation)
(#229) Expected indentation of 20 spaces (indentation)
(#233) Expected indentation of 20 spaces (indentation)
(#230) Expected indentation of 24 spaces (indentation)
(#232) Expected indentation of 24 spaces (indentation)
(#231) Expected indentation of 28 spaces (indentation)
(#235) Expected indentation of 20 spaces (indentation)
(#236) Expected indentation of 20 spaces (indentation)
(#238) Expected indentation of 20 spaces (indentation)
(#237) Expected indentation of 24 spaces (indentation)
(#243) Expected indentation of 8 spaces (indentation)
(#255) Expected indentation of 8 spaces (indentation)
(#244) Expected indentation of 12 spaces (indentation)
(#250) Expected indentation of 12 spaces (indentation)
(#245) Expected indentation of 16 spaces (indentation)
(#249) Expected indentation of 16 spaces (indentation)
(#246) Expected indentation of 20 spaces (indentation)
(#248) Expected indentation of 20 spaces (indentation)
(#247) Expected indentation of 24 spaces (indentation)
(#252) Expected indentation of 12 spaces (indentation)
(#254) Expected indentation of 12 spaces (indentation)
(#253) Expected indentation of 16 spaces (indentation)

PHPDocs style problems

(2 errors, 0 warnings)

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

course/format/topicsactivitycards/backup/moodle2/restore_format_topicsactivitycards_plugin.class.php
(#78) Phpdocs for function restore_format_topicsactivitycards_plugin::process_metadata has incomplete parameters list
course/format/topicsactivitycards/classes/output/courseformat/content.php
(#33) Phpdocs for function content::get_template_name has incomplete parameters list

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 "gherkinlint" 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, 8 warnings)

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

course/format/topicsactivitycards/templates/coursehomeheader.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 2: Element “style” not allowed as child of element “body” in this context. (Suppressing further errors from this subtree.) (ad><body><style> d)
(#1) HTML Validation info, line 18: Empty heading. ( <h1 class="h2"></h1>)
course/format/topicsactivitycards/templates/local/content.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation info, line 3: Empty heading. (qid"> <h2 class="accesshide"></h2>)
(#1) ESLint warning [space-in-parens]: There should be no space before this paren. ( component.init('#page', {}, );
course/format/topicsactivitycards/templates/local/content/section.mustache
(#1) HTML Validation error, line 17: Element “li” not allowed as child of element “body” in this context. (Suppressing further errors from this subtree.) (ad><body><li id="section-3" class="section course-section main p-3 m-0 clearfix tactaggable current col-12 pull-left " data-sectionid="3" data-sectionreturnnum="" data-for="section" data-id="35" data-number="3" data-sectionname="" > <)
course/format/topicsactivitycards/templates/local/content/section/cmitem.mustache
(#1) HTML Validation error, line 9: Element “li” not allowed as child of element “body” in this context. (Suppressing further errors from this subtree.) (d><body><li class="activity activity-wrapper tac-container forum modtype_forum newmessages tactaggable " id="module-3" data-for="cmitem" data-id="3"> )
course/format/topicsactivitycards/templates/lozenges.mustache
(#1) Example context missing (@template section not found.)
course/format/topicsactivitycards/templates/progress_doughnut.mustache
(#1) Example context missing (@template section not found.)

Gherkin .feature problems

(1 errors, 0 warnings)

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

course/format/topicsactivitycards/tests/behat/edit_delete_sections.feature
(#2) Feature name is already used in: course/format/topics/tests/behat/edit_delete_sections.feature