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

(3 errors, 133 warnings)

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

mod/cardbox/backup/moodle2/backup_cardbox_stepslib.php
(#32) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/cardbox/backup/moodle2/restore_cardbox_stepslib.php
(#32) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/cardbox/classes/output/card.php
(#24) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/cardbox/classes/output/overview.php
(#24) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/cardbox/classes/output/practice.php
(#24) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/cardbox/classes/output/previewtable.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/cardbox/classes/output/start.php
(#24) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/cardbox/classes/output/statistics.php
(#24) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/cardbox/classes/output/topics.php
(#24) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/cardbox/classes/privacy/provider.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/cardbox/controller.php
(#246) Line exceeds 132 characters; contains 150 characters
(#262) Line exceeds 132 characters; contains 141 characters
(#439) Line exceeds 132 characters; contains 147 characters
(#451) Line exceeds 132 characters; contains 144 characters
(#459) Line exceeds 132 characters; contains 148 characters
(#476) Commas (,) must be followed by white space.
(#488) Line exceeds 132 characters; contains 148 characters
(#501) Line exceeds 132 characters; contains 141 characters
(#548) Line exceeds 132 characters; contains 136 characters
(#612) Line exceeds 132 characters; contains 149 characters
(#618) Line exceeds 132 characters; contains 149 characters
(#625) Line exceeds 132 characters; contains 144 characters
(#646) This comment is 66% valid code; is this commented out code?
(#659) Line exceeds 132 characters; contains 137 characters
(#659) Inline comments must start with a capital letter, digit or 3-dots sequence
(#702) Line exceeds 132 characters; contains 144 characters
(#734) Line exceeds 132 characters; contains 173 characters
(#750) Inline comments must start with a capital letter, digit or 3-dots sequence
(#750) Inline comments must end in full-stops, exclamation marks, or question marks
(#750) This comment is 72% valid code; is this commented out code?
(#750) No space found before comment text; expected "// print_error('csvloaderror', '', $returnurl, $csvloaderror);" but found "//print_error('csvloaderror', '', $returnurl, $csvloaderror);"
(#859) Line exceeds 132 characters; contains 133 characters
(#869) Line exceeds 132 characters; contains 143 characters
(#873) Line exceeds 132 characters; contains 157 characters
(#878) Line exceeds 132 characters; contains 169 characters
(#880) Line exceeds 132 characters; contains 171 characters
(#945) Line exceeds 132 characters; contains 133 characters
(#971) Line exceeds 132 characters; contains 135 characters
(#978) Line exceeds 132 characters; contains 135 characters
(#987) Whitespace found at end of line
mod/cardbox/db/tasks.php
(#31) Inline comments must start with a capital letter, digit or 3-dots sequence
mod/cardbox/db/upgrade.php
(#316) Inline comments must end in full-stops, exclamation marks, or question marks
(#334) Inline comments must end in full-stops, exclamation marks, or question marks
(#350) Inline comments must end in full-stops, exclamation marks, or question marks
(#372) Inline comments must end in full-stops, exclamation marks, or question marks
(#387) Inline comments must end in full-stops, exclamation marks, or question marks
(#497) Line exceeds 132 characters; contains 136 characters
(#511) Line exceeds 132 characters; contains 133 characters
mod/cardbox/externallib.php
(#26) This comment is 65% valid code; is this commented out code?
(#92) Line exceeds 132 characters; contains 139 characters
mod/cardbox/index.php
(#29) Inline comments must start with a capital letter, digit or 3-dots sequence
(#125) Line exceeds 132 characters; contains 153 characters
mod/cardbox/lang/en/cardbox.php
(#26) Inline comments must end in full-stops, exclamation marks, or question marks
(#37) Inline comments must start with a capital letter, digit or 3-dots sequence
(#51) Inline comments must end in full-stops, exclamation marks, or question marks
(#59) Inline comments must end in full-stops, exclamation marks, or question marks
(#68) Inline comments must end in full-stops, exclamation marks, or question marks
(#75) Inline comments must end in full-stops, exclamation marks, or question marks
(#114) Inline comments must end in full-stops, exclamation marks, or question marks
(#121) Inline comments must end in full-stops, exclamation marks, or question marks
(#126) Inline comments must end in full-stops, exclamation marks, or question marks
(#142) Inline comments must end in full-stops, exclamation marks, or question marks
(#162) Inline comments must end in full-stops, exclamation marks, or question marks
(#200) Inline comments must end in full-stops, exclamation marks, or question marks
(#250) Inline comments must end in full-stops, exclamation marks, or question marks
mod/cardbox/lib.php
(#181) Line exceeds 132 characters; contains 140 characters
mod/cardbox/locallib.php
(#91) Line exceeds 132 characters; contains 141 characters
(#101) Line exceeds 132 characters; contains 146 characters
(#146) Line exceeds 132 characters; contains 146 characters
(#168) Line exceeds 132 characters; contains 146 characters
(#259) Line exceeds 132 characters; contains 139 characters
(#278) Inline comments must start with a capital letter, digit or 3-dots sequence
(#282) Line exceeds 132 characters; contains 133 characters
(#490) Line exceeds 132 characters; contains 145 characters
(#504) Line exceeds 132 characters; contains 134 characters
(#520) Line exceeds 132 characters; contains 151 characters
(#520) Inline comments must end in full-stops, exclamation marks, or question marks
(#531) Line exceeds 132 characters; contains 165 characters
(#531) Inline comments must end in full-stops, exclamation marks, or question marks
(#541) Line exceeds 132 characters; contains 135 characters
(#541) Inline comments must end in full-stops, exclamation marks, or question marks
(#637) Line exceeds 132 characters; contains 170 characters
(#639) Line exceeds 132 characters; contains 174 characters
(#675) Line exceeds 132 characters; contains 138 characters
(#677) Line exceeds 132 characters; contains 139 characters
(#707) Inline comments must end in full-stops, exclamation marks, or question marks
(#780) Line exceeds 132 characters; contains 134 characters
mod/cardbox/model/card_selection_algorithm.php
(#238) Inline comments must start with a capital letter, digit or 3-dots sequence
mod/cardbox/model/card_selection_interface.php
(#24) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/cardbox/model/card_sorting_interface.php
(#23) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/cardbox/model/cardbox.class.php
(#17) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#33) Line exceeds 132 characters; contains 174 characters
(#193) Line exceeds 132 characters; contains 138 characters
mod/cardbox/model/cardcollection.class.php
(#17) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#29) Inline comments must start with a capital letter, digit or 3-dots sequence
(#41) Inline comments must start with a capital letter, digit or 3-dots sequence
(#42) Line exceeds 132 characters; contains 142 characters
(#44) Inline comments must start with a capital letter, digit or 3-dots sequence
(#45) Line exceeds 132 characters; contains 160 characters
(#47) Inline comments must start with a capital letter, digit or 3-dots sequence
(#48) Line exceeds 132 characters; contains 164 characters
(#61) Line exceeds 132 characters; contains 149 characters
mod/cardbox/renderer.php
(#26) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
(#90) Line exceeds 132 characters; contains 146 characters
(#119) Line exceeds 132 characters; contains 147 characters
(#128) Line exceeds 132 characters; contains 143 characters
(#154) Line exceeds 132 characters; contains 142 characters
mod/cardbox/review_form.php
(#29) Inline comments must start with a capital letter, digit or 3-dots sequence
(#29) Inline comments must end in full-stops, exclamation marks, or question marks
(#47) This comment is 73% valid code; is this commented out code?
(#99) Line exceeds 132 characters; contains 133 characters
(#100) Line exceeds 132 characters; contains 139 characters
(#103) Line exceeds 132 characters; contains 141 characters
(#107) Line exceeds 132 characters; contains 133 characters
(#113) Line exceeds 132 characters; contains 165 characters
(#149) Line exceeds 132 characters; contains 156 characters
(#152) Line exceeds 132 characters; contains 151 characters
(#159) Line exceeds 132 characters; contains 167 characters
(#160) Line exceeds 132 characters; contains 165 characters
(#161) Line exceeds 132 characters; contains 180 characters
(#162) Line exceeds 132 characters; contains 172 characters
(#164) Line exceeds 132 characters; contains 167 characters
(#166) Line exceeds 132 characters; contains 149 characters
(#167) Line exceeds 132 characters; contains 153 characters
(#171) Line exceeds 132 characters; contains 163 characters
(#174) Line exceeds 132 characters; contains 180 characters
(#180) Line exceeds 132 characters; contains 175 characters
(#189) Line exceeds 132 characters; contains 170 characters
(#189) Inline comments must end in full-stops, exclamation marks, or question marks
(#204) Inline comments must start with a capital letter, digit or 3-dots sequence
(#204) Inline comments must end in full-stops, exclamation marks, or question marks
(#206) Line exceeds 132 characters; contains 134 characters
(#212) Line exceeds 132 characters; contains 146 characters
(#213) Line exceeds 132 characters; contains 139 characters
(#214) Line exceeds 132 characters; contains 148 characters
mod/cardbox/view.php
(#45) Inline comments must start with a capital letter, digit or 3-dots sequence

Javascript coding style problems

(16 errors, 34 warnings)

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

mod/cardbox/amd/src/topics.js
(#71) Each then() should return a value or throw (promise/always-return)
(#74) Missing space before value for key 'methodname'. (key-spacing)
(#79) Operator '+' must be spaced. (space-infix-ops)
(#94) Operator '+' must be spaced. (space-infix-ops)
(#95) Operator '+' must be spaced. (space-infix-ops)
(#96) Operator '+' must be spaced. (space-infix-ops)
(#97) Operator '+' must be spaced. (space-infix-ops)
(#98) Operator '+' must be spaced. (space-infix-ops)
(#100) Operator '+' must be spaced. (space-infix-ops)
(#101) Missing space before opening brace. (space-before-blocks)
(#103) Missing space before value for key 'methodname'. (key-spacing)
(#109) Operator '+' must be spaced. (space-infix-ops)
(#110) Operator '+' must be spaced. (space-infix-ops)
(#115) Operator '+' must be spaced. (space-infix-ops)
(#116) Operator '+' must be spaced. (space-infix-ops)
(#119) Operator '+' must be spaced. (space-infix-ops)
(#120) Operator '+' must be spaced. (space-infix-ops)
(#123) Operator '+' must be spaced. (space-infix-ops)
(#124) Operator '+' must be spaced. (space-infix-ops)
(#125) Operator '+' must be spaced. (space-infix-ops)
(#133) Unexpected space before function parentheses. (space-before-function-paren)
mod/cardbox/js/addcard.js
(#68) Parsing error: Unexpected token >
mod/cardbox/js/overview.js
(#43) Parsing error: The keyword 'const' is reserved
mod/cardbox/js/practice.js
(#23) Parsing error: The keyword 'const' is reserved
mod/cardbox/js/review.js
(#43) Parsing error: The keyword 'const' is reserved
mod/cardbox/js/start.js
(#24) Missing JSDoc comment. (require-jsdoc)
(#24) 'startOptions' is defined but never used. (no-unused-vars)
(#26) Unexpected space before function parentheses. (space-before-function-paren)
(#26) '$' is defined but never used. (no-unused-vars)
(#29) Trailing spaces not allowed. (no-trailing-spaces)
(#36) 'e' is defined but never used. (no-unused-vars)
(#37) Operator '!=' must be spaced. (space-infix-ops)
(#53) 'e' is defined but never used. (no-unused-vars)
(#57) Trailing spaces not allowed. (no-trailing-spaces)
(#58) 'e' is defined but never used. (no-unused-vars)
(#63) 'e' is defined but never used. (no-unused-vars)
(#75) Missing semicolon. (semi)
(#77) Missing JSDoc comment. (require-jsdoc)
(#78) Trailing spaces not allowed. (no-trailing-spaces)
(#85) ["correctionmode"] is better written in dot notation. (dot-notation)
(#87) Operator '=' must be spaced. (space-infix-ops)
(#87) Operator '=' must be spaced. (space-infix-ops)
(#87) Operator '<' must be spaced. (space-infix-ops)
(#88) There should be no space after this paren. (space-in-parens)
(#88) There should be no space before this paren. (space-in-parens)
(#95) This line has a length of 236. Maximum allowed is 132. (max-len)
(#95) Operator '+' must be spaced. (space-infix-ops)
(#95) Operator '+' must be spaced. (space-infix-ops)
(#95) Operator '+' must be spaced. (space-infix-ops)
mod/cardbox/js/statistics.js
(#28) Parsing error: The keyword 'const' is reserved

CSS problems

(3 errors, 17 warnings)

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

mod/cardbox/styles.css
(#432) Expected newline after "}" (block-closing-brace-newline-after)
(#430) Expected "#00549F" to be "#00549f" (color-hex-case)
(#431) Expected "#00549F" to be "#00549f" (color-hex-case)
(#48) Expected "#ff9900" to be "#f90" (color-hex-length)
(#117) Unexpected !important (declaration-no-important)
(#79) Unexpected unit (length-zero-no-unit)
(#102) Unexpected unit (length-zero-no-unit)
(#179) Unexpected unit (length-zero-no-unit)
(#184) Unexpected unit (length-zero-no-unit)
(#223) Unexpected unit (length-zero-no-unit)
(#224) Unexpected unit (length-zero-no-unit)
(#313) Unexpected unit (length-zero-no-unit)
(#474) Unexpected unit (length-zero-no-unit)
(#518) Unexpected unit (length-zero-no-unit)
(#521) Unexpected unit (length-zero-no-unit)
(#532) Unexpected unit (length-zero-no-unit)
(#533) Unexpected unit (length-zero-no-unit)
(#536) Unexpected unit (length-zero-no-unit)
(#539) Unexpected unit (length-zero-no-unit)
(#432) Unexpected whitespace at end of line (no-eol-whitespace)

PHPDocs style problems

(240 errors, 36 warnings)

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

mod/cardbox/backup/moodle2/backup_cardbox_activity_task.class.php
(#34) No one-line description found in phpdocs for class backup_cardbox_activity_task
mod/cardbox/backup/moodle2/restore_cardbox_activity_task.class.php
(#36) Class restore_cardbox_activity_task is not documented
(#17) No one-line description found in phpdocs for file
(#82) 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)]}
(#84) 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)]}
(#98) 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)]}
(#100) 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/cardbox/backup/moodle2/restore_cardbox_stepslib.php
(#43) Function restore_cardbox_activity_structure_step::define_structure is not documented
(#61) Function restore_cardbox_activity_structure_step::process_cardbox is not documented
(#76) Function restore_cardbox_activity_structure_step::process_cardbox_topics is not documented
(#88) Function restore_cardbox_activity_structure_step::process_cardbox_cards is not documented
(#102) Function restore_cardbox_activity_structure_step::process_cardbox_cardcontents is not documented
(#116) Function restore_cardbox_activity_structure_step::process_cardbox_statistics is not documented
(#130) Function restore_cardbox_activity_structure_step::process_cardbox_progress is not documented
(#144) Function restore_cardbox_activity_structure_step::after_execute is not documented
(#17) No one-line description found in phpdocs for file
mod/cardbox/card_form.php
(#32) Class mod_cardbox_card_form is not documented
(#41) Phpdocs for function mod_cardbox_card_form::definition has incomplete parameters list
(#206) Phpdocs for function mod_cardbox_card_form::add_action_buttons_for_managers has incomplete parameters list
(#247) Phpdocs for function mod_cardbox_card_form::validation has incomplete parameters list
(#37) Not recommended phpdocs tag @global used
(#37) Not recommended phpdocs tag @global used
(#37) Not recommended phpdocs tag @global used
(#37) Not recommended phpdocs tag @global used
(#246) Not recommended phpdocs tag @global used
mod/cardbox/classes/output/card.php
(#26) Class cardbox_card is not documented
(#43) Function cardbox_card::__construct is not documented
(#133) Function cardbox_card::getcardreps_ifmastered is not documented
(#173) Function cardbox_card::cardbox_getcarddeck is not documented
(#234) Function cardbox_card::export_for_template is not documented
(#28) Variable cardbox_card::$cmid is not documented
(#29) Variable cardbox_card::$cardid is not documented
(#30) Variable cardbox_card::$topic is not documented
(#31) Variable cardbox_card::$question is not documented
(#32) Variable cardbox_card::$answer is not documented
(#33) Variable cardbox_card::$multipleanswers is not documented
(#34) Variable cardbox_card::$allowedtoedit is not documented
(#35) Variable cardbox_card::$questioncontext is not documented
(#36) Variable cardbox_card::$answercontext is not documented
(#37) Variable cardbox_card::$seestatus is not documented
(#38) Variable cardbox_card::$status is not documented
(#39) Variable cardbox_card::$howmanyanswersnecessary is not documented
(#40) Variable cardbox_card::$decktext is not documented
(#41) Variable cardbox_card::$repsnummer is not documented
(#42) Variable cardbox_card::$acimgurl is not documented
(#17) No one-line description found in phpdocs for file
mod/cardbox/classes/output/massimport_form.php
(#31) Class massimport_form is not documented
(#32) Function massimport_form::definition is not documented
mod/cardbox/classes/output/massimportpreview_form.php
(#32) Class massimportpreview_form is not documented
(#33) Function massimportpreview_form::definition is not documented
mod/cardbox/classes/output/overview.php
(#37) Function cardbox_overview::__construct is not documented
(#75) Function cardbox_overview::export_for_template is not documented
(#33) Variable cardbox_overview::$topicid is not documented
(#34) Variable cardbox_overview::$topics is not documented
(#35) Variable cardbox_overview::$cards is not documented
(#17) No one-line description found in phpdocs for file
mod/cardbox/classes/output/practice.php
(#30) Class cardbox_practice is not documented
(#106) Function cardbox_practice::cardbox_prepare_cardcontents is not documented
(#187) Function cardbox_practice::cardbox_getcarddeck is not documented
(#205) Function cardbox_practice::export_for_template is not documented
(#32) Variable cardbox_practice::$topic is not documented
(#33) Variable cardbox_practice::$question is not documented
(#34) Variable cardbox_practice::$answer is not documented
(#35) Variable cardbox_practice::$case is not documented
(#36) Variable cardbox_practice::$case1 is not documented
(#37) Variable cardbox_practice::$case2 is not documented
(#38) Variable cardbox_practice::$case3 is not documented
(#39) Variable cardbox_practice::$case4 is not documented
(#40) Variable cardbox_practice::$case5 is not documented
(#41) Variable cardbox_practice::$inputfields is not documented
(#42) Variable cardbox_practice::$questioncontext is not documented
(#43) Variable cardbox_practice::$answercontext is not documented
(#44) Variable cardbox_practice::$necessaryanswers is not documented
(#45) Variable cardbox_practice::$casesensitive is not documented
(#46) Variable cardbox_practice::$answercount is not documented
(#47) Variable cardbox_practice::$cardsleft is not documented
(#17) No one-line description found in phpdocs for file
(#53) Phpdocs for function cardbox_practice::__construct has incomplete parameters list
(#52) Not recommended phpdocs tag @global used
mod/cardbox/classes/output/previewtable.php
(#28) Package is not specified for class previewtable. It is also not specified in file-level phpdocs
(#28) Class previewtable is not documented
(#62) Function previewtable::read_data is not documented
(#41) Phpdocs for function previewtable::__construct has incomplete parameters list
mod/cardbox/classes/output/start.php
(#36) Function cardbox_start::__construct is not documented
(#76) Function cardbox_start::cardbox_define_amount_of_cards_to_study is not documented
(#32) Variable cardbox_start::$topics is not documented
(#33) Variable cardbox_start::$autocorrectionoption is not documented
(#34) Variable cardbox_start::$amountcards is not documented
(#17) No one-line description found in phpdocs for file
(#48) Phpdocs for function cardbox_start::cardbox_prepare_topics_to_study has incomplete parameters list
(#92) Phpdocs for function cardbox_start::export_for_template has incomplete parameters list
(#53) Not recommended phpdocs tag @global used
(#91) Not recommended phpdocs tag @global used
mod/cardbox/classes/output/statistics.php
(#51) Function cardbox_statistics::__construct is not documented
(#60) Function cardbox_statistics::init_student is not documented
(#78) Function cardbox_statistics::init_manager is not documented
(#188) Function cardbox_statistics::set_enrolled_students_threshold_info is not documented
(#198) Function cardbox_statistics::is_enrolled_students_threshold_reached is not documented
(#206) Function cardbox_statistics::export_for_template is not documented
(#32) Variable cardbox_statistics::$ismanager is not documented
(#33) Variable cardbox_statistics::$infoenrolledstudentsthreshold is not documented
(#36) Variable cardbox_statistics::$dates is not documented
(#37) Variable cardbox_statistics::$performances is not documented
(#38) Variable cardbox_statistics::$displayaverageprogress is not documented
(#41) Variable cardbox_statistics::$displayweeklystats is not documented
(#42) Variable cardbox_statistics::$weeks is not documented
(#43) Variable cardbox_statistics::$tooltips is not documented
(#44) Variable cardbox_statistics::$numberofcardsmin is not documented
(#45) Variable cardbox_statistics::$numberofcardsmax is not documented
(#46) Variable cardbox_statistics::$numberofcardsavg is not documented
(#47) Variable cardbox_statistics::$durationmin is not documented
(#48) Variable cardbox_statistics::$durationmax is not documented
(#49) Variable cardbox_statistics::$durationofsessionavg is not documented
(#17) No one-line description found in phpdocs for file
mod/cardbox/classes/output/topics.php
(#34) Function cardbox_topics::__construct is not documented
(#52) Function cardbox_topics::export_for_template is not documented
(#32) Variable cardbox_topics::$topics is not documented
(#17) No one-line description found in phpdocs for file
mod/cardbox/classes/privacy/provider.php
(#37) Class provider is not documented
mod/cardbox/classes/task/remind.php
(#33) Function remind::execute is not documented
(#17) No one-line description found in phpdocs for file
mod/cardbox/controller.php
(#17) No one-line description found in phpdocs for file
mod/cardbox/db/access.php
(#17) No one-line description found in phpdocs for file
mod/cardbox/db/messages.php
(#17) No one-line description found in phpdocs for file
mod/cardbox/db/tasks.php
(#17) No one-line description found in phpdocs for file
mod/cardbox/db/upgrade.php
(#27) Function xmldb_cardbox_upgrade is not documented
(#17) No one-line description found in phpdocs for file
mod/cardbox/externallib.php
(#41) Function mod_cardbox_external::deletetopic_parameters is not documented
(#49) Function mod_cardbox_external::deletetopic is not documented
(#66) Function mod_cardbox_external::deletetopic_returns is not documented
(#70) Function mod_cardbox_external::renametopic_parameters is not documented
(#79) Function mod_cardbox_external::renametopic is not documented
(#97) Function mod_cardbox_external::renametopic_returns is not documented
(#101) Function mod_cardbox_external::get_cmid is not documented
mod/cardbox/index.php
(#17) No one-line description found in phpdocs for file
mod/cardbox/lang/en/cardbox.php
(#18) Package mod_flashcards is not valid
(#17) No one-line description found in phpdocs for file
mod/cardbox/lib.php
(#24) Function cardbox_supports is not documented
(#17) No one-line description found in phpdocs for file
(#44) Phpdocs for function cardbox_add_instance has incomplete parameters list
(#70) Phpdocs for function cardbox_update_instance has incomplete parameters list
mod/cardbox/locallib.php
(#142) Function cardbox_update_cardcontent is not documented
(#448) Function cardbox_get_absolute_cardcounts_per_deck is not documented
(#465) Function cardbox_get_average_cardcounts_per_deck is not documented
(#650) Function cardbox_import_cards is not documented
(#741) Function cardbox_import_validate_columns is not documented
(#795) Function cardbox_import_validate_row is not documented
(#814) Function cardbox_string_starts_with is not documented
(#265) There is no description in phpdocs for function cardbox_get_download_url
(#534) There is no description in phpdocs for function cardbox_get_user_datetime_shortformat
(#544) There is no description in phpdocs for function cardbox_is_card_due
(#576) There is no description in phpdocs for function cardbox_update_card_progress
(#44) Phpdocs for function cardbox_save_new_topic has incomplete parameters list
(#62) Phpdocs for function cardbox_get_topics has incomplete parameters list
(#87) Phpdocs for function cardbox_save_new_card has incomplete parameters list
(#119) Phpdocs for function cardbox_save_new_cardcontent has incomplete parameters list
(#155) Phpdocs for function cardbox_edit_card has incomplete parameters list
(#224) Phpdocs for function cardbox_add_new_cards has incomplete parameters list
(#267) Phpdocs for function cardbox_get_download_url has incomplete parameters list
(#345) Phpdocs for function cardbox_get_answers has incomplete parameters list
(#360) Phpdocs for function cardbox_get_notapproved_answers has incomplete parameters list
(#375) Phpdocs for function cardbox_get_questioncontext has incomplete parameters list
(#394) Phpdocs for function cardbox_get_answercontext has incomplete parameters list
(#413) Phpdocs for function cardbox_get_status has incomplete parameters list
(#434) Phpdocs for function cardbox_card_approved has incomplete parameters list
(#484) Phpdocs for function cardbox_get_image_itemid has incomplete parameters list
(#498) Phpdocs for function cardbox_get_imagedescription has incomplete parameters list
(#516) Phpdocs for function cardbox_get_user_date has incomplete parameters list
(#527) Phpdocs for function cardbox_get_user_date_short has incomplete parameters list
(#536) Phpdocs for function cardbox_get_user_datetime_shortformat has incomplete parameters list
(#546) Phpdocs for function cardbox_is_card_due has incomplete parameters list
(#578) Phpdocs for function cardbox_update_card_progress has incomplete parameters list
(#613) Phpdocs for function cardbox_send_change_notification has incomplete parameters list
(#43) Not recommended phpdocs tag @global used
(#61) Not recommended phpdocs tag @global used
(#85) Not recommended phpdocs tag @global used
(#85) Not recommended phpdocs tag @global used
(#118) Not recommended phpdocs tag @global used
(#154) Not recommended phpdocs tag @global used
(#189) Not recommended phpdocs tag @global used
(#228) Not recommended phpdocs tag @global used
(#228) Not recommended phpdocs tag @global used
(#290) Not recommended phpdocs tag @global used
(#310) Not recommended phpdocs tag @global used
(#325) Not recommended phpdocs tag @global used
(#344) Not recommended phpdocs tag @global used
(#359) Not recommended phpdocs tag @global used
(#374) Not recommended phpdocs tag @global used
(#393) Not recommended phpdocs tag @global used
(#412) Not recommended phpdocs tag @global used
(#433) Not recommended phpdocs tag @global used
(#483) Not recommended phpdocs tag @global used
(#497) Not recommended phpdocs tag @global used
mod/cardbox/mod_form.php
(#34) Class mod_cardbox_mod_form is not documented
(#36) Function mod_cardbox_mod_form::definition is not documented
(#17) No one-line description found in phpdocs for file
mod/cardbox/model/card_selection_algorithm.php
(#31) Class cardbox_card_selection_algorithm is not documented
(#37) Function cardbox_card_selection_algorithm::__construct is not documented
(#111) Function cardbox_card_selection_algorithm::cardbox_count_due_and_not_due is not documented
(#33) Variable cardbox_card_selection_algorithm::$prioritytopic is not documented
(#34) Variable cardbox_card_selection_algorithm::$spacing is not documented
(#35) Variable cardbox_card_selection_algorithm::$practiceall is not documented
(#16) No one-line description found in phpdocs for file
(#60) Phpdocs for function cardbox_card_selection_algorithm::cardbox_select_cards_for_practice has incomplete parameters list
(#165) Phpdocs for function cardbox_card_selection_algorithm::cardbox_compare_cards_1st_level has incomplete parameters list
(#195) Phpdocs for function cardbox_card_selection_algorithm::cardbox_compare_cards_2nd_level has incomplete parameters list
(#213) Phpdocs for function cardbox_card_selection_algorithm::cardbox_compare_cards_3rd_level has incomplete parameters list
(#232) Phpdocs for function cardbox_card_selection_algorithm::cardbox_compare_cards_4th_level has incomplete parameters list
(#59) Not recommended phpdocs tag @global used
mod/cardbox/model/card_selection_interface.php
(#28) Function cardbox_select_cards_for_practice is not documented
(#16) No one-line description found in phpdocs for file
mod/cardbox/model/card_sorting_algorithm.php
(#26) Class cardbox_card_sorting_algorithm is not documented
(#16) No one-line description found in phpdocs for file
(#34) Phpdocs for function cardbox_card_sorting_algorithm::cardbox_sort_cards_for_practice has incomplete parameters list
(#106) Phpdocs for function cardbox_card_sorting_algorithm::cardbox_compare_cards_primacy_recency has incomplete parameters list
(#33) Not recommended phpdocs tag @global used
mod/cardbox/model/card_sorting_interface.php
(#27) Function cardbox_sort_cards_for_practice is not documented
(#16) No one-line description found in phpdocs for file
mod/cardbox/model/cardbox.class.php
(#33) Function cardbox_cardboxmodel::__construct is not documented
(#60) Function cardbox_cardboxmodel::cardbox_count_due_cards is not documented
(#70) Function cardbox_cardboxmodel::cardbox_count_mastered_cards is not documented
(#27) Variable cardbox_cardboxmodel::$id is not documented
(#28) Variable cardbox_cardboxmodel::$flashcards is not documented
(#29) Variable cardbox_cardboxmodel::$boxes is not documented
(#30) Variable cardbox_cardboxmodel::$selectionalgorithm is not documented
(#31) Variable cardbox_cardboxmodel::$sortingalgorithm is not documented
(#19) No one-line description found in phpdocs for class cardbox_cardboxmodel
(#215) There is no description in phpdocs for function cardbox_get_casesensitive
(#73) Phpdocs for function cardbox_cardboxmodel::cardbox_get_card_selection has incomplete parameters list
(#137) Phpdocs for function cardbox_cardboxmodel::cardbox_get_users_cards has incomplete parameters list
(#182) Phpdocs for function cardbox_cardboxmodel::cardbox_get_card_contents has incomplete parameters list
(#195) Phpdocs for function cardbox_cardboxmodel::cardbox_compare_cardcontenttypes has incomplete parameters list
(#218) Phpdocs for function cardbox_cardboxmodel::cardbox_get_casesensitive has incomplete parameters list
(#145) Not recommended phpdocs tag @global used
(#145) Not recommended phpdocs tag @global used
(#181) Not recommended phpdocs tag @global used
(#217) Not recommended phpdocs tag @global used
mod/cardbox/model/cardcollection.class.php
(#26) Package is not specified for class cardbox_cardcollection. It is also not specified in file-level phpdocs
(#26) Class cardbox_cardcollection is not documented
(#31) Function cardbox_cardcollection::__construct is not documented
(#68) Function cardbox_cardcollection::cardbox_get_first_cardid is not documented
(#72) Function cardbox_cardcollection::cardbox_get_cardcontents_initial is not documented
(#76) Function cardbox_cardcollection::cardbox_get_cardcontents is not documented
(#28) Variable cardbox_cardcollection::$cardbox is not documented
(#29) Variable cardbox_cardcollection::$flashcards is not documented
(#82) There is no description in phpdocs for function cardbox_get_topic
(#97) There is no description in phpdocs for function cardbox_get_necessaryanswerslocked
(#53) Phpdocs for function cardbox_cardcollection::cardbox_get_card_list has incomplete parameters list
(#85) Phpdocs for function cardbox_cardcollection::cardbox_get_topic has incomplete parameters list
(#100) Phpdocs for function cardbox_cardcollection::cardbox_get_necessaryanswerslocked has incomplete parameters list
(#84) Not recommended phpdocs tag @global used
(#99) Not recommended phpdocs tag @global used
mod/cardbox/renderer.php
(#28) Class mod_cardbox_renderer is not documented
(#17) No one-line description found in phpdocs for file
(#83) There is no description in phpdocs for function cardbox_render_studyview
(#92) There is no description in phpdocs for function cardbox_render_practice
(#112) There is no description in phpdocs for function cardbox_render_statistics
(#121) There is no description in phpdocs for function cardbox_render_review
(#130) There is no description in phpdocs for function cardbox_render_overview
(#139) There is no description in phpdocs for function cardbox_render_errimport
(#147) There is no description in phpdocs for function cardbox_render_topics
(#33) Phpdocs for function mod_cardbox_renderer::cardbox_create_tab has incomplete parameters list
(#53) Phpdocs for function mod_cardbox_renderer::cardbox_render_tabs has incomplete parameters list
(#85) Phpdocs for function mod_cardbox_renderer::cardbox_render_studyview has incomplete parameters list
(#94) Phpdocs for function mod_cardbox_renderer::cardbox_render_practice has incomplete parameters list
(#105) Phpdocs for function mod_cardbox_renderer::cardbox_render_practice_start has incomplete parameters list
(#114) Phpdocs for function mod_cardbox_renderer::cardbox_render_statistics has incomplete parameters list
(#123) Phpdocs for function mod_cardbox_renderer::cardbox_render_review has incomplete parameters list
(#132) Phpdocs for function mod_cardbox_renderer::cardbox_render_overview has incomplete parameters list
(#141) Phpdocs for function mod_cardbox_renderer::cardbox_render_errimport has incomplete parameters list
(#149) Phpdocs for function mod_cardbox_renderer::cardbox_render_topics has incomplete parameters list
mod/cardbox/review_form.php
(#32) Class mod_cardbox_review_form is not documented
(#33) Function mod_cardbox_review_form::definition is not documented
mod/cardbox/settings.php
(#17) File-level phpdocs block is not found
mod/cardbox/version.php
(#17) No one-line description found in phpdocs for file
mod/cardbox/view.php
(#17) No one-line description found in phpdocs for file

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

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

mod/cardbox/templates/card.mustache
(#1) Example context missing (@template section not found.)
mod/cardbox/templates/cardside.mustache
(#1) Example context missing (@template section not found.)
mod/cardbox/templates/errimport.mustache
(#1) Example context missing (@template section not found.)
mod/cardbox/templates/options.mustache
(#1) Example context missing (@template section not found.)
mod/cardbox/templates/overview.mustache
(#1) Example context missing (@template section not found.)
mod/cardbox/templates/practice.mustache
(#1) Example context missing (@template section not found.)
mod/cardbox/templates/practice_answer_autocheck.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 9: Duplicate ID “cardbox-cardcontainer”. (/div> <div id="cardbox-cardcontainer" class="col-xs-12 col-md-10 col-lg-8 col-xl-6"> <)
(#1) HTML Validation info, line 5: The first occurrence of ID “cardbox-cardcontainer” was here. (/div> <div id="cardbox-cardcontainer" class="col-xs-12 col-md-10 col-lg-8 col-xl-6"></div>)
(#1) HTML Validation error, line 40: Duplicate ID “cardbox-buttons-practice”. (/div> <div id="cardbox-buttons-practice" class="col-xs-12 col-md-10 col-lg-8 col-xl-6" style="margin-top: 5px"> )
(#1) HTML Validation info, line 33: The first occurrence of ID “cardbox-buttons-practice” was here. (/div> <div id="cardbox-buttons-practice" class="col-xs-12 col-md-10 col-lg-8 col-xl-6"> )
mod/cardbox/templates/practice_answer_selfcheck.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 9: Duplicate ID “cardbox-cardcontainer”. (/div> <div id="cardbox-cardcontainer" class="col-xs-12 col-md-10 col-lg-8 col-xl-6 "> <)
(#1) HTML Validation info, line 5: The first occurrence of ID “cardbox-cardcontainer” was here. (/div> <div id="cardbox-cardcontainer" class="col-xs-12 col-md-10 col-lg-8 col-xl-6"></div>)
(#1) HTML Validation error, line 18: Duplicate ID “cardbox-practice-content”. (</div><div id="cardbox-practice-content" class="row"> )
(#1) HTML Validation info, line 2: The first occurrence of ID “cardbox-practice-content” was here. (ad><body><div id="cardbox-practice-content" class="row"> )
(#1) HTML Validation error, line 43: Duplicate ID “cardbox-buttons-practice”. (/div> <div id="cardbox-buttons-practice" class="col-xs-12 col-md-10 col-lg-8 col-xl-6" style="margin-top: 5px"> )
(#1) HTML Validation info, line 32: The first occurrence of ID “cardbox-buttons-practice” was here. (/div> <div id="cardbox-buttons-practice" class="col-xs-12 col-md-10 col-lg-8 col-xl-6"> )
(#1) HTML Validation error, line 44: Duplicate ID “cardbox-proceed-buttons”. ( <span id="cardbox-proceed-buttons" class="col-xs-12 cardbox-buttons" style="max-width: 100%"> )
(#1) HTML Validation info, line 33: The first occurrence of ID “cardbox-proceed-buttons” was here. ( <span id="cardbox-proceed-buttons" class="col-xs-12 cardbox-buttons" style="max-width: 100%"> )
mod/cardbox/templates/practice_question_autocheck.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 11: Duplicate ID “cardbox-cardcontainer”. (/div> <div id="cardbox-cardcontainer" class="col-xs-12 col-md-10 col-lg-8 col-xl-6"></div>)
(#1) HTML Validation info, line 5: The first occurrence of ID “cardbox-cardcontainer” was here. (/div> <div id="cardbox-cardcontainer" class="col-xs-12 col-md-10 col-lg-8 col-xl-6" style="margin-bottom: 10px"> )
mod/cardbox/templates/practice_question_selfcheck.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 11: Duplicate ID “cardbox-cardcontainer”. (/div> <div id="cardbox-cardcontainer" class="col-xs-12 col-md-10 col-lg-8 col-xl-6"></div>)
(#1) HTML Validation info, line 5: The first occurrence of ID “cardbox-cardcontainer” was here. (/div> <div id="cardbox-cardcontainer" class="col-xs-12 col-md-10 col-lg-8 col-xl-6" style="margin-bottom: 10px"> )
mod/cardbox/templates/practice_start.mustache
(#1) Example context missing (@template section not found.)
mod/cardbox/templates/practice_suggest_answer.mustache
(#1) Example context missing (@template section not found.)
mod/cardbox/templates/statistics.mustache
(#1) Example context missing (@template section not found.)
mod/cardbox/templates/topic.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]