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

(89 errors, 52 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/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
(#36) Missing docblock for class section
(#38) Missing docblock for function export_for_template
(#91) Line exceeds 132 characters; contains 149 characters
(#108) Line exceeds 132 characters; contains 134 characters
(#111) Inline comments must start with a capital letter, digit or 3-dots sequence
(#119) Missing docblock for function add_cm_data
(#161) 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
(#70) Inline comments must start with a capital letter, digit or 3-dots sequence
(#84) Line exceeds 132 characters; contains 134 characters
(#121) 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
(#31) Missing docblock for class header
(#32) 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
(#30) Missing docblock for class renderer
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
(#38) The string key "hidetitle" is not in the correct order, it should be before "showfromothers"
(#41) The string key "cardimage" is not in the correct order, it should be before "returntocourse"
(#44) The string key "cardimagedescription" is not in the correct order, it should be before "duration"
(#45) The string key "additionalcssclasses" is not in the correct order, it should be before "cardimagedescription"
(#47) The string key "cleanandtruncatedescription" is not in the correct order, it should be before "invalidcss"
(#49) The string key "overlaycardimage" is not in the correct order, it should be before "renderwidth"
(#53) The string key "activitydescription" is not in the correct order, it should be before "sectionlayout_list"
(#55) The string key "cardfooter" is not in the correct order, it should be before "overridesectionsummary"
(#60) The string key "sectionheading_card_withcontents" is not in the correct order, it should be before "sectionheading_linkedcard"
(#62) The string key "fixedwidth" is not in the correct order, it should be before "sectionheading_card_withcontents"
(#65) The string key "collapsible" is duplicated
(#66) The string key "collapsedefault" is not in the correct order, it should be before "overridefixedwidthcoursepage"
(#70) The string key "coursedefault" is not in the correct order, it should be before "defaultsectionlayout"
(#73) The string key "done" is not in the correct order, it should be before "section0_onsectionpageslabel"
(#75) The string key "failed" is not in the correct order, it should be before "todo"
(#79) The string key "tactags" is not in the correct order, it should be before "tactagsheader"
(#82) The string key "view" is not in the correct order, it should be before "viewbutton"
(#83) The string key "completed" is not in the correct order, it should be before "view"
course/format/topicsactivitycards/lib.php
(#1) No one-line description found in phpdocs for docblock of file lib.php
(#33) Missing docblock for class format_topicsactivitycards
(#34) Missing docblock for constant format_topicsactivitycards::SECTIONLAYOUT_COURSEDEFAULT
(#35) Missing docblock for constant format_topicsactivitycards::SECTIONLAYOUT_CARDS
(#36) Missing docblock for constant format_topicsactivitycards::SECTIONLAYOUT_LIST
(#38) Missing docblock for constant format_topicsactivitycards::SECTIONHEADING_COURSEDEFAULT
(#39) Missing docblock for constant format_topicsactivitycards::SECTIONHEADING_HEADER
(#40) Missing docblock for constant format_topicsactivitycards::SECTIONHEADING_LINKEDCARD
(#41) Missing docblock for constant format_topicsactivitycards::SECTIONHEADING_CARD_WITHCONTENTS
(#43) Missing docblock for constant format_topicsactivitycards::PAGELAYOUT_FIXEDWIDTH
(#44) Missing docblock for constant format_topicsactivitycards::PAGELAYOUT_FULLWIDTH
(#46) Missing docblock for function page_set_course
(#49) Variable "format_options" must not contain underscores.
(#51) Variable "format_options" must not contain underscores.
(#56) Missing docblock for function course_header
(#60) Expected "if (...) {\n"; found "if (...)\n {\n"
(#62) Variable "format_options" must not contain underscores.
(#73) Missing docblock for function course_format_options
(#108) Line exceeds 132 characters; contains 133 characters
(#109) Line exceeds 132 characters; contains 147 characters
(#192) Missing docblock for function section_format_options
(#205) Line exceeds 132 characters; contains 139 characters
(#333) Missing docblock for function create_edit_form_elements
(#354) Line exceeds maximum limit of 180 characters; contains 185 characters
(#366) Line exceeds 132 characters; contains 171 characters
(#377) Missing docblock for function update_course_format_options
(#381) Line exceeds 132 characters; contains 149 characters
(#390) Missing docblock for function update_section_format_options
(#407) Line exceeds 132 characters; contains 152 characters
(#416) Missing docblock for function get_view_url
(#442) Missing docblock for function uses_sections
(#446) Missing docblock for function get_best_editing_context
(#459) No one-line description found in phpdocs for docblock of function texteditoroptions
(#469) Missing docblock for function uses_indentation
(#487) Missing member variable doc comment
(#489) Missing docblock for function get_cm_metadatas
(#509) Missing member variable doc comment
(#511) Missing docblock for function get_cm_cardimages
(#536) Missing member variable doc comment
(#538) Missing docblock for function get_section_cardimages
(#546) Line exceeds 132 characters; contains 176 characters
(#564) Missing docblock for function get_area_files
(#593) Missing docblock for function instance_sql_fields
(#604) Inline comments must start with a capital letter, digit or 3-dots sequence
(#618) Missing docblock for function normalise_render_width
(#625) Missing docblock for function get_format_options
(#643) Missing member variable doc comment
(#645) Missing docblock for function get_tactags
(#716) No one-line description found in phpdocs for docblock of function get_fontawesome_icon_options
(#746) Missing docblock for function format_topicsactivitycards_cardbackgroundimage_filemanageroptions
(#756) Missing docblock for function format_topicsactivitycards_showcoursemoduleelements
(#812) Line exceeds 132 characters; contains 145 characters
(#817) Line exceeds 132 characters; contains 167 characters
(#832) Line exceeds 132 characters; contains 149 characters
(#835) Line exceeds 132 characters; contains 172 characters
(#841) Line exceeds 132 characters; contains 154 characters
(#850) Missing docblock for function format_topicsactivitycards_coursemodule_edit_post_actions
(#903) Missing docblock for function format_topicsactivitycards_coursemodule_validation
(#921) Missing docblock for function format_topicsactivitycards_pluginfile
course/format/topicsactivitycards/tests/fixtures/overridde_testing_data_generator.php
(#1) Moodle boilerplate not found
(#7) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#8) Missing @copyright tag
(#8) Missing @license tag
(#8) Missing docblock for class overridde_testing_data_generator
(#9) Missing docblock for function create_course
(#9) 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
(#40) Unit test format_topicsactivitycards_test should be declared as final.
(#40) Missing docblock for class format_topicsactivitycards_test
(#42) Missing member variable doc comment
(#45) Docblock tag "@static" is not recommended.
(#62) Test method test_get_default_section_name() is missing any coverage information, own or at class level
(#62) Test method test_get_default_section_name() is missing a return type
(#93) Test method test_update_inplace_editable() is missing any coverage information, own or at class level
(#93) Test method test_update_inplace_editable() is missing a return type
(#117) Line exceeds 132 characters; contains 134 characters
(#128) Test method test_inplace_editable() is missing any coverage information, own or at class level
(#128) Test method test_inplace_editable() is missing a return type
(#142) 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

(1 errors, 15 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)
course/format/topicsactivitycards/format.js
(#19) Identifier 'get_config' is not in camel case. (camelcase)
(#21) Identifier 'container_node' is not in camel case. (camelcase)
(#21) Extra space after key 'container_node'. (key-spacing)
(#22) Identifier 'container_class' is not in camel case. (camelcase)
(#22) Extra space after key 'container_class'. (key-spacing)
(#23) Identifier 'section_node' is not in camel case. (camelcase)
(#23) Extra space after key 'section_node'. (key-spacing)
(#24) Identifier 'section_class' is not in camel case. (camelcase)
(#24) Extra space after key 'section_class'. (key-spacing)
(#26) Missing semicolon. (semi)

CSS problems

(400 errors, 10 warnings)

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

course/format/topicsactivitycards/styles.css
(#2) Expected newline before "}" (block-closing-brace-newline-before)
(#7) Expected newline before "}" (block-closing-brace-newline-before)
(#10) Expected newline before "}" (block-closing-brace-newline-before)
(#14) Expected newline before "}" (block-closing-brace-newline-before)
(#23) Expected newline before "}" (block-closing-brace-newline-before)
(#32) Expected newline before "}" (block-closing-brace-newline-before)
(#35) Expected newline before "}" (block-closing-brace-newline-before)
(#39) Expected newline before "}" (block-closing-brace-newline-before)
(#44) Expected newline before "}" (block-closing-brace-newline-before)
(#48) Expected newline before "}" (block-closing-brace-newline-before)
(#52) Expected newline before "}" (block-closing-brace-newline-before)
(#57) Expected newline before "}" (block-closing-brace-newline-before)
(#60) Expected newline before "}" (block-closing-brace-newline-before)
(#63) Expected newline before "}" (block-closing-brace-newline-before)
(#68) Expected newline before "}" (block-closing-brace-newline-before)
(#73) Expected newline before "}" (block-closing-brace-newline-before)
(#76) Expected newline before "}" (block-closing-brace-newline-before)
(#78) Expected newline before "}" (block-closing-brace-newline-before)
(#84) Expected newline before "}" (block-closing-brace-newline-before)
(#87) Expected newline before "}" (block-closing-brace-newline-before)
(#91) Expected newline before "}" (block-closing-brace-newline-before)
(#95) Expected newline before "}" (block-closing-brace-newline-before)
(#98) Expected newline before "}" (block-closing-brace-newline-before)
(#103) Expected newline before "}" (block-closing-brace-newline-before)
(#143) Expected "#83C55B" to be "#83c55b" (color-hex-case)
(#455) Expected "#83C55B" to be "#83c55b" (color-hex-case)
(#458) Expected "#83C55B" to be "#83c55b" (color-hex-case)
(#6) Unexpected !important (declaration-no-important)
(#27) Unexpected !important (declaration-no-important)
(#60) Unexpected !important (declaration-no-important)
(#63) Unexpected !important (declaration-no-important)
(#68) Unexpected !important (declaration-no-important)
(#72) Unexpected !important (declaration-no-important)
(#103) Unexpected !important (declaration-no-important)
(#449) Unexpected unit (length-zero-no-unit)
(#59) Expected line length to be no more than 132 characters (max-line-length)
(#62) Expected line length to be no more than 132 characters (max-line-length)
(#77) Expected line length to be no more than 132 characters (max-line-length)
(#80) Expected line length to be no more than 132 characters (max-line-length)
(#86) Expected line length to be no more than 132 characters (max-line-length)
(#2) Expected indentation of 4 spaces (indentation)
(#6) Expected indentation of 4 spaces (indentation)
(#7) Expected indentation of 4 spaces (indentation)
(#10) Expected indentation of 4 spaces (indentation)
(#13) Expected indentation of 4 spaces (indentation)
(#14) Expected indentation of 4 spaces (indentation)
(#18) Expected indentation of 4 spaces (indentation)
(#19) Expected indentation of 4 spaces (indentation)
(#20) Expected indentation of 4 spaces (indentation)
(#21) Expected indentation of 4 spaces (indentation)
(#22) Expected indentation of 4 spaces (indentation)
(#23) Expected indentation of 4 spaces (indentation)
(#27) Expected indentation of 4 spaces (indentation)
(#28) Expected indentation of 4 spaces (indentation)
(#29) Expected indentation of 4 spaces (indentation)
(#30) Expected indentation of 4 spaces (indentation)
(#31) Expected indentation of 4 spaces (indentation)
(#32) Expected indentation of 4 spaces (indentation)
(#33) Expected indentation of 0 spaces (indentation)
(#34) Expected indentation of 0 spaces (indentation)
(#36) Expected indentation of 0 spaces (indentation)
(#37) Expected indentation of 0 spaces (indentation)
(#42) Expected indentation of 4 spaces (indentation)
(#43) Expected indentation of 4 spaces (indentation)
(#44) Expected indentation of 4 spaces (indentation)
(#47) Expected indentation of 4 spaces (indentation)
(#48) Expected indentation of 4 spaces (indentation)
(#51) Expected indentation of 4 spaces (indentation)
(#52) Expected indentation of 4 spaces (indentation)
(#55) Expected indentation of 4 spaces (indentation)
(#56) Expected indentation of 4 spaces (indentation)
(#57) Expected indentation of 4 spaces (indentation)
(#60) Expected indentation of 4 spaces (indentation)
(#63) Expected indentation of 4 spaces (indentation)
(#66) Expected indentation of 4 spaces (indentation)
(#67) Expected indentation of 4 spaces (indentation)
(#68) Expected indentation of 4 spaces (indentation)
(#72) Expected indentation of 4 spaces (indentation)
(#73) Expected indentation of 4 spaces (indentation)
(#76) Expected indentation of 4 spaces (indentation)
(#77) Expected indentation of 0 spaces (indentation)
(#81) Expected indentation of 4 spaces (indentation)
(#82) Expected indentation of 4 spaces (indentation)
(#83) Expected indentation of 4 spaces (indentation)
(#84) Expected indentation of 4 spaces (indentation)
(#87) Expected indentation of 4 spaces (indentation)
(#90) Expected indentation of 4 spaces (indentation)
(#91) Expected indentation of 4 spaces (indentation)
(#94) Expected indentation of 4 spaces (indentation)
(#95) Expected indentation of 4 spaces (indentation)
(#98) Expected indentation of 4 spaces (indentation)
(#103) Expected indentation of 4 spaces (indentation)
(#106) Expected indentation of 4 spaces (indentation)
(#107) Expected indentation of 4 spaces (indentation)
(#110) Expected indentation of 4 spaces (indentation)
(#111) Expected indentation of 4 spaces (indentation)
(#114) Expected indentation of 4 spaces (indentation)
(#115) Expected indentation of 4 spaces (indentation)
(#116) Expected indentation of 4 spaces (indentation)
(#117) Expected indentation of 4 spaces (indentation)
(#118) Expected indentation of 4 spaces (indentation)
(#119) Expected indentation of 4 spaces (indentation)
(#120) Expected indentation of 4 spaces (indentation)
(#123) Expected indentation of 4 spaces (indentation)
(#124) Expected indentation of 4 spaces (indentation)
(#125) Expected indentation of 4 spaces (indentation)
(#126) Expected indentation of 4 spaces (indentation)
(#127) 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)
(#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)
(#147) Expected indentation of 4 spaces (indentation)
(#148) Expected indentation of 4 spaces (indentation)
(#149) Expected indentation of 4 spaces (indentation)
(#152) Expected indentation of 4 spaces (indentation)
(#155) Expected indentation of 4 spaces (indentation)
(#158) Expected indentation of 4 spaces (indentation)
(#161) Expected indentation of 4 spaces (indentation)
(#164) Expected indentation of 4 spaces (indentation)
(#167) Expected indentation of 4 spaces (indentation)
(#170) Expected indentation of 4 spaces (indentation)
(#173) Expected indentation of 4 spaces (indentation)
(#176) Expected indentation of 4 spaces (indentation)
(#179) Expected indentation of 4 spaces (indentation)
(#182) Expected indentation of 4 spaces (indentation)
(#185) Expected indentation of 4 spaces (indentation)
(#188) Expected indentation of 4 spaces (indentation)
(#191) Expected indentation of 4 spaces (indentation)
(#194) Expected indentation of 4 spaces (indentation)
(#197) Expected indentation of 4 spaces (indentation)
(#200) Expected indentation of 4 spaces (indentation)
(#203) Expected indentation of 4 spaces (indentation)
(#206) Expected indentation of 4 spaces (indentation)
(#209) Expected indentation of 4 spaces (indentation)
(#212) Expected indentation of 4 spaces (indentation)
(#215) Expected indentation of 4 spaces (indentation)
(#218) Expected indentation of 4 spaces (indentation)
(#221) Expected indentation of 4 spaces (indentation)
(#224) Expected indentation of 4 spaces (indentation)
(#227) Expected indentation of 4 spaces (indentation)
(#230) Expected indentation of 4 spaces (indentation)
(#233) Expected indentation of 4 spaces (indentation)
(#236) Expected indentation of 4 spaces (indentation)
(#239) Expected indentation of 4 spaces (indentation)
(#242) Expected indentation of 4 spaces (indentation)
(#245) Expected indentation of 4 spaces (indentation)
(#248) Expected indentation of 4 spaces (indentation)
(#251) Expected indentation of 4 spaces (indentation)
(#254) Expected indentation of 4 spaces (indentation)
(#257) Expected indentation of 4 spaces (indentation)
(#260) Expected indentation of 4 spaces (indentation)
(#263) Expected indentation of 4 spaces (indentation)
(#266) Expected indentation of 4 spaces (indentation)
(#269) Expected indentation of 4 spaces (indentation)
(#272) Expected indentation of 4 spaces (indentation)
(#275) Expected indentation of 4 spaces (indentation)
(#278) Expected indentation of 4 spaces (indentation)
(#281) Expected indentation of 4 spaces (indentation)
(#284) Expected indentation of 4 spaces (indentation)
(#287) Expected indentation of 4 spaces (indentation)
(#290) Expected indentation of 4 spaces (indentation)
(#293) Expected indentation of 4 spaces (indentation)
(#296) Expected indentation of 4 spaces (indentation)
(#299) Expected indentation of 4 spaces (indentation)
(#302) Expected indentation of 4 spaces (indentation)
(#305) Expected indentation of 4 spaces (indentation)
(#308) Expected indentation of 4 spaces (indentation)
(#311) Expected indentation of 4 spaces (indentation)
(#314) Expected indentation of 4 spaces (indentation)
(#317) Expected indentation of 4 spaces (indentation)
(#320) Expected indentation of 4 spaces (indentation)
(#323) Expected indentation of 4 spaces (indentation)
(#326) Expected indentation of 4 spaces (indentation)
(#329) Expected indentation of 4 spaces (indentation)
(#332) Expected indentation of 4 spaces (indentation)
(#335) Expected indentation of 4 spaces (indentation)
(#338) Expected indentation of 4 spaces (indentation)
(#341) Expected indentation of 4 spaces (indentation)
(#344) Expected indentation of 4 spaces (indentation)
(#347) Expected indentation of 4 spaces (indentation)
(#350) Expected indentation of 4 spaces (indentation)
(#353) Expected indentation of 4 spaces (indentation)
(#356) Expected indentation of 4 spaces (indentation)
(#359) Expected indentation of 4 spaces (indentation)
(#362) Expected indentation of 4 spaces (indentation)
(#365) Expected indentation of 4 spaces (indentation)
(#368) Expected indentation of 4 spaces (indentation)
(#371) Expected indentation of 4 spaces (indentation)
(#374) Expected indentation of 4 spaces (indentation)
(#377) Expected indentation of 4 spaces (indentation)
(#380) Expected indentation of 4 spaces (indentation)
(#383) Expected indentation of 4 spaces (indentation)
(#386) Expected indentation of 4 spaces (indentation)
(#389) Expected indentation of 4 spaces (indentation)
(#392) Expected indentation of 4 spaces (indentation)
(#395) Expected indentation of 4 spaces (indentation)
(#398) Expected indentation of 4 spaces (indentation)
(#401) Expected indentation of 4 spaces (indentation)
(#404) Expected indentation of 4 spaces (indentation)
(#407) Expected indentation of 4 spaces (indentation)
(#410) Expected indentation of 4 spaces (indentation)
(#413) Expected indentation of 4 spaces (indentation)
(#416) Expected indentation of 4 spaces (indentation)
(#419) Expected indentation of 4 spaces (indentation)
(#422) Expected indentation of 4 spaces (indentation)
(#425) Expected indentation of 4 spaces (indentation)
(#428) Expected indentation of 4 spaces (indentation)
(#431) Expected indentation of 4 spaces (indentation)
(#434) Expected indentation of 4 spaces (indentation)
(#437) Expected indentation of 4 spaces (indentation)
(#440) Expected indentation of 4 spaces (indentation)
(#443) Expected indentation of 4 spaces (indentation)
(#446) Expected indentation of 4 spaces (indentation)
(#449) Expected indentation of 4 spaces (indentation)
(#452) Expected indentation of 4 spaces (indentation)
(#455) Expected indentation of 4 spaces (indentation)
(#458) Expected indentation of 4 spaces (indentation)
course/format/topicsactivitycards/scss/styles.scss
(#33) Expected single space before "{" (block-opening-brace-space-before)
(#141) Expected "#83C55B" to be "#83c55b" (color-hex-case)
(#8) Unexpected !important (declaration-no-important)
(#34) Unexpected !important (declaration-no-important)
(#76) Unexpected !important (declaration-no-important)
(#82) Unexpected !important (declaration-no-important)
(#88) Unexpected !important (declaration-no-important)
(#134) Unexpected !important (declaration-no-important)
(#139) Expected no more than 2 empty lines (max-empty-lines)
(#2) Expected indentation of 4 spaces (indentation)
(#4) Expected indentation of 4 spaces (indentation)
(#3) Expected indentation of 8 spaces (indentation)
(#6) Expected indentation of 4 spaces (indentation)
(#10) Expected indentation of 4 spaces (indentation)
(#7) Expected indentation of 4 spaces (indentation)
(#8) Expected indentation of 8 spaces (indentation)
(#9) Expected indentation of 8 spaces (indentation)
(#12) Expected indentation of 4 spaces (indentation)
(#14) Expected indentation of 4 spaces (indentation)
(#13) Expected indentation of 8 spaces (indentation)
(#16) Expected indentation of 4 spaces (indentation)
(#126) Expected indentation of 4 spaces (indentation)
(#17) Expected indentation of 8 spaces (indentation)
(#20) Expected indentation of 8 spaces (indentation)
(#18) Expected indentation of 12 spaces (indentation)
(#19) Expected indentation of 12 spaces (indentation)
(#22) Expected indentation of 8 spaces (indentation)
(#30) Expected indentation of 8 spaces (indentation)
(#23) Expected indentation of 8 spaces (indentation)
(#24) Expected indentation of 12 spaces (indentation)
(#25) Expected indentation of 12 spaces (indentation)
(#26) Expected indentation of 12 spaces (indentation)
(#27) Expected indentation of 12 spaces (indentation)
(#28) Expected indentation of 12 spaces (indentation)
(#29) Expected indentation of 12 spaces (indentation)
(#32) Expected indentation of 8 spaces (indentation)
(#48) Expected indentation of 8 spaces (indentation)
(#33) Expected indentation of 8 spaces (indentation)
(#34) Expected indentation of 12 spaces (indentation)
(#35) Expected indentation of 12 spaces (indentation)
(#36) Expected indentation of 12 spaces (indentation)
(#37) Expected indentation of 12 spaces (indentation)
(#38) Expected indentation of 12 spaces (indentation)
(#39) Expected indentation of 12 spaces (indentation)
(#41) Expected indentation of 12 spaces (indentation)
(#43) Expected indentation of 12 spaces (indentation)
(#42) Expected indentation of 16 spaces (indentation)
(#44) Expected indentation of 12 spaces (indentation)
(#47) Expected indentation of 12 spaces (indentation)
(#45) Expected indentation of 16 spaces (indentation)
(#46) Expected indentation of 16 spaces (indentation)
(#50) Expected indentation of 8 spaces (indentation)
(#54) Expected indentation of 8 spaces (indentation)
(#51) Expected indentation of 12 spaces (indentation)
(#52) Expected indentation of 12 spaces (indentation)
(#53) Expected indentation of 12 spaces (indentation)
(#56) Expected indentation of 8 spaces (indentation)
(#66) Expected indentation of 8 spaces (indentation)
(#57) Expected indentation of 12 spaces (indentation)
(#60) Expected indentation of 12 spaces (indentation)
(#58) Expected indentation of 16 spaces (indentation)
(#59) Expected indentation of 16 spaces (indentation)
(#62) Expected indentation of 12 spaces (indentation)
(#65) Expected indentation of 12 spaces (indentation)
(#63) Expected indentation of 16 spaces (indentation)
(#64) Expected indentation of 16 spaces (indentation)
(#68) Expected indentation of 8 spaces (indentation)
(#72) Expected indentation of 8 spaces (indentation)
(#69) Expected indentation of 12 spaces (indentation)
(#70) Expected indentation of 12 spaces (indentation)
(#71) Expected indentation of 12 spaces (indentation)
(#74) Expected indentation of 8 spaces (indentation)
(#84) Expected indentation of 8 spaces (indentation)
(#75) Expected indentation of 12 spaces (indentation)
(#77) Expected indentation of 12 spaces (indentation)
(#76) Expected indentation of 16 spaces (indentation)
(#79) Expected indentation of 12 spaces (indentation)
(#83) Expected indentation of 12 spaces (indentation)
(#80) Expected indentation of 16 spaces (indentation)
(#81) Expected indentation of 16 spaces (indentation)
(#82) Expected indentation of 16 spaces (indentation)
(#86) Expected indentation of 8 spaces (indentation)
(#90) Expected indentation of 8 spaces (indentation)
(#87) Expected indentation of 8 spaces (indentation)
(#88) Expected indentation of 12 spaces (indentation)
(#89) Expected indentation of 12 spaces (indentation)
(#92) Expected indentation of 8 spaces (indentation)
(#98) Expected indentation of 8 spaces (indentation)
(#93) Expected indentation of 12 spaces (indentation)
(#95) Expected indentation of 12 spaces (indentation)
(#97) Expected indentation of 12 spaces (indentation)
(#96) Expected indentation of 16 spaces (indentation)
(#100) Expected indentation of 8 spaces (indentation)
(#105) Expected indentation of 8 spaces (indentation)
(#101) Expected indentation of 12 spaces (indentation)
(#102) Expected indentation of 12 spaces (indentation)
(#103) Expected indentation of 12 spaces (indentation)
(#104) Expected indentation of 12 spaces (indentation)
(#107) Expected indentation of 8 spaces (indentation)
(#109) Expected indentation of 8 spaces (indentation)
(#108) Expected indentation of 12 spaces (indentation)
(#111) Expected indentation of 8 spaces (indentation)
(#114) Expected indentation of 8 spaces (indentation)
(#112) Expected indentation of 12 spaces (indentation)
(#113) Expected indentation of 12 spaces (indentation)
(#116) Expected indentation of 8 spaces (indentation)
(#125) Expected indentation of 8 spaces (indentation)
(#117) Expected indentation of 12 spaces (indentation)
(#120) Expected indentation of 12 spaces (indentation)
(#118) Expected indentation of 16 spaces (indentation)
(#119) Expected indentation of 16 spaces (indentation)
(#122) Expected indentation of 12 spaces (indentation)
(#124) Expected indentation of 12 spaces (indentation)
(#123) Expected indentation of 16 spaces (indentation)
(#131) Expected indentation of 4 spaces (indentation)
(#135) Expected indentation of 4 spaces (indentation)
(#132) Expected indentation of 4 spaces (indentation)
(#133) Expected indentation of 4 spaces (indentation)
(#134) Expected indentation of 8 spaces (indentation)
(#151) Expected indentation of 4 spaces (indentation)
(#160) Expected indentation of 4 spaces (indentation)
(#161) Expected indentation of 4 spaces (indentation)
(#163) Expected indentation of 4 spaces (indentation)
(#233) Expected indentation of 4 spaces (indentation)
(#164) Expected indentation of 8 spaces (indentation)
(#165) Expected indentation of 8 spaces (indentation)
(#167) Expected indentation of 8 spaces (indentation)
(#175) Expected indentation of 8 spaces (indentation)
(#168) Expected indentation of 12 spaces (indentation)
(#169) Expected indentation of 12 spaces (indentation)
(#170) Expected indentation of 12 spaces (indentation)
(#171) Expected indentation of 12 spaces (indentation)
(#172) Expected indentation of 12 spaces (indentation)
(#173) Expected indentation of 12 spaces (indentation)
(#174) Expected indentation of 12 spaces (indentation)
(#176) Expected indentation of 8 spaces (indentation)
(#186) Expected indentation of 8 spaces (indentation)
(#177) Expected indentation of 12 spaces (indentation)
(#178) Expected indentation of 12 spaces (indentation)
(#179) Expected indentation of 12 spaces (indentation)
(#180) Expected indentation of 12 spaces (indentation)
(#181) Expected indentation of 12 spaces (indentation)
(#183) Expected indentation of 12 spaces (indentation)
(#185) Expected indentation of 12 spaces (indentation)
(#184) Expected indentation of 16 spaces (indentation)
(#188) Expected indentation of 8 spaces (indentation)
(#219) Expected indentation of 8 spaces (indentation)
(#189) Expected indentation of 12 spaces (indentation)
(#190) Expected indentation of 12 spaces (indentation)
(#192) Expected indentation of 12 spaces (indentation)
(#218) Expected indentation of 12 spaces (indentation)
(#193) Expected indentation of 16 spaces (indentation)
(#194) Expected indentation of 16 spaces (indentation)
(#195) Expected indentation of 16 spaces (indentation)
(#197) Expected indentation of 16 spaces (indentation)
(#217) Expected indentation of 16 spaces (indentation)
(#198) Expected indentation of 20 spaces (indentation)
(#199) Expected indentation of 20 spaces (indentation)
(#200) Expected indentation of 20 spaces (indentation)
(#201) Expected indentation of 20 spaces (indentation)
(#202) Expected indentation of 20 spaces (indentation)
(#203) Expected indentation of 20 spaces (indentation)
(#204) Expected indentation of 20 spaces (indentation)
(#205) Expected indentation of 20 spaces (indentation)
(#207) Expected indentation of 20 spaces (indentation)
(#211) Expected indentation of 20 spaces (indentation)
(#208) Expected indentation of 24 spaces (indentation)
(#210) Expected indentation of 24 spaces (indentation)
(#209) Expected indentation of 28 spaces (indentation)
(#213) Expected indentation of 20 spaces (indentation)
(#214) Expected indentation of 20 spaces (indentation)
(#216) Expected indentation of 20 spaces (indentation)
(#215) Expected indentation of 24 spaces (indentation)
(#221) Expected indentation of 8 spaces (indentation)
(#232) Expected indentation of 8 spaces (indentation)
(#222) Expected indentation of 12 spaces (indentation)
(#228) Expected indentation of 12 spaces (indentation)
(#223) Expected indentation of 16 spaces (indentation)
(#227) Expected indentation of 16 spaces (indentation)
(#224) Expected indentation of 20 spaces (indentation)
(#226) Expected indentation of 20 spaces (indentation)
(#225) Expected indentation of 24 spaces (indentation)
(#229) Expected indentation of 12 spaces (indentation)
(#231) Expected indentation of 12 spaces (indentation)
(#230) 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 "stylelint:css" failed. Use --force to continue.

shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 7 warnings)

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

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/completion_automatic.mustache
(#1) HTML Validation error, line 3: An element with “role=listitem” must be contained in, or owned by, an element with “role=list” or “role=group”. (body> <span class="badge badge-pill alert-success icon-no-margin" role="listitem" title="((completion_automatic%3Adone%2C+core_course)) View" aria-label="Done: View (Set by Admin User)" > )
course/format/topicsactivitycards/templates/local/content/section.mustache
(#1) HTML Validation error, line 15: 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-0 clearfix tactaggable current col-12 pull-left " data-sectionid="3" data-sectionreturnid="0" data-for="section" data-id="35" data-number="3"> <)
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

(0 errors, 0 warnings)

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