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

(357 errors, 570 warnings)

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

mod/adaptivequiz/attempt.php
(#1) DocBlock missing a @package tag for file attempt.php. Expected @package mod_adaptivequiz
(#40) Short array syntax must be used to define arrays
(#51) Short array syntax must be used to define arrays
(#53) Short array syntax must be used to define arrays
(#64) Short array syntax must be used to define arrays
(#65) Short array syntax must be used to define arrays
(#94) Short array syntax must be used to define arrays
(#152) Short array syntax must be used to define arrays
(#166) Short array syntax must be used to define arrays
(#180) Short array syntax must be used to define arrays
(#184) Short array syntax must be used to define arrays
(#234) Short array syntax must be used to define arrays
(#259) Short array syntax must be used to define arrays
(#277) Short array syntax must be used to define arrays
mod/adaptivequiz/attemptfinished.php
(#1) DocBlock missing a @package tag for file attemptfinished.php. Expected @package mod_adaptivequiz
(#37) Short array syntax must be used to define arrays
(#59) Short array syntax must be used to define arrays
(#63) Short array syntax must be used to define arrays
mod/adaptivequiz/backup/moodle2/backup_adaptivequiz_activity_task.class.php
(#1) DocBlock missing a @package tag for file backup_adaptivequiz_activity_task.class.php. Expected @package mod_adaptivequiz
(#29) Missing docblock for class backup_adaptivequiz_activity_task
mod/adaptivequiz/backup/moodle2/backup_adaptivequiz_stepslib.php
(#72) Short array syntax must be used to define arrays
mod/adaptivequiz/backup/moodle2/restore_adaptivequiz_activity_task.class.php
(#1) DocBlock missing a @package tag for file restore_adaptivequiz_activity_task.class.php. Expected @package mod_adaptivequiz
(#29) Missing docblock for class restore_adaptivequiz_activity_task
(#51) Short array syntax must be used to define arrays
(#52) Short array syntax must be used to define arrays
(#62) Short array syntax must be used to define arrays
(#79) Short array syntax must be used to define arrays
(#96) Short array syntax must be used to define arrays
mod/adaptivequiz/backup/moodle2/restore_adaptivequiz_stepslib.php
(#1) DocBlock missing a @package tag for file restore_adaptivequiz_stepslib.php. Expected @package mod_adaptivequiz
(#25) Missing docblock for class restore_adaptivequiz_activity_structure_step
(#32) Short array syntax must be used to define arrays
mod/adaptivequiz/classes/attempt_state_change_observers.php
(#1) DocBlock missing a @package tag for file attempt_state_change_observers.php. Expected @package mod_adaptivequiz
(#29) Missing docblock for class attempt_state_change_observers
(#31) Missing docblock for function attempt_completed
mod/adaptivequiz/classes/completion/custom_completion.php
(#1) DocBlock missing a @package tag for file custom_completion.php. Expected @package mod_adaptivequiz
(#29) Missing docblock for class custom_completion
(#32) Invalid docblock tag "@inheritDoc".
(#34) No one-line description found in phpdocs for docblock of function get_state
(#43) Invalid docblock tag "@inheritDoc".
(#45) No one-line description found in phpdocs for docblock of function get_defined_custom_rules
(#50) Invalid docblock tag "@inheritDoc".
(#52) No one-line description found in phpdocs for docblock of function get_custom_rule_descriptions
(#57) Invalid docblock tag "@inheritDoc".
(#59) No one-line description found in phpdocs for docblock of function get_sort_order
mod/adaptivequiz/classes/event/attempt_completed.php
(#1) DocBlock missing a @package tag for file attempt_completed.php. Expected @package mod_adaptivequiz
(#30) Missing docblock for class attempt_completed
(#33) Invalid docblock tag "@inheritDoc".
(#35) No one-line description found in phpdocs for docblock of function get_name
(#40) Invalid docblock tag "@inheritDoc".
(#42) No one-line description found in phpdocs for docblock of function get_description
(#58) Invalid docblock tag "@inheritDoc".
(#60) No one-line description found in phpdocs for docblock of function get_objectid_mapping
(#65) Invalid docblock tag "@inheritDoc".
(#67) No one-line description found in phpdocs for docblock of function init
mod/adaptivequiz/classes/event/course_module_instance_list_viewed.php
(#1) DocBlock missing a @package tag for file course_module_instance_list_viewed.php. Expected @package mod_adaptivequiz
(#27) Missing docblock for class course_module_instance_list_viewed
(#35) Short array syntax must be used to define arrays
(#36) There should be a comma after the last array item in a multi-line array.
mod/adaptivequiz/classes/event/course_module_viewed.php
(#1) DocBlock missing a @package tag for file course_module_viewed.php. Expected @package mod_adaptivequiz
(#27) Missing docblock for class course_module_viewed
(#29) Missing docblock for function init
mod/adaptivequiz/classes/form/requiredpassword.php
(#1) DocBlock missing a @package tag for file requiredpassword.php. Expected @package mod_adaptivequiz
(#34) Missing docblock for class requiredpassword
(#57) Short array syntax must be used to define arrays
mod/adaptivequiz/classes/local/attempt.php
(#1) DocBlock missing a @package tag for file attempt.php. Expected @package mod_adaptivequiz
(#40) Missing docblock for class attempt
(#42) Missing docblock for constant attempt::TABLE
(#67) Short array syntax must be used to define arrays
(#97) Short array syntax must be used to define arrays
(#114) Short array syntax must be used to define arrays
(#540) Short array syntax must be used to define arrays
(#548) No one-line description found in phpdocs for docblock of function user_has_completed_on_quiz
(#602) Short array syntax must be used to define arrays
mod/adaptivequiz/classes/local/attempt/attempt_state.php
(#1) DocBlock missing a @package tag for file attempt_state.php. Expected @package mod_adaptivequiz
(#28) Missing docblock for class attempt_state
(#30) Missing docblock for constant attempt_state::IN_PROGRESS
(#32) Missing docblock for constant attempt_state::COMPLETED
(#39) Missing docblock for function __construct
(#43) Missing docblock for function is_in_progress
(#47) Missing docblock for function is_completed
(#51) Missing docblock for function in_progress
(#55) Missing docblock for function completed
mod/adaptivequiz/classes/local/catalgo.php
(#1) DocBlock missing a @package tag for file catalgo.php. Expected @package mod_adaptivequiz
(#38) Missing docblock for class catalgo
(#51) Short array syntax must be used to define arrays
(#195) Short array syntax must be used to define arrays
(#326) Short array syntax must be used to define arrays
mod/adaptivequiz/classes/local/fetchquestion.php
(#1) DocBlock missing a @package tag for file fetchquestion.php. Expected @package mod_adaptivequiz
(#38) Missing docblock for class fetchquestion
(#58) Short array syntax must be used to define arrays
(#61) Short array syntax must be used to define arrays
(#79) Short array syntax must be used to define arrays
(#116) Short array syntax must be used to define arrays
(#257) Short array syntax must be used to define arrays
(#294) Short array syntax must be used to define arrays
(#295) Short array syntax must be used to define arrays
(#304) Short array syntax must be used to define arrays
(#458) Short array syntax must be used to define arrays
mod/adaptivequiz/classes/local/questionanalysis/attempt_score.php
(#1) DocBlock missing a @package tag for file attempt_score.php. Expected @package mod_adaptivequiz
(#29) Missing docblock for class attempt_score
(#48) Expected 0 spaces after "__construct"; 1 found
(#60) Expected 0 spaces after "measured_ability_in_logits"; 1 found
(#69) Expected 0 spaces after "standard_error_in_logits"; 1 found
(#78) Expected 0 spaces after "measured_ability_in_fraction"; 1 found
(#87) Expected 0 spaces after "standard_error_in_fraction"; 1 found
(#96) Expected 0 spaces after "measured_ability_in_scale"; 1 found
(#105) Expected 0 spaces after "standard_error_in_scale"; 1 found
mod/adaptivequiz/classes/local/questionanalysis/question_analyser.php
(#1) DocBlock missing a @package tag for file question_analyser.php. Expected @package mod_adaptivequiz
(#36) Missing docblock for class question_analyser
(#54) Short array syntax must be used to define arrays
(#57) Short array syntax must be used to define arrays
(#60) Short array syntax must be used to define arrays
(#70) Expected 0 spaces after "__construct"; 1 found
(#86) Expected 0 spaces after "add_result"; 1 found
(#99) No one-line description found in phpdocs for docblock of function get_owning_context
(#108) Expected 0 spaces after "get_question_definition"; 1 found
(#117) Expected 0 spaces after "get_question_level"; 1 found
(#126) Expected 0 spaces after "get_question_level_in_logits"; 1 found
(#135) Expected 0 spaces after "get_results"; 1 found
(#146) Expected 0 spaces after "add_statistic"; 1 found
(#160) Expected 0 spaces after "get_statistic_result"; 1 found
(#173) Expected 0 spaces after "map_logit_to_scale"; 1 found
mod/adaptivequiz/classes/local/questionanalysis/question_result.php
(#1) DocBlock missing a @package tag for file question_result.php. Expected @package mod_adaptivequiz
(#30) Missing docblock for class question_result
(#35) Expected "bool" but found "boolean" for @var tag in member variable comment
(#45) Expected 0 spaces after "__construct"; 1 found
(#59) Expected 0 spaces after "__get"; 1 found
mod/adaptivequiz/classes/local/questionanalysis/quiz_analyser.php
(#44) Short array syntax must be used to define arrays
(#47) Short array syntax must be used to define arrays
(#133) Short array syntax must be used to define arrays
mod/adaptivequiz/classes/local/questionanalysis/statistics/answers_statistic.php
(#38) Expected 0 spaces after "get_display_name"; 1 found
(#57) Short array syntax must be used to define arrays
(#58) Short array syntax must be used to define arrays
(#59) Short array syntax must be used to define arrays
(#87) Short array syntax must be used to define arrays
(#92) Short array syntax must be used to define arrays
(#96) Short array syntax must be used to define arrays
(#109) Short array syntax must be used to define arrays
(#113) Short array syntax must be used to define arrays
(#126) Short array syntax must be used to define arrays
(#130) Short array syntax must be used to define arrays
(#173) Expected 0 spaces after "print_empty_user_result"; 1 found
mod/adaptivequiz/classes/local/questionanalysis/statistics/answers_statistic_result.php
(#1) DocBlock missing a @package tag for file answers_statistic_result.php. Expected @package mod_adaptivequiz
(#27) Missing docblock for class answers_statistic_result
(#40) Expected 0 spaces after "__construct"; 1 found
(#50) Expected 0 spaces after "sortable"; 1 found
(#60) Expected 0 spaces after "printable"; 1 found
mod/adaptivequiz/classes/local/questionanalysis/statistics/discrimination_statistic.php
(#1) DocBlock missing a @package tag for file discrimination_statistic.php. Expected @package mod_adaptivequiz
(#29) Missing docblock for class discrimination_statistic
(#35) Expected 0 spaces after "get_display_name"; 1 found
(#45) Expected 0 spaces after "calculate"; 1 found
mod/adaptivequiz/classes/local/questionanalysis/statistics/discrimination_statistic_result.php
(#1) DocBlock missing a @package tag for file discrimination_statistic_result.php. Expected @package mod_adaptivequiz
(#27) Missing docblock for class discrimination_statistic_result
(#37) Expected 0 spaces after "__construct"; 1 found
(#46) Expected 0 spaces after "sortable"; 1 found
(#60) Expected 0 spaces after "printable"; 1 found
mod/adaptivequiz/classes/local/questionanalysis/statistics/percent_correct_statistic.php
(#1) DocBlock missing a @package tag for file percent_correct_statistic.php. Expected @package mod_adaptivequiz
(#29) Missing docblock for class percent_correct_statistic
(#35) Expected 0 spaces after "get_display_name"; 1 found
(#45) Expected 0 spaces after "calculate"; 1 found
mod/adaptivequiz/classes/local/questionanalysis/statistics/percent_correct_statistic_result.php
(#1) DocBlock missing a @package tag for file percent_correct_statistic_result.php. Expected @package mod_adaptivequiz
(#27) Missing docblock for class percent_correct_statistic_result
(#37) Expected 0 spaces after "__construct"; 1 found
(#46) Expected 0 spaces after "sortable"; 1 found
(#56) Expected 0 spaces after "printable"; 1 found
mod/adaptivequiz/classes/local/questionanalysis/statistics/question_statistic.php
(#1) DocBlock missing a @package tag for file question_statistic.php. Expected @package mod_adaptivequiz
(#29) Missing docblock for interface question_statistic
(#35) Expected 0 spaces after "get_display_name"; 1 found
(#43) Expected 0 spaces after "calculate"; 1 found
mod/adaptivequiz/classes/local/questionanalysis/statistics/question_statistic_result.php
(#1) DocBlock missing a @package tag for file question_statistic_result.php. Expected @package mod_adaptivequiz
(#27) Missing docblock for interface question_statistic_result
(#33) Expected 0 spaces after "sortable"; 1 found
(#41) Expected 0 spaces after "printable"; 1 found
mod/adaptivequiz/classes/local/questionanalysis/statistics/times_used_statistic.php
(#1) DocBlock missing a @package tag for file times_used_statistic.php. Expected @package mod_adaptivequiz
(#29) Missing docblock for class times_used_statistic
(#35) Expected 0 spaces after "get_display_name"; 1 found
(#45) Expected 0 spaces after "calculate"; 1 found
mod/adaptivequiz/classes/local/questionanalysis/statistics/times_used_statistic_result.php
(#1) DocBlock missing a @package tag for file times_used_statistic_result.php. Expected @package mod_adaptivequiz
(#27) Missing docblock for class times_used_statistic_result
(#37) Expected 0 spaces after "__construct"; 1 found
(#46) Expected 0 spaces after "sortable"; 1 found
(#56) Expected 0 spaces after "printable"; 1 found
mod/adaptivequiz/classes/local/report/attempt_report_helper.php
(#164) Expected 1 space before "+"; 0 found
(#164) Expected 1 space after "+"; 0 found
mod/adaptivequiz/classes/local/report/individual_user_attempts/filter.php
(#1) No one-line description found in phpdocs for docblock of file filter.php
(#1) DocBlock missing a @package tag for file filter.php. Expected @package mod_adaptivequiz
(#24) Missing docblock for class filter
(#36) Missing docblock for function from_vars
mod/adaptivequiz/classes/local/report/individual_user_attempts/table.php
(#65) Missing docblock for function __construct
(#82) Missing docblock for function get_sql_sort
(#86) Missing docblock for function col_attemptstate
(#94) Missing docblock for function col_score
(#108) Missing docblock for function col_timecreated
(#112) Missing docblock for function col_timemodified
(#125) Missing docblock for function init
(#153) Missing docblock for function set_content_alignment_in_columns
mod/adaptivequiz/classes/local/report/questions_difficulty_range.php
(#1) DocBlock missing a @package tag for file questions_difficulty_range.php. Expected @package mod_adaptivequiz
(#30) Missing docblock for class questions_difficulty_range
(#42) Missing docblock for function __construct
(#47) Missing docblock for function lowest_level
(#51) Missing docblock for function highest_level
(#58) No one-line description found in phpdocs for docblock of function from_activity_instance
mod/adaptivequiz/classes/local/report/users_attempts/filter/filter.php
(#1) DocBlock missing a @package tag for file filter.php. Expected @package mod_adaptivequiz
(#28) Missing docblock for class filter
(#51) Missing docblock for function fill_from_array
(#59) Missing docblock for function fill_from_preference
(#64) Missing docblock for function from_vars
mod/adaptivequiz/classes/local/report/users_attempts/filter/filter_form.php
(#1) No one-line description found in phpdocs for docblock of file filter_form.php
(#1) DocBlock missing a @package tag for file filter_form.php. Expected @package mod_adaptivequiz
(#32) Missing docblock for class filter_form
(#38) Invalid docblock tag "@inheritDoc".
(#45) Missing docblock for function definition
(#58) There should be a comma after the last array item in a multi-line array.
mod/adaptivequiz/classes/local/report/users_attempts/filter/filter_options.php
(#1) DocBlock missing a @package tag for file filter_options.php. Expected @package mod_adaptivequiz
(#26) Missing docblock for class filter_options
(#28) Missing docblock for constant filter_options::ENROLLED_USERS_WITH_NO_ATTEMPTS
(#30) Missing docblock for constant filter_options::ENROLLED_USERS_WITH_ATTEMPTS
(#32) Missing docblock for constant filter_options::BOTH_ENROLLED_AND_NOT_ENROLLED_USERS_WITH_ATTEMPTS
(#34) Missing docblock for constant filter_options::NOT_ENROLLED_USERS_WITH_ATTEMPTS
(#36) Missing docblock for constant filter_options::INCLUDE_INACTIVE_ENROLMENTS_DEFAULT
(#38) Missing docblock for function users_option_default
(#42) Missing docblock for function users_option_exists
(#47) There should be a comma after the last array item in a multi-line array.
mod/adaptivequiz/classes/local/report/users_attempts/sql/sql_and_params.php
(#1) DocBlock missing a @package tag for file sql_and_params.php. Expected @package mod_adaptivequiz
(#30) Missing docblock for class sql_and_params
(#68) Missing docblock for function __construct
(#86) Missing docblock for function fields
(#90) Missing docblock for function from
(#94) Missing docblock for function where
(#98) Missing docblock for function group_by
(#102) Missing docblock for function params
(#106) Missing docblock for function count_sql
(#110) Missing docblock for function count_sql_params
(#114) Missing docblock for function with_group_filtering
(#122) Missing docblock for function default
(#139) Missing docblock for function for_enrolled_with_no_attempts
(#155) Missing docblock for function for_enrolled_with_attempts
(#173) Missing docblock for function for_not_enrolled_with_attempts
(#193) Missing docblock for function attempt_sql_and_params
(#233) There should be a comma after the last array item in a multi-line array.
(#237) Missing docblock for function group_by_sql
(#241) Missing docblock for function base_where_sql
mod/adaptivequiz/classes/local/report/users_attempts/sql/sql_resolver.php
(#1) DocBlock missing a @package tag for file sql_resolver.php. Expected @package mod_adaptivequiz
(#31) Missing docblock for class sql_resolver
(#33) Missing docblock for function sql_and_params
(#63) Missing docblock for function resolve_active_enrolment_flag
mod/adaptivequiz/classes/local/report/users_attempts/user_preferences/filter_user_preferences.php
(#1) No one-line description found in phpdocs for docblock of file filter_user_preferences.php
(#1) DocBlock missing a @package tag for file filter_user_preferences.php. Expected @package mod_adaptivequiz
(#26) Missing docblock for class filter_user_preferences
(#38) Missing docblock for function __construct
(#45) Missing docblock for function users
(#49) Missing docblock for function include_inactive_enrolments
(#53) Missing docblock for function as_array
(#57) Missing docblock for function from_array
mod/adaptivequiz/classes/local/report/users_attempts/user_preferences/user_preferences.php
(#1) DocBlock missing a @package tag for file user_preferences.php. Expected @package mod_adaptivequiz
(#28) Missing docblock for class user_preferences
(#30) Missing docblock for constant user_preferences::PER_PAGE_OPTIONS
(#32) Missing docblock for constant user_preferences::PER_PAGE_DEFAULT
(#34) Missing docblock for constant user_preferences::SHOW_INITIALS_BAR_DEFAULT
(#36) Missing docblock for constant user_preferences::PERSISTENT_FILTER_DEFAULT
(#58) Missing docblock for function __construct
(#77) Missing docblock for function rows_per_page
(#81) Missing docblock for function show_initials_bar
(#85) Missing docblock for function persistent_filter
(#89) Missing docblock for function filter
(#93) Missing docblock for function has_filter_preference
(#97) Missing docblock for function with_filter_preference
(#101) Missing docblock for function without_filter_preference
(#105) Missing docblock for function as_array
(#113) Missing docblock for function from_array
(#124) Missing docblock for function from_plain_object
(#128) Missing docblock for function defaults
mod/adaptivequiz/classes/local/report/users_attempts/user_preferences/user_preferences_form.php
(#1) No one-line description found in phpdocs for docblock of file user_preferences_form.php
(#1) DocBlock missing a @package tag for file user_preferences_form.php. Expected @package mod_adaptivequiz
(#30) Missing docblock for class user_preferences_form
(#36) Invalid docblock tag "@inheritDoc".
(#43) Missing docblock for function definition
mod/adaptivequiz/classes/local/report/users_attempts/users_attempts_table.php
(#1) DocBlock missing a @package tag for file users_attempts_table.php. Expected @package mod_adaptivequiz
(#39) Missing docblock for class users_attempts_table
(#41) Missing docblock for constant users_attempts_table::UNIQUE_ID
(#61) No one-line description found in phpdocs for docblock of function __construct
(#131) Missing docblock for function col_attemptsnum
(#152) No one-line description found in phpdocs for docblock of function col_measure
(#173) Missing docblock for function col_stderror
(#185) No one-line description found in phpdocs for docblock of function col_attempttimefinished
(#222) Missing docblock for function set_group_by_sql
(#226) Missing docblock for function set_content_alignment_in_columns
mod/adaptivequiz/classes/local/repository/questions_number_per_difficulty.php
(#1) DocBlock missing a @package tag for file questions_number_per_difficulty.php. Expected @package mod_adaptivequiz
(#29) Missing docblock for class questions_number_per_difficulty
(#40) Missing docblock for function __construct
(#45) Missing docblock for function difficulty
(#49) Missing docblock for function questions_number
mod/adaptivequiz/classes/local/repository/questions_repository.php
(#1) DocBlock missing a @package tag for file questions_repository.php. Expected @package mod_adaptivequiz
(#34) Missing docblock for class questions_repository
(#70) No one-line description found in phpdocs for docblock of function count_questions_number_per_difficulty
(#122) No one-line description found in phpdocs for docblock of function find_questions_with_tags
mod/adaptivequiz/classes/local/repository/tags_repository.php
(#1) DocBlock missing a @package tag for file tags_repository.php. Expected @package mod_adaptivequiz
(#30) Missing docblock for class tags_repository
(#38) No one-line description found in phpdocs for docblock of function get_question_level_to_tag_id_mapping_by_tag_names
(#67) No one-line description found in phpdocs for docblock of function get_tag_id_list_by_tag_names
mod/adaptivequiz/classes/local/user_attempts_table.php
(#1) DocBlock missing a @package tag for file user_attempts_table.php. Expected @package mod_adaptivequiz
(#34) Missing docblock for class user_attempts_table
(#40) Missing docblock for function __construct
(#90) No one-line description found in phpdocs for docblock of function col_state
(#94) Missing docblock for function col_timefinished
(#102) Missing docblock for function col_measure
(#106) Missing docblock for function set_content_alignment_in_columns
(#112) Missing docblock for function set_column_css_classes
mod/adaptivequiz/classes/output/ability_measure.php
(#1) DocBlock missing a @package tag for file ability_measure.php. Expected @package mod_adaptivequiz
(#29) Missing docblock for class ability_measure
mod/adaptivequiz/classes/output/questionanalysis/renderer.php
(#1) No one-line description found in phpdocs for docblock of file renderer.php
(#1) DocBlock missing a @package tag for file renderer.php. Expected @package mod_adaptivequiz
(#34) Missing docblock for class renderer
(#42) Short array syntax must be used to define arrays
(#53) There should be a comma after the last array item in a multi-line array.
(#84) Short array syntax must be used to define arrays
(#85) Short array syntax must be used to define arrays
(#100) Short array syntax must be used to define arrays
(#106) Short array syntax must be used to define arrays
(#110) Short array syntax must be used to define arrays
(#119) Short array syntax must be used to define arrays
(#134) Short array syntax must be used to define arrays
(#150) Short array syntax must be used to define arrays
(#151) Short array syntax must be used to define arrays
(#152) Short array syntax must be used to define arrays
(#157) Short array syntax must be used to define arrays
mod/adaptivequiz/classes/output/user_attempt_summary.php
(#1) DocBlock missing a @package tag for file user_attempt_summary.php. Expected @package mod_adaptivequiz
(#29) Missing docblock for class user_attempt_summary
(#58) No one-line description found in phpdocs for docblock of function from_db_records
mod/adaptivequiz/closeattempt.php
(#1) DocBlock missing a @package tag for file closeattempt.php. Expected @package mod_adaptivequiz
mod/adaptivequiz/db/access.php
(#20) Incorrect @package tag for file access.php. Expected mod_adaptivequiz, found mod.
(#29) Short array syntax must be used to define arrays
(#31) Short array syntax must be used to define arrays
(#35) Short array syntax must be used to define arrays
(#37) There should be a comma after the last array item in a multi-line array.
(#39) There should be a comma after the last array item in a multi-line array.
(#42) Short array syntax must be used to define arrays
(#46) Short array syntax must be used to define arrays
(#48) There should be a comma after the last array item in a multi-line array.
(#52) Short array syntax must be used to define arrays
(#56) Short array syntax must be used to define arrays
(#58) There should be a comma after the last array item in a multi-line array.
(#62) Short array syntax must be used to define arrays
(#66) Short array syntax must be used to define arrays
(#67) There should be a comma after the last array item in a multi-line array.
(#68) There should be a comma after the last array item in a multi-line array.
mod/adaptivequiz/db/events.php
(#1) No one-line description found in phpdocs for docblock of file events.php
(#1) DocBlock missing a @package tag for file events.php. Expected @package mod_adaptivequiz
(#27) There should be a comma after the last array item in a multi-line array.
(#28) There should be a comma after the last array item in a multi-line array.
mod/adaptivequiz/db/log.php
(#30) Short array syntax must be used to define arrays
(#31) Short array syntax must be used to define arrays
(#32) Short array syntax must be used to define arrays
(#33) Short array syntax must be used to define arrays
(#34) Short array syntax must be used to define arrays
(#35) Short array syntax must be used to define arrays
(#36) Short array syntax must be used to define arrays
(#37) Short array syntax must be used to define arrays
(#38) Short array syntax must be used to define arrays
(#39) Short array syntax must be used to define arrays
(#40) Short array syntax must be used to define arrays
(#41) Short array syntax must be used to define arrays
(#42) Short array syntax must be used to define arrays
mod/adaptivequiz/delattempt.php
(#1) DocBlock missing a @package tag for file delattempt.php. Expected @package mod_adaptivequiz
mod/adaptivequiz/grade.php
(#1) DocBlock missing a @package tag for file grade.php. Expected @package mod_adaptivequiz
(#35) Short array syntax must be used to define arrays
(#42) Short array syntax must be used to define arrays
(#50) Short array syntax must be used to define arrays
mod/adaptivequiz/index.php
(#1) No one-line description found in phpdocs for docblock of file index.php
(#1) DocBlock missing a @package tag for file index.php. Expected @package mod_adaptivequiz
(#30) Short array syntax must be used to define arrays
(#38) Short array syntax must be used to define arrays
(#46) Short array syntax must be used to define arrays
(#51) Short array syntax must be used to define arrays
(#52) Short array syntax must be used to define arrays
(#54) Short array syntax must be used to define arrays
(#55) Short array syntax must be used to define arrays
(#57) Short array syntax must be used to define arrays
(#58) Short array syntax must be used to define arrays
(#64) Short array syntax must be used to define arrays
(#66) Short array syntax must be used to define arrays
(#69) Short array syntax must be used to define arrays
(#74) Short array syntax must be used to define arrays
(#76) Short array syntax must be used to define arrays
mod/adaptivequiz/lang/en/adaptivequiz.php
(#1) DocBlock missing a @package tag for file adaptivequiz.php. Expected @package mod_adaptivequiz
(#33) The string key "attempt_summary" is not in the correct order, it should be before "attemptquestionsprogress_help"
(#36) The string key "attemptnofirstquestion" is not in the correct order, it should be before "attemptsuserprevious"
(#44) The string key "questionspoolerrornovalidstartingquestions" is not in the correct order, it should be before "showabilitymeasure_help"
(#67) The string key "reportattemptsfilterformheader" is not in the correct order, it should be before "reportattemptsfilterusers"
(#76) The string key "reportattemptsummarytab" is not in the correct order, it should be before "reportattemptsusersperpage"
(#79) The string key "reportquestionanalysispageheading" is not in the correct order, it should be before "reportuserattemptstitleshort"
(#80) The string key "modulenameplural" is not in the correct order, it should be before "reportquestionanalysispageheading"
(#81) The string key "modulename" is not in the correct order, it should be before "modulenameplural"
(#101) The string key "nonewmodules" is not in the correct order, it should be before "pluginname"
(#102) The string key "adaptivequizname" is not in the correct order, it should be before "nonewmodules"
(#104) The string key "adaptivequiz:addinstance" is not in the correct order, it should be before "adaptivequizname_help"
(#106) The string key "adaptivequiz:reviewattempts" is not in the correct order, it should be before "adaptivequiz:viewreport"
(#107) The string key "adaptivequiz:attempt" is not in the correct order, it should be before "adaptivequiz:reviewattempts"
(#112) The string key "browsersecurity" is not in the correct order, it should be before "requirepassword_help"
(#116) The string key "maximumquestions" is not in the correct order, it should be before "minimumquestions_help"
(#120) The string key "lowestlevel" is not in the correct order, it should be before "startinglevel_help"
(#122) The string key "highestlevel" is not in the correct order, it should be before "lowestlevel_help"
(#126) The string key "formelementempty" is not in the correct order, it should be before "questionpool_help"
(#128) The string key "formelementnegative" is not in the correct order, it should be before "formelementnumeric"
(#130) The string key "formlowlevelgreaterthan" is not in the correct order, it should be before "formminquestgreaterthan"
(#134) The string key "formelementdecimal" is not in the correct order, it should be before "standarderror_help"
(#135) The string key "attemptfeedback" is not in the correct order, it should be before "formelementdecimal"
(#139) The string key "startattemptbtn" is not in the correct order, it should be before "submitanswer"
(#140) The string key "errorfetchingquest" is not in the correct order, it should be before "startattemptbtn"
(#142) The string key "errorattemptstate" is not in the correct order, it should be before "leveloutofbounds"
(#144) The string key "maxquestattempted" is not in the correct order, it should be before "nopermission"
(#146) The string key "noattemptsallowed" is not in the correct order, it should be before "notyourattempt"
(#148) The string key "numofattemptshdr" is not in the correct order, it should be before "updateattempterror"
(#150) The string key "errorlastattpquest" is not in the correct order, it should be before "standarderrorhdr"
(#153) The string key "calcerrorwithinlimits" is not in the correct order, it should be before "errorsumrightwrong"
(#158) The string key "notinprogress" is not in the correct order, it should be before "recentinprogress"
(#160) The string key "functiondisabledbysecuremode" is not in the correct order, it should be before "recentcomplete"
(#161) The string key "enterrequiredpassword" is not in the correct order, it should be before "functiondisabledbysecuremode"
(#164) The string key "attemptstate" is not in the correct order, it should be before "wrongpassword"
(#167) The string key "attemptfinishedtimestamp" is not in the correct order, it should be before "questionsattempted"
(#169) The string key "indvuserreport" is not in the correct order, it should be before "reviewattempt"
(#170) The string key "activityreports" is not in the correct order, it should be before "indvuserreport"
(#172) The string key "reviewattemptreport" is not in the correct order, it should be before "stopingconditionshdr"
(#173) The string key "deleteattemp" is not in the correct order, it should be before "reviewattemptreport"
(#174) The string key "confirmdeleteattempt" is not in the correct order, it should be before "deleteattemp"
(#175) The string key "attemptdeleted" is not in the correct order, it should be before "confirmdeleteattempt"
(#179) The string key "confirmcloseattemptscore" is not in the correct order, it should be before "confirmcloseattemptstats"
(#180) The string key "attemptclosedstatus" is not in the correct order, it should be before "confirmcloseattemptscore"
(#181) The string key "attemptclosed" is not in the correct order, it should be before "attemptclosedstatus"
(#185) The string key "bestscore" is not in the correct order, it should be before "score"
(#187) The string key "attempt_questiondetails" is not in the correct order, it should be before "bestscorestderror"
(#190) The string key "attempt_user" is not in the correct order, it should be before "attempttotaltime"
(#191) The string key "attempt_state" is not in the correct order, it should be before "attempt_user"
(#194) The string key "attemptquestion_difficulty" is not in the correct order, it should be before "attemptquestion_rightwrong"
(#196) The string key "attemptquestion_abilitylogits" is not in the correct order, it should be before "attemptquestion_diffsum"
(#200) The string key "na" is not in the correct order, it should be before "questionnumber"
(#201) The string key "downloadcsv" is not in the correct order, it should be before "na"
(#204) The string key "gradehighest" is not in the correct order, it should be before "grademethod"
(#205) The string key "attemptfirst" is not in the correct order, it should be before "gradehighest"
(#213) The string key "all_attempts_deleted" is not in the correct order, it should be before "resetadaptivequizsall"
(#217) The string key "id" is not in the correct order, it should be before "questionanalysisbtn"
(#220) The string key "question_report" is not in the correct order, it should be before "questions_report"
(#222) The string key "percent_correct_display_name" is not in the correct order, it should be before "times_used_display_name"
(#223) The string key "discrimination_display_name" is not in the correct order, it should be before "percent_correct_display_name"
(#224) The string key "back_to_all_questions" is not in the correct order, it should be before "discrimination_display_name"
(#225) The string key "answers_display_name" is not in the correct order, it should be before "back_to_all_questions"
(#226) The string key "answer" is not in the correct order, it should be before "answers_display_name"
(#229) The string key "highlevelusers" is not in the correct order, it should be before "value"
(#231) The string key "lowlevelusers" is not in the correct order, it should be before "midlevelusers"
(#233) The string key "result" is not in the correct order, it should be before "user"
mod/adaptivequiz/lang/fr/adaptivequiz.php
(#1) DocBlock missing a @package tag for file adaptivequiz.php. Expected @package mod_adaptivequiz
(#27) The string key "modulename" is not in the correct order, it should be before "modulenameplural"
(#45) The string key "nonewmodules" is not in the correct order, it should be before "pluginname"
(#46) The string key "adaptivequizname" is not in the correct order, it should be before "nonewmodules"
(#48) The string key "adaptivequiz:addinstance" is not in the correct order, it should be before "adaptivequizname_help"
(#50) The string key "adaptivequiz:reviewattempts" is not in the correct order, it should be before "adaptivequiz:viewreport"
(#51) The string key "adaptivequiz:attempt" is not in the correct order, it should be before "adaptivequiz:reviewattempts"
(#56) The string key "browsersecurity" is not in the correct order, it should be before "requirepassword_help"
(#60) The string key "maximumquestions" is not in the correct order, it should be before "minimumquestions_help"
(#64) The string key "lowestlevel" is not in the correct order, it should be before "startinglevel_help"
(#66) The string key "highestlevel" is not in the correct order, it should be before "lowestlevel_help"
(#70) The string key "formelementempty" is not in the correct order, it should be before "questionpool_help"
(#72) The string key "formelementnegative" is not in the correct order, it should be before "formelementnumeric"
(#74) The string key "formlowlevelgreaterthan" is not in the correct order, it should be before "formminquestgreaterthan"
(#78) The string key "formelementdecimal" is not in the correct order, it should be before "standarderror_help"
(#79) The string key "attemptfeedback" is not in the correct order, it should be before "formelementdecimal"
(#83) The string key "startattemptbtn" is not in the correct order, it should be before "submitanswer"
(#85) The string key "errorfetchingquest" is not in the correct order, it should be before "viewreportbtn"
(#87) The string key "errorattemptstate" is not in the correct order, it should be before "leveloutofbounds"
(#89) The string key "maxquestattempted" is not in the correct order, it should be before "nopermission"
(#91) The string key "noattemptsallowed" is not in the correct order, it should be before "notyourattempt"
(#93) The string key "numofattemptshdr" is not in the correct order, it should be before "updateattempterror"
(#95) The string key "errorlastattpquest" is not in the correct order, it should be before "standarderrorhdr"
(#98) The string key "calcerrorwithinlimits" is not in the correct order, it should be before "errorsumrightwrong"
(#103) The string key "notinprogress" is not in the correct order, it should be before "recentinprogress"
(#105) The string key "functiondisabledbysecuremode" is not in the correct order, it should be before "recentcomplete"
(#106) The string key "enterrequiredpassword" is not in the correct order, it should be before "functiondisabledbysecuremode"
(#109) The string key "attemptstate" is not in the correct order, it should be before "wrongpassword"
(#112) The string key "attemptfinishedtimestamp" is not in the correct order, it should be before "questionsattempted"
(#115) The string key "indvuserreport" is not in the correct order, it should be before "reviewattempt"
(#116) The string key "activityreports" is not in the correct order, it should be before "indvuserreport"
(#118) The string key "backtoviewattemptreport" is not in the correct order, it should be before "stopingconditionshdr"
(#121) The string key "deleteattemp" is not in the correct order, it should be before "reviewattemptreport"
(#122) The string key "confirmdeleteattempt" is not in the correct order, it should be before "deleteattemp"
(#123) The string key "attemptdeleted" is not in the correct order, it should be before "confirmdeleteattempt"
(#127) The string key "confirmcloseattemptscore" is not in the correct order, it should be before "confirmcloseattemptstats"
(#128) The string key "attemptclosedstatus" is not in the correct order, it should be before "confirmcloseattemptscore"
(#129) The string key "attemptclosed" is not in the correct order, it should be before "attemptclosedstatus"
(#132) The string key "backtoviewattemptreport" is duplicated
(#133) The string key "backtoviewreport" is duplicated
(#134) The string key "reviewattemptreport" is duplicated
(#136) The string key "bestscore" is not in the correct order, it should be before "score"
(#138) The string key "attempt_summary" is not in the correct order, it should be before "bestscorestderror"
(#140) The string key "attempt_questiondetails" is not in the correct order, it should be before "scoring_table"
(#143) The string key "attempt_user" is not in the correct order, it should be before "attempttotaltime"
(#144) The string key "attempt_state" is not in the correct order, it should be before "attempt_user"
(#146) The string key "attemptquestion_level" is not in the correct order, it should be before "attemptquestion_num"
(#148) The string key "attemptquestion_ability" is not in the correct order, it should be before "attemptquestion_rightwrong"
(#150) The string key "attemptquestion_difficulty" is not in the correct order, it should be before "attemptquestion_error"
(#152) The string key "attemptquestion_abilitylogits" is not in the correct order, it should be before "attemptquestion_diffsum"
(#155) The string key "graphlegend_error" is not in the correct order, it should be before "graphlegend_target"
(#156) The string key "answerdistgraph_title" is not in the correct order, it should be before "graphlegend_error"
(#157) The string key "answerdistgraph_questiondifficulty" is not in the correct order, it should be before "answerdistgraph_title"
(#158) The string key "answerdistgraph_numrightwrong" is not in the correct order, it should be before "answerdistgraph_questiondifficulty"
(#162) The string key "na" is not in the correct order, it should be before "questionnumber"
(#163) The string key "downloadcsv" is not in the correct order, it should be before "na"
(#166) The string key "gradehighest" is not in the correct order, it should be before "grademethod"
(#167) The string key "attemptfirst" is not in the correct order, it should be before "gradehighest"
(#177) The string key "all_attempts_deleted" is not in the correct order, it should be before "resetadaptivequizsall"
(#180) The string key "id" is not in the correct order, it should be before "questionanalysisbtn"
(#183) The string key "question_report" is not in the correct order, it should be before "questions_report"
(#185) The string key "percent_correct_display_name" is not in the correct order, it should be before "times_used_display_name"
(#186) The string key "discrimination_display_name" is not in the correct order, it should be before "percent_correct_display_name"
(#187) The string key "back_to_all_questions" is not in the correct order, it should be before "discrimination_display_name"
(#188) The string key "answers_display_name" is not in the correct order, it should be before "back_to_all_questions"
(#189) The string key "answer" is not in the correct order, it should be before "answers_display_name"
(#192) The string key "highlevelusers" is not in the correct order, it should be before "value"
(#194) The string key "lowlevelusers" is not in the correct order, it should be before "midlevelusers"
(#196) The string key "result" is not in the correct order, it should be before "user"
mod/adaptivequiz/lib.php
(#183) Short array syntax must be used to define arrays
(#213) Short array syntax must be used to define arrays
(#219) Short array syntax must be used to define arrays
(#227) Short array syntax must be used to define arrays
(#231) Short array syntax must be used to define arrays
(#232) Short array syntax must be used to define arrays
(#236) Short array syntax must be used to define arrays
(#306) Short array syntax must be used to define arrays
(#312) Short array syntax must be used to define arrays
(#376) Short array syntax must be used to define arrays
(#432) Short array syntax must be used to define arrays
(#436) Short array syntax must be used to define arrays
(#437) Short array syntax must be used to define arrays
(#445) Short array syntax must be used to define arrays
(#448) Short array syntax must be used to define arrays
(#451) Short array syntax must be used to define arrays
(#459) Short array syntax must be used to define arrays
(#463) Short array syntax must be used to define arrays
(#468) Short array syntax must be used to define arrays
(#471) Short array syntax must be used to define arrays
(#508) Docblock tag "@example" is not recommended.
(#512) Short array syntax must be used to define arrays
(#555) Short array syntax must be used to define arrays
(#573) Short array syntax must be used to define arrays
(#575) Short array syntax must be used to define arrays
(#595) Missing docblock for function adaptivequiz_update_grades
(#627) Short array syntax must be used to define arrays
(#641) Short array syntax must be used to define arrays
(#645) Short array syntax must be used to define arrays
(#647) Short array syntax must be used to define arrays
(#655) Short array syntax must be used to define arrays
(#659) Short array syntax must be used to define arrays
(#668) Short array syntax must be used to define arrays
(#686) Short array syntax must be used to define arrays
mod/adaptivequiz/locallib.php
(#1) DocBlock missing a @package tag for file locallib.php. Expected @package mod_adaptivequiz
(#65) DocBlock missing a @package tag for function adaptivequiz_get_question_categories. Expected @package mod_adaptivequiz
(#67) Short array syntax must be used to define arrays
(#70) Short array syntax must be used to define arrays
(#94) DocBlock missing a @package tag for function adaptivequiz_make_default_categories. Expected @package mod_adaptivequiz
(#100) Short array syntax must be used to define arrays
(#111) DocBlock missing a @package tag for function adaptivequiz_get_selected_question_cateogires. Expected @package mod_adaptivequiz
(#114) Short array syntax must be used to define arrays
(#117) Short array syntax must be used to define arrays
(#120) Short array syntax must be used to define arrays
(#123) Short array syntax must be used to define arrays
(#140) DocBlock missing a @package tag for function adaptivequiz_count_user_previous_attempts. Expected @package mod_adaptivequiz
(#147) Short array syntax must be used to define arrays
(#159) DocBlock missing a @package tag for function adaptivequiz_allowed_attempt. Expected @package mod_adaptivequiz
(#174) DocBlock missing a @package tag for function adaptivequiz_uniqueid_part_of_attempt. Expected @package mod_adaptivequiz
(#177) Short array syntax must be used to define arrays
(#192) DocBlock missing a @package tag for function adaptivequiz_update_attempt_data. Expected @package mod_adaptivequiz
(#200) Short array syntax must be used to define arrays
(#231) DocBlock missing a @package tag for function adaptivequiz_complete_attempt. Expected @package mod_adaptivequiz
(#258) There should be a comma after the last array item in a multi-line array.
(#272) DocBlock missing a @package tag for function adaptivequiz_min_attempts_reached. Expected @package mod_adaptivequiz
(#284) Short array syntax must be used to define arrays
(#295) DocBlock missing a @package tag for function adaptivequiz_user_entered_password. Expected @package mod_adaptivequiz
(#309) DocBlock missing a @package tag for function adaptivequiz_get_difficulty_from_tags. Expected @package mod_adaptivequiz
(#323) No one-line description found in phpdocs for docblock of function adaptivequiz_get_grading_options
(#323) DocBlock missing a @package tag for function adaptivequiz_get_grading_options. Expected @package mod_adaptivequiz
(#324) Short array syntax must be used to define arrays
(#327) There should be a comma after the last array item in a multi-line array.
(#339) DocBlock missing a @package tag for function adaptivequiz_get_user_grades. Expected @package mod_adaptivequiz
(#342) Short array syntax must be used to define arrays
(#360) Short array syntax must be used to define arrays
mod/adaptivequiz/mod_form.php
(#1) DocBlock missing a @package tag for file mod_form.php. Expected @package mod_adaptivequiz
(#35) DocBlock missing a @package tag for class mod_adaptivequiz_mod_form. Expected @package mod_adaptivequiz
(#37) Missing docblock for function definition
(#175) Missing docblock for function add_completion_rules
(#183) Missing docblock for function completion_rule_enabled
(#257) No one-line description found in phpdocs for docblock of function validate_questions_pool
mod/adaptivequiz/questionanalysis/overview.php
(#1) No one-line description found in phpdocs for docblock of file overview.php
(#1) DocBlock missing a @package tag for file overview.php. Expected @package mod_adaptivequiz
(#40) Short array syntax must be used to define arrays
(#49) Short array syntax must be used to define arrays
(#50) Short array syntax must be used to define arrays
(#76) Short array syntax must be used to define arrays
mod/adaptivequiz/questionanalysis/single.php
(#1) No one-line description found in phpdocs for docblock of file single.php
(#1) DocBlock missing a @package tag for file single.php. Expected @package mod_adaptivequiz
(#42) Short array syntax must be used to define arrays
(#51) Short array syntax must be used to define arrays
(#58) Short array syntax must be used to define arrays
(#82) Short array syntax must be used to define arrays
mod/adaptivequiz/renderer.php
(#52) Short array syntax must be used to define arrays
(#63) There should be a comma after the last array item in a multi-line array.
(#92) Short array syntax must be used to define arrays
(#95) Short array syntax must be used to define arrays
(#97) Short array syntax must be used to define arrays
(#97) Short array syntax must be used to define arrays
(#97) Short array syntax must be used to define arrays
(#98) Short array syntax must be used to define arrays
(#98) There should be a comma after the last array item in a multi-line array.
(#117) Short array syntax must be used to define arrays
(#136) Short array syntax must be used to define arrays
(#138) Short array syntax must be used to define arrays
(#140) Short array syntax must be used to define arrays
(#142) Short array syntax must be used to define arrays
(#144) Short array syntax must be used to define arrays
(#178) No one-line description found in phpdocs for docblock of function attempt_feedback
(#237) Short array syntax must be used to define arrays
(#279) Short array syntax must be used to define arrays
(#284) Short array syntax must be used to define arrays
(#294) Short array syntax must be used to define arrays
(#312) Short array syntax must be used to define arrays
(#317) Short array syntax must be used to define arrays
(#322) Short array syntax must be used to define arrays
(#327) Short array syntax must be used to define arrays
(#332) Short array syntax must be used to define arrays
(#337) Short array syntax must be used to define arrays
(#342) Short array syntax must be used to define arrays
(#357) Short array syntax must be used to define arrays
(#369) Short array syntax must be used to define arrays
(#374) Short array syntax must be used to define arrays
(#383) Short array syntax must be used to define arrays
(#387) Short array syntax must be used to define arrays
(#403) Short array syntax must be used to define arrays
(#423) Short array syntax must be used to define arrays
(#453) Short array syntax must be used to define arrays
(#453) Short array syntax must be used to define arrays
(#466) Short array syntax must be used to define arrays
(#473) Short array syntax must be used to define arrays
(#628) Missing docblock for function attempt_review_tabs
(#690) Missing docblock for function reset_users_attempts_filter_action
(#905) Missing docblock for function render_ability_measure
(#919) Missing docblock for function render_user_attempt_summary
(#1047) Short array syntax must be used to define arrays
(#1065) Short array syntax must be used to define arrays
mod/adaptivequiz/tests/attempt_state_change_observers_test.php
(#36) Unit test attempt_state_change_observers_test should be declared as final.
mod/adaptivequiz/tests/completion/custom_completion_test.php
(#1) No one-line description found in phpdocs for docblock of file custom_completion_test.php
(#1) DocBlock missing a @package tag for file custom_completion_test.php. Expected @package mod_adaptivequiz
(#36) Unit test custom_completion_test should be declared as final.
(#36) No one-line description found in phpdocs for docblock of class custom_completion_test
(#36) DocBlock missing a @package tag for class custom_completion_test. Expected @package mod_adaptivequiz
(#38) There must be a single space between the colon and type in a return type declaration
(#66) Missing docblock for function setup_test_data_xml in testcase
mod/adaptivequiz/tests/generator_test.php
(#33) Unit test generator_test should be declared as final.
(#35) Test method test_generator() is missing a return type
mod/adaptivequiz/tests/lib_test.php
(#1) DocBlock missing a @package tag for file lib_test.php. Expected @package mod_adaptivequiz
(#40) Unit test lib_test should be declared as final.
(#40) No one-line description found in phpdocs for docblock of class lib_test
(#40) DocBlock missing a @package tag for class lib_test. Expected @package mod_adaptivequiz
(#54) Data provider method "questioncat_association_records" will need to be converted to static in future.
(#54) Data provider method "questioncat_association_records" will need to be converted to static in future.
(#54) Data provider method "questioncat_association_records" must return an array, a Generator or an Iterable.
(#54) Data provider method "questioncat_association_records" must return an array, a Generator or an Iterable.
(#55) Short array syntax must be used to define arrays
(#58) Short array syntax must be used to define arrays
(#59) Short array syntax must be used to define arrays
(#62) Short array syntax must be used to define arrays
(#63) Short array syntax must be used to define arrays
(#66) Short array syntax must be used to define arrays
(#67) Short array syntax must be used to define arrays
(#81) Test method test_questioncat_association_insert() is missing a return type
(#89) Short array syntax must be used to define arrays
(#93) Short array syntax must be used to define arrays
(#97) Short array syntax must be used to define arrays
(#110) Test method test_questioncat_association_update() is missing a return type
(#119) Short array syntax must be used to define arrays
(#122) Short array syntax must be used to define arrays
(#127) Short array syntax must be used to define arrays
(#130) Short array syntax must be used to define arrays
(#135) Short array syntax must be used to define arrays
(#138) Short array syntax must be used to define arrays
(#147) Test method test_adaptivequiz_delete_instance() is missing a return type
(#156) Short array syntax must be used to define arrays
(#157) Short array syntax must be used to define arrays
(#158) Short array syntax must be used to define arrays
(#159) Short array syntax must be used to define arrays
(#167) Test method test_adaptivequiz_print_recent_mod_activity_details_true() is missing a return type
(#191) Short array syntax must be used to define arrays
(#206) Test method test_adaptivequiz_print_recent_mod_activity_details_false() is missing a return type
(#230) Short array syntax must be used to define arrays
mod/adaptivequiz/tests/local/attempt_test.php
(#39) Unit test attempt_test should be declared as final.
(#79) Short array syntax must be used to define arrays
(#86) Short array syntax must be used to define arrays
(#87) There should be a comma after the last array item in a multi-line array.
(#99) Test method test_get_attempt() is missing a return type
(#130) Missing docblock for function it_fails_to_set_quba_for_an_attempt_with_an_invalid_argument in testcase
(#145) Test method test_set_get_quba() is missing a return type
(#168) Test method test_max_questions_answered() is missing a return type
(#200) Test method test_min_questions_answered() is missing a return type
(#232) Test method test_return_random_question() is missing a return type
(#242) Short array syntax must be used to define arrays
(#254) Test method test_initialize_quba() is missing a return type
(#270) Test method test_initialize_quba_with_existing_attempt_uniqueid() is missing a return type
(#276) Short array syntax must be used to define arrays
(#292) Test method test_find_last_quest_used_by_attempt() is missing a return type
(#298) Short array syntax must be used to define arrays
(#311) Invalid docblock tag "@test".
(#313) No one-line description found in phpdocs for docblock of function it_fails_to_find_the_last_question_used_by_attempt_with_an_invalid_argument
(#327) Test method test_find_last_umarked_question_using_bad_data() is missing a return type
(#353) Test method test_was_answer_submitted_to_question_with_graded_right() is missing a return type
(#362) Short array syntax must be used to define arrays
(#362) Short array syntax must be used to define arrays
(#379) Test method test_was_answer_submitted_to_question_with_graded_wrong() is missing a return type
(#388) Short array syntax must be used to define arrays
(#388) Short array syntax must be used to define arrays
(#405) Test method test_was_answer_submitted_to_question_with_graded_partial() is missing a return type
(#414) Short array syntax must be used to define arrays
(#414) Short array syntax must be used to define arrays
(#431) Test method test_was_answer_submitted_to_question_with_graded_gaveup() is missing a return type
(#440) Short array syntax must be used to define arrays
(#440) Short array syntax must be used to define arrays
(#457) Test method test_was_answer_submitted_to_question_with_graded_todo() is missing a return type
(#466) Short array syntax must be used to define arrays
(#466) Short array syntax must be used to define arrays
(#484) Test method test_set_get_question_slot_number() is missing a return type
(#500) Test method test_set_get_question_level() is missing a return type
(#516) Test method test_get_question_mark_with_quba_return_float() is missing a return type
(#520) Short array syntax must be used to define arrays
(#520) Short array syntax must be used to define arrays
(#536) Test method test_get_question_mark_with_quba_return_non_float() is missing a return type
(#540) Short array syntax must be used to define arrays
(#540) Short array syntax must be used to define arrays
(#556) Test method test_get_question_mark_with_quba_return_non_null() is missing a return type
(#560) Short array syntax must be used to define arrays
(#560) Short array syntax must be used to define arrays
(#576) Test method test_start_attempt_max_num_of_quest_answered() is missing a return type
(#592) Test method test_start_attempt_quest_slot_empty_quest_submit_greater_than_one() is missing a return type
(#632) Test method test_level_in_bounds() is missing a return type
(#652) Test method test_get_all_questions_in_attempt() is missing a return type
(#662) Short array syntax must be used to define arrays
(#666) Invalid docblock tag "@test".
(#668) No one-line description found in phpdocs for docblock of function it_can_check_if_a_user_has_a_completed_attempt_on_a_quiz
mod/adaptivequiz/tests/local/catalgo_test.php
(#1) DocBlock missing a @package tag for file catalgo_test.php. Expected @package mod_adaptivequiz
(#41) Unit test catalgo_test should be declared as final.
(#41) No one-line description found in phpdocs for docblock of class catalgo_test
(#41) DocBlock missing a @package tag for class catalgo_test. Expected @package mod_adaptivequiz
(#56) Test method test_init_catalgo_no_quba_object_instance() is missing a return type
(#66) Test method test_init_catalgo_negative_int_throw_except() is missing a return type
(#69) Short array syntax must be used to define arrays
(#69) Short array syntax must be used to define arrays
(#78) Test method test_init_catalgo_no_level_throw_except() is missing a return type
(#81) Short array syntax must be used to define arrays
(#81) Short array syntax must be used to define arrays
(#90) Test method test_retrieve_attempt_record() is missing a return type
(#94) Short array syntax must be used to define arrays
(#94) Short array syntax must be used to define arrays
(#114) Test method test_retrieve_illegit_attempt_record_throw_except() is missing a return type
(#118) Short array syntax must be used to define arrays
(#118) Short array syntax must be used to define arrays
(#129) Test method test_quest_was_marked_correct_no_submit_prev_quest_fail() is missing a return type
(#151) Test method test_quest_was_marked_correct_zero_slot_number_fail() is missing a return type
(#169) Test method test_quest_was_marked_correct_mark_is_null_fail() is missing a return type
(#193) Test method test_quest_was_marked_correct_mark_zero() is missing a return type
(#217) Test method test_quest_was_marked_correct_mark_non_zero() is missing a return type
(#241) Test method test_retrieve_standard_error() is missing a return type
(#256) Test method test_retrieve_standard_error_throw_excep() is missing a return type
(#272) Test method test_compute_next_difficulty_zero_min_one_hundred_max() is missing a return type
(#308) Test method test_compute_next_difficulty_one_min_ten_max_compute_infinity() is missing a return type
(#329) Test method test_get_question_mark() is missing a return type
(#358) Test method test_compute_right_answers() is missing a return type
(#379) Test method test_compute_right_answers_none_correct() is missing a return type
(#391) Short array syntax must be used to define arrays
(#401) Test method test_compute_right_answers_null_return_from_get_question_mark() is missing a return type
(#412) Short array syntax must be used to define arrays
(#422) Test method test_compute_wrong_answers() is missing a return type
(#434) Short array syntax must be used to define arrays
(#444) Test method test_compute_wrong_answers_all_correct() is missing a return type
(#456) Short array syntax must be used to define arrays
(#466) Test method test_compute_wrong_answers_null_return_from_get_question_mark() is missing a return type
(#477) Short array syntax must be used to define arrays
(#487) Test method test_estimate_measure() is missing a return type
(#490) Short array syntax must be used to define arrays
(#490) Short array syntax must be used to define arrays
(#503) Test method test_estimate_standard_error() is missing a return type
(#506) Short array syntax must be used to define arrays
(#506) Short array syntax must be used to define arrays
(#518) Test method test_perform_calc_steps_marked_correct_return_null_fail() is missing a return type
(#559) Test method test_perform_calc_steps_right_ans_ret_zero_but_return_non_zero() is missing a return type
(#598) Test method test_perform_calc_steps_wrong_ans_return_zero_but_return_non_zero() is missing a return type
(#634) Test method test_perform_calc_steps_quest_attempted_return_zero_fail() is missing a return type
(#678) Test method test_perform_calc_steps_sum_corr_and_incorr_not_equl_sum_quest_attempt_fail() is missing a return type
(#721) Test method test_perform_calculation_steps_nostop_correct_answer() is missing a return type
(#773) Test method test_perform_calculation_steps_nostop_incorrect_answer() is missing a return type
(#825) Test method test_perform_calculation_steps_stop_no_fail() is missing a return type
(#881) Test method test_standard_error_within_parameters_return_true_then_false() is missing a return type
(#897) Test method test_get_current_diff_level_using_level_zero() is missing a return type
(#924) Test method test_get_current_diff_level_using_no_quba() is missing a return type
(#951) Test method test_get_current_diff_level_using_no_attempt_obj() is missing a return type
(#976) Test method test_get_current_diff_level_using_attempt_obj_missing_lowestlevel() is missing a return type
(#1002) Test method test_get_current_diff_level_using_attempt_obj_missing_highestlevel() is missing a return type
(#1028) Test method test_get_current_diff_level() is missing a return type
(#1057) Test method test_convert_percent_to_logit_using_param_less_than_zero() is missing a return type
(#1067) Test method test_convert_percent_to_logit_using_param_greater_than_decimal_five() is missing a return type
(#1077) Test method test_convert_percent_to_logit() is missing a return type
(#1087) Test method test_convert_logit_to_percent_using_param_less_than_zero() is missing a return type
(#1097) Test method test_convert_logit_to_percent() is missing a return type
(#1107) Test method test_map_logit_to_scale() is missing a return type
mod/adaptivequiz/tests/local/fetchquestion_test.php
(#1) DocBlock missing a @package tag for file fetchquestion_test.php. Expected @package mod_adaptivequiz
(#41) Unit test fetchquestion_test should be declared as final.
(#41) No one-line description found in phpdocs for docblock of class fetchquestion_test
(#41) DocBlock missing a @package tag for class fetchquestion_test. Expected @package mod_adaptivequiz
(#84) Short array syntax must be used to define arrays
(#91) Short array syntax must be used to define arrays
(#92) There should be a comma after the last array item in a multi-line array.
(#121) Short array syntax must be used to define arrays
(#128) Short array syntax must be used to define arrays
(#129) There should be a comma after the last array item in a multi-line array.
(#141) Test method test_find_questions_fail_tag_ids() is missing a return type
(#174) Test method test_find_questions_fail_question_cat() is missing a return type
(#210) Test method test_find_questions_exclude() is missing a return type
(#237) Test method test_get_set_level() is missing a return type
(#252) Invalid docblock tag "@test".
(#254) No one-line description found in phpdocs for docblock of function it_fails_when_instantiated_with_a_zero_difficulty_level
(#262) Invalid docblock tag "@test".
(#264) No one-line description found in phpdocs for docblock of function it_fails_when_instantiated_with_a_negative_difficulty_level
(#272) Invalid docblock tag "@test".
(#274) No one-line description found in phpdocs for docblock of function it_fails_when_instantiated_with_a_difficulty_level_as_a_string
(#285) Test method test_retrieve_tag() is missing a return type
(#306) Test method test_fetch_question_initalize_tags_with_quest_count_return_empty_array() is missing a return type
(#333) Test method test_fetch_question_requested_level_has_questions() is missing a return type
(#359) Short array syntax must be used to define arrays
(#359) Short array syntax must be used to define arrays
(#372) Test method test_fetch_question_one_level_higher_has_questions() is missing a return type
(#411) Test method test_fetch_question_five_levels_higher_has_questions() is missing a return type
(#450) Test method test_fetch_question_four_levels_lower_has_questions() is missing a return type
(#487) Test method test_fetch_question_search_outside_min_max_bounds() is missing a return type
(#515) Invalid docblock tag "@test".
(#517) No one-line description found in phpdocs for docblock of function it_retrieves_all_tag_ids
(#531) Invalid docblock tag "@test".
(#533) No one-line description found in phpdocs for docblock of function it_throws_an_exception_when_retrieves_all_tag_ids_for_an_empty_tag_prefix
(#544) Data provider method "constructor_throw_coding_exception_provider" will need to be converted to static in future.
(#544) Data provider method "constructor_throw_coding_exception_provider" must return an array, a Generator or an Iterable.
(#545) Short array syntax must be used to define arrays
(#546) Short array syntax must be used to define arrays
(#547) Short array syntax must be used to define arrays
(#548) Short array syntax must be used to define arrays
(#548) There should be a comma after the last array item in a multi-line array.
(#562) Test method test_constructor_throw_coding_exception() is missing a return type
(#572) Test method test_initalize_tags_with_quest_count() is missing a return type
(#614) Test method test_initalize_tags_with_quest_count_pre_built_quest_sum_struct_rebuild_true() is missing a return type
(#655) Test method test_decrement_question_sum_from_difficulty() is missing a return type
(#659) Short array syntax must be used to define arrays
(#660) Short array syntax must be used to define arrays
(#670) Test method test_decrement_question_sum_from_difficulty_user_missing_key() is missing a return type
(#674) Short array syntax must be used to define arrays
(#675) Short array syntax must be used to define arrays
mod/adaptivequiz/tests/local/report/questions_difficulty_range_test.php
(#1) No one-line description found in phpdocs for docblock of file questions_difficulty_range_test.php
(#1) DocBlock missing a @package tag for file questions_difficulty_range_test.php. Expected @package mod_adaptivequiz
(#30) Unit test questions_difficulty_range_test should be declared as final.
(#30) No one-line description found in phpdocs for docblock of class questions_difficulty_range_test
(#30) DocBlock missing a @package tag for class questions_difficulty_range_test. Expected @package mod_adaptivequiz
mod/adaptivequiz/tests/local/report/users_attempts/user_preferences/filter_user_preferences_test.php
(#1) No one-line description found in phpdocs for docblock of file filter_user_preferences_test.php
(#1) DocBlock missing a @package tag for file filter_user_preferences_test.php. Expected @package mod_adaptivequiz
(#30) Unit test filter_user_preferences_test should be declared as final.
(#30) No one-line description found in phpdocs for docblock of class filter_user_preferences_test
(#30) DocBlock missing a @package tag for class filter_user_preferences_test. Expected @package mod_adaptivequiz
mod/adaptivequiz/tests/local/report/users_attempts/user_preferences/user_preferences_repository_test.php
(#1) No one-line description found in phpdocs for docblock of file user_preferences_repository_test.php
(#1) DocBlock missing a @package tag for file user_preferences_repository_test.php. Expected @package mod_adaptivequiz
(#29) Unit test user_preferences_repository_test should be declared as final.
(#29) No one-line description found in phpdocs for docblock of class user_preferences_repository_test
(#29) DocBlock missing a @package tag for class user_preferences_repository_test. Expected @package mod_adaptivequiz
mod/adaptivequiz/tests/local/report/users_attempts/user_preferences/user_preferences_test.php
(#1) No one-line description found in phpdocs for docblock of file user_preferences_test.php
(#1) DocBlock missing a @package tag for file user_preferences_test.php. Expected @package mod_adaptivequiz
(#31) Unit test user_preferences_test should be declared as final.
(#31) No one-line description found in phpdocs for docblock of class user_preferences_test
(#31) DocBlock missing a @package tag for class user_preferences_test. Expected @package mod_adaptivequiz
mod/adaptivequiz/tests/local/repository/questions_repository_test.php
(#1) No one-line description found in phpdocs for docblock of file questions_repository_test.php
(#1) DocBlock missing a @package tag for file questions_repository_test.php. Expected @package mod_adaptivequiz
(#38) Unit test questions_repository_test should be declared as final.
(#38) No one-line description found in phpdocs for docblock of class questions_repository_test
(#38) DocBlock missing a @package tag for class questions_repository_test. Expected @package mod_adaptivequiz
(#214) No one-line description found in phpdocs for docblock of function create_question_tag
mod/adaptivequiz/tests/local/repository/tags_repository_test.php
(#1) No one-line description found in phpdocs for docblock of file tags_repository_test.php
(#1) DocBlock missing a @package tag for file tags_repository_test.php. Expected @package mod_adaptivequiz
(#33) Unit test tags_repository_test should be declared as final.
(#33) No one-line description found in phpdocs for docblock of class tags_repository_test
(#33) DocBlock missing a @package tag for class tags_repository_test. Expected @package mod_adaptivequiz
mod/adaptivequiz/tests/locallib_test.php
(#38) Unit test locallib_test should be declared as final.
(#53) Data provider method "fail_attempt_data" will need to be converted to static in future.
(#53) Data provider method "fail_attempt_data" must return an array, a Generator or an Iterable.
(#54) Short array syntax must be used to define arrays
(#55) Short array syntax must be used to define arrays
(#56) Short array syntax must be used to define arrays
(#57) Short array syntax must be used to define arrays
(#67) Data provider method "attempts_allowed_data_fail" will need to be converted to static in future.
(#67) Data provider method "attempts_allowed_data_fail" must return an array, a Generator or an Iterable.
(#68) Short array syntax must be used to define arrays
(#69) Short array syntax must be used to define arrays
(#70) Short array syntax must be used to define arrays
(#80) Data provider method "attempts_allowed_data" will need to be converted to static in future.
(#80) Data provider method "attempts_allowed_data" must return an array, a Generator or an Iterable.
(#81) Short array syntax must be used to define arrays
(#82) Short array syntax must be used to define arrays
(#83) Short array syntax must be used to define arrays
(#110) Test method test_get_question_categories() is missing a return type
(#147) Test method test_get_selected_question_cateogires() is missing a return type
(#165) Test method test_count_user_previous_attempts_fail() is missing a return type
(#180) Test method test_count_user_previous_attempts_inprogress() is missing a return type
(#198) Test method test_allowed_attempt_no_more_attempts_allowed() is missing a return type
(#212) Test method test_allowed_attempt() is missing a return type
(#222) Test method test_adaptivequiz_uniqueid_part_of_attempt() is missing a return type
(#239) Test method test_adaptivequiz_update_attempt_data() is missing a return type
(#260) Test method test_adaptivequiz_update_attempt_data_using_infinite_value() is missing a return type
(#277) Test method test_adaptivequiz_complete_attempt() is missing a return type
(#299) Invalid docblock tag "@test".
(#302) No one-line description found in phpdocs for docblock of function event_is_triggered_on_attempt_completion
(#345) Test method test_adaptivequiz_min_attempts_reached() is missing a return type
mod/adaptivequiz/tests/renderer_test.php
(#1) DocBlock missing a @package tag for file renderer_test.php. Expected @package mod_adaptivequiz
(#44) Unit test renderer_test should be declared as final.
(#44) No one-line description found in phpdocs for docblock of class renderer_test
(#44) DocBlock missing a @package tag for class renderer_test. Expected @package mod_adaptivequiz
(#70) Test method test_init_metadata_with_integer() is missing a return type
(#87) Test method test_print_form_and_button() is missing a return type
(#91) Short array syntax must be used to define arrays
(#109) Test method test_format_report_table_headers() is missing a return type
mod/adaptivequiz/viewattemptreport.php
(#1) DocBlock missing a @package tag for file viewattemptreport.php. Expected @package mod_adaptivequiz

Javascript coding style problems

(10 errors, 26 warnings)

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

mod/adaptivequiz/amd/src/attempt_administration_chart_output.js
(#46) Unexpected space before function parentheses. (space-before-function-paren)
(#57) Unexpected space before function parentheses. (space-before-function-paren)
(#88) Unexpected space before function parentheses. (space-before-function-paren)
(#115) Unexpected space before function parentheses. (space-before-function-paren)
(#139) Unexpected space before function parentheses. (space-before-function-paren)
(#164) Unexpected space before function parentheses. (space-before-function-paren)
mod/adaptivequiz/amd/src/attempt_administration_chart_output_htmltable.js
(#27) Unexpected space before function parentheses. (space-before-function-paren)
mod/adaptivequiz/module.js
(#25) Identifier 'mod_adaptivequiz' is not in camel case. (camelcase)
(#27) Identifier 'init_attempt_form' is not in camel case. (camelcase)
(#29) Use '===' to compare with null. (no-eq-null)
(#38) 'e' is defined but never used. (no-unused-vars)
(#39) Missing semicolon. (semi)
(#45) Identifier 'secure_window' is not in camel case. (camelcase)
(#51) Multiple spaces found before 'M'. (no-multi-spaces)
(#52) Multiple spaces found before 'M'. (no-multi-spaces)
(#53) Multiple spaces found before 'M'. (no-multi-spaces)
(#55) Multiple spaces found before 'M'. (no-multi-spaces)
(#56) Multiple spaces found before 'M'. (no-multi-spaces)
(#57) Multiple spaces found before 'M'. (no-multi-spaces)
(#58) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
(#73) Identifier 'clear_status' is not in camel case. (camelcase)
(#79) Unexpected alert. (no-alert)
(#79) 'M.str' is restricted from being used. Use "core/str" module or M.util.get_string() (no-restricted-properties)
(#83) Identifier 'prevent_mouse' is not in camel case. (camelcase)
(#94) Identifier 'start_attempt_action' is not in camel case. (camelcase)
(#96) 'openpopup' is not defined. (no-undef)
(#101) 'openpopup' is not defined. (no-undef)
(#108) Identifier 'init_close_button' is not in camel case. (camelcase)
(#109) 'e' is defined but never used. (no-unused-vars)
(#110) Missing semicolon. (semi)
(#126) Identifier 'init_comment_popup' is not in camel case. (camelcase)
(#131) Statement inside of curly braces should be on next line. (brace-style)
(#131) Missing semicolon. (semi)
(#131) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#132) Missing semicolon. (semi)
(#134) Identifier 'init_reviewattempt' is not in camel case. (camelcase)

CSS problems

(1 errors, 0 warnings)

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

mod/adaptivequiz/styles.css
(#50) Unexpected !important (declaration-no-important)

PHPDocs style problems

(87 errors, 0 warnings)

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

mod/adaptivequiz/backup/moodle2/restore_adaptivequiz_activity_task.class.php
(#73) 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)]}
(#75) 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)]}
(#86) 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)]}
(#88) 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/adaptivequiz/backup/moodle2/restore_adaptivequiz_stepslib.php
(#55) Phpdocs for function restore_adaptivequiz_activity_structure_step::process_adaptivequiz has incomplete parameters list
(#74) Phpdocs for function restore_adaptivequiz_activity_structure_step::process_adaptivequiz_question has incomplete parameters list
(#93) Phpdocs for function restore_adaptivequiz_activity_structure_step::process_adaptivequiz_attempt has incomplete parameters list
mod/adaptivequiz/classes/completion/custom_completion.php
(#31) Phpdocs for function custom_completion::get_state has incomplete parameters list
mod/adaptivequiz/classes/local/attempt.php
(#417) Phpdocs for function attempt::was_answer_submitted_to_question has incomplete parameters list
(#532) Phpdocs for function attempt::get_all_questions_in_attempt has incomplete parameters list
(#545) Phpdocs for function attempt::user_has_completed_on_quiz has incomplete parameters list
mod/adaptivequiz/classes/local/catalgo.php
(#234) Phpdocs for function catalgo::was_answer_submitted_to_question has incomplete parameters list
(#582) Phpdocs for function catalgo::get_current_diff_level has incomplete parameters list
(#58) Inline phpdocs tag not enclosed with curly brackets @see found
(#206) Inline phpdocs tag not enclosed with curly brackets @see found
(#232) Inline phpdocs tag not enclosed with curly brackets @see found
(#667) Inline phpdocs tag not enclosed with curly brackets @see found
mod/adaptivequiz/classes/local/fetchquestion.php
(#165) Phpdocs for function fetchquestion::set_minimum_level has incomplete parameters list
(#178) Phpdocs for function fetchquestion::print_debug has incomplete parameters list
(#215) Phpdocs for function fetchquestion::set_tagquestsum has incomplete parameters list
mod/adaptivequiz/classes/local/questionanalysis/attempt_score.php
(#43) Phpdocs for function attempt_score::__construct has incomplete parameters list
mod/adaptivequiz/classes/local/questionanalysis/question_analyser.php
(#65) Phpdocs for function question_analyser::__construct has incomplete parameters list
(#81) Phpdocs for function question_analyser::add_result has incomplete parameters list
(#170) Phpdocs for function question_analyser::map_logit_to_scale has incomplete parameters list
mod/adaptivequiz/classes/local/questionanalysis/question_result.php
(#56) Phpdocs for function question_result::__get has incomplete parameters list
mod/adaptivequiz/classes/local/questionanalysis/statistics/answers_statistic.php
(#169) Phpdocs for function answers_statistic::print_empty_user_result has incomplete parameters list
mod/adaptivequiz/classes/local/questionanalysis/statistics/answers_statistic_result.php
(#37) Phpdocs for function answers_statistic_result::__construct has incomplete parameters list
(#57) Phpdocs for function answers_statistic_result::printable has incomplete parameters list
mod/adaptivequiz/classes/local/questionanalysis/statistics/discrimination_statistic_result.php
(#57) Phpdocs for function discrimination_statistic_result::printable has incomplete parameters list
mod/adaptivequiz/classes/local/questionanalysis/statistics/percent_correct_statistic_result.php
(#53) Phpdocs for function percent_correct_statistic_result::printable has incomplete parameters list
mod/adaptivequiz/classes/local/questionanalysis/statistics/question_statistic_result.php
(#38) Phpdocs for function question_statistic_result::printable has incomplete parameters list
mod/adaptivequiz/classes/local/questionanalysis/statistics/times_used_statistic_result.php
(#53) Phpdocs for function times_used_statistic_result::printable has incomplete parameters list
mod/adaptivequiz/classes/local/report/users_attempts/filter/filter_form.php
(#34) Phpdocs for function filter_form::add_action_buttons has incomplete parameters list
mod/adaptivequiz/classes/local/report/users_attempts/sql/sql_and_params.php
(#53) Inline phpdocs tag {@link \moodle_database::get_records_sql()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#59) Inline phpdocs tag {@link \table_sql::set_count_sql()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#64) Inline phpdocs tag {@link self::$params} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
mod/adaptivequiz/classes/local/report/users_attempts/user_preferences/user_preferences_form.php
(#32) Phpdocs for function user_preferences_form::add_action_buttons has incomplete parameters list
mod/adaptivequiz/classes/local/report/users_attempts/users_attempts_table.php
(#58) Phpdocs for function users_attempts_table::__construct has incomplete parameters list
(#78) Phpdocs for function users_attempts_table::query_db has incomplete parameters list
(#149) Phpdocs for function users_attempts_table::col_measure has incomplete parameters list
(#182) Phpdocs for function users_attempts_table::col_attempttimefinished has incomplete parameters list
(#194) Phpdocs for function users_attempts_table::init has incomplete parameters list
mod/adaptivequiz/classes/local/repository/questions_number_per_difficulty.php
(#19) Inline phpdocs tag {@link questions_repository::count_questions_number_per_difficulty()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
mod/adaptivequiz/classes/local/repository/tags_repository.php
(#62) Phpdocs for function tags_repository::get_tag_id_list_by_tag_names has incomplete parameters list
(#34) Inline phpdocs tag {@link moodle_database::get_records_menu()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
mod/adaptivequiz/classes/local/user_attempts_table.php
(#87) Phpdocs for function user_attempts_table::col_state has incomplete parameters list
mod/adaptivequiz/classes/output/ability_measure.php
(#45) Inline phpdocs tag {@link mod_adaptivequiz_renderer::format_measure()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
mod/adaptivequiz/classes/output/questionanalysis/renderer.php
(#74) Phpdocs for function renderer::get_report_table has incomplete parameters list
(#93) Phpdocs for function renderer::format_report_table_headers has incomplete parameters list
(#128) Phpdocs for function renderer::print_paging_bar has incomplete parameters list
(#166) Phpdocs for function renderer::get_question_details has incomplete parameters list
mod/adaptivequiz/lib.php
(#50) Phpdocs for function adaptivequiz_supports has incomplete parameters list
(#99) Phpdocs for function adaptivequiz_add_instance has incomplete parameters list
(#172) Phpdocs for function adaptivequiz_update_instance has incomplete parameters list
(#207) Phpdocs for function adaptivequiz_delete_instance has incomplete parameters list
(#244) Phpdocs for function adaptivequiz_user_outline has incomplete parameters list
(#264) Phpdocs for function adaptivequiz_user_complete has incomplete parameters list
(#273) Phpdocs for function adaptivequiz_print_recent_activity has incomplete parameters list
(#291) Phpdocs for function adaptivequiz_get_recent_mod_activity has incomplete parameters list
(#519) Phpdocs for function adaptivequiz_extend_navigation has incomplete parameters list
(#548) Phpdocs for function adaptivequiz_grade_item_delete has incomplete parameters list
(#563) Phpdocs for function adaptivequiz_grade_item_update has incomplete parameters list
(#615) Phpdocs for function adaptivequiz_reset_course_form_definition has incomplete parameters list
(#623) Phpdocs for function adaptivequiz_reset_course_form_defaults has incomplete parameters list
(#634) Phpdocs for function adaptivequiz_reset_userdata has incomplete parameters list
(#289) Inline phpdocs tag {@link adaptivequiz_print_recent_mod_activity()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
mod/adaptivequiz/locallib.php
(#225) Phpdocs for function adaptivequiz_complete_attempt has incomplete parameters list
mod/adaptivequiz/mod_form.php
(#253) Phpdocs for function mod_adaptivequiz_mod_form::validate_questions_pool has incomplete parameters list
(#192) Inline phpdocs tag not enclosed with curly brackets @see found
mod/adaptivequiz/renderer.php
(#175) Phpdocs for function mod_adaptivequiz_renderer::attempt_feedback has incomplete parameters list
(#430) Phpdocs for function mod_adaptivequiz_renderer::init_browser_security has incomplete parameters list
(#483) Phpdocs for function mod_adaptivequiz_renderer::format_measure has incomplete parameters list
(#497) Phpdocs for function mod_adaptivequiz_renderer::format_standard_error has incomplete parameters list
(#513) Phpdocs for function mod_adaptivequiz_renderer::format_measure_and_standard_error has incomplete parameters list
(#694) Phpdocs for function mod_adaptivequiz_renderer::attempt_progress has incomplete parameters list
(#701) Phpdocs for function mod_adaptivequiz_renderer::render_attempt_progress has incomplete parameters list
(#805) Phpdocs for function mod_adaptivequiz_renderer::attempt_questions_review has incomplete parameters list
(#867) Phpdocs for function mod_adaptivequiz_renderer::attempt_questions_review_pager has incomplete parameters list
(#1083) Phpdocs for function mod_adaptivequiz_csv_renderer::format_measure has incomplete parameters list
(#1097) Phpdocs for function mod_adaptivequiz_csv_renderer::format_standard_error has incomplete parameters list
(#533) Inline phpdocs tag {@link mod_adaptivequiz_renderer::attempt_report_page_by_tab()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#533) Inline phpdocs tag {@link mod_adaptivequiz_renderer::attempt_report_page_by_tab()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#803) Inline phpdocs tag {@link mod_adaptivequiz_renderer::attempt_report_page_by_tab} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#869) Inline phpdocs tag {@link mod_adaptivequiz_renderer::attempt_questions_review()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
mod/adaptivequiz/tests/lib_test.php
(#76) Phpdocs for function lib_test::test_questioncat_association_insert has incomplete parameters list
(#105) Phpdocs for function lib_test::test_questioncat_association_update has incomplete parameters list
mod/adaptivequiz/tests/local/repository/questions_repository_test.php
(#210) Phpdocs for function questions_repository_test::create_question_tag 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

(2 errors, 2 warnings)

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

mod/adaptivequiz/templates/attempt_administration_report.mustache
(#1) Example context missing.
mod/adaptivequiz/templates/attempt_answers_distribution_report.mustache
(#1) Mustache syntax exception: Example context JSON is unparsable, fails with: Syntax error
mod/adaptivequiz/templates/attempt_report_chart.mustache
(#1) Example context missing.
mod/adaptivequiz/templates/report/individual_user_attempt_actions.mustache
(#1) Mustache syntax exception: Example context JSON is unparsable, fails with: Syntax error

Gherkin .feature problems

(0 errors, 0 warnings)

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