Prechecker results: error


Overview

(0 errors, 0 warnings)

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


PHP lint problems

(0 errors, 0 warnings)

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


PHP coding style problems

(465 errors, 477 warnings)

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

local/learning_analytics/classes/demo.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#29) Inline comments must end in full-stops, exclamation marks, or question marks
(#31) Missing docblock for class demo
(#33) Missing member variable doc comment
(#35) The static declaration must come after the visibility declaration
(#35) Missing docblock for function data
(#42) The static declaration must come after the visibility declaration
(#42) Missing docblock for function setup
(#71) This comment is 51% valid code; is this commented out code?
(#91) There should be a comma after the last array item in a multi-line array.
(#96) There should be a comma after the last array item in a multi-line array.
(#101) There should be a comma after the last array item in a multi-line array.
(#102) There should be a comma after the last array item in a multi-line array.
(#103) There should be a comma after the last array item in a multi-line array.
(#114) There should be a comma after the last array item in a multi-line array.
(#119) There should be a comma after the last array item in a multi-line array.
(#124) There should be a comma after the last array item in a multi-line array.
(#129) There should be a comma after the last array item in a multi-line array.
(#134) There should be a comma after the last array item in a multi-line array.
(#139) There should be a comma after the last array item in a multi-line array.
(#144) There should be a comma after the last array item in a multi-line array.
(#149) There should be a comma after the last array item in a multi-line array.
(#154) There should be a comma after the last array item in a multi-line array.
(#156) There should be a comma after the last array item in a multi-line array.
(#329) There should be a comma after the last array item in a multi-line array.
(#410) There should be a comma after the last array item in a multi-line array.
(#416) Commas (,) must be followed by white space.
(#416) Line exceeds 132 characters; contains 146 characters
(#418) Commas (,) must be followed by white space.
(#418) Line exceeds 132 characters; contains 144 characters
(#420) Commas (,) must be followed by white space.
(#420) Line exceeds 132 characters; contains 148 characters
(#422) Commas (,) must be followed by white space.
(#422) Line exceeds 132 characters; contains 163 characters
(#424) Commas (,) must be followed by white space.
(#424) Line exceeds 132 characters; contains 155 characters
(#426) Commas (,) must be followed by white space.
(#426) Line exceeds 132 characters; contains 149 characters
(#428) Commas (,) must be followed by white space.
(#428) Line exceeds 132 characters; contains 149 characters
(#430) Commas (,) must be followed by white space.
(#430) Line exceeds 132 characters; contains 149 characters
(#432) Commas (,) must be followed by white space.
(#432) Line exceeds 132 characters; contains 143 characters
(#434) Commas (,) must be followed by white space.
(#434) Line exceeds 132 characters; contains 146 characters
(#436) Commas (,) must be followed by white space.
(#436) Line exceeds 132 characters; contains 146 characters
(#438) Commas (,) must be followed by white space.
(#438) Line exceeds 132 characters; contains 140 characters
(#440) Commas (,) must be followed by white space.
(#440) Line exceeds 132 characters; contains 152 characters
(#442) Commas (,) must be followed by white space.
(#442) Line exceeds 132 characters; contains 152 characters
(#444) Commas (,) must be followed by white space.
(#444) Line exceeds 132 characters; contains 146 characters
(#446) Commas (,) must be followed by white space.
(#446) Line exceeds 132 characters; contains 153 characters
(#448) Commas (,) must be followed by white space.
(#448) Line exceeds 132 characters; contains 153 characters
(#450) Commas (,) must be followed by white space.
(#450) Line exceeds 132 characters; contains 147 characters
(#452) Commas (,) must be followed by white space.
(#452) Line exceeds 132 characters; contains 151 characters
(#454) Commas (,) must be followed by white space.
(#454) Line exceeds 132 characters; contains 147 characters
(#456) Commas (,) must be followed by white space.
(#456) Line exceeds 132 characters; contains 152 characters
(#458) Commas (,) must be followed by white space.
(#458) Line exceeds 132 characters; contains 148 characters
(#460) Commas (,) must be followed by white space.
(#460) Line exceeds 132 characters; contains 145 characters
(#462) Commas (,) must be followed by white space.
(#462) Line exceeds 132 characters; contains 149 characters
(#464) Commas (,) must be followed by white space.
(#464) Line exceeds 132 characters; contains 150 characters
(#466) Commas (,) must be followed by white space.
(#466) Line exceeds 132 characters; contains 151 characters
(#468) Commas (,) must be followed by white space.
(#468) Line exceeds 132 characters; contains 146 characters
(#470) Commas (,) must be followed by white space.
(#470) Line exceeds 132 characters; contains 149 characters
(#500) There should be a comma after the last array item in a multi-line array.
(#501) There should be a comma after the last array item in a multi-line array.
(#502) There should be a comma after the last array item in a multi-line array.
local/learning_analytics/classes/event/report_viewed.php
(#16) Whitespace found at end of line
(#20) Incorrect @package tag for file report_viewed.php. Expected local_learning_analytics, found learning_analytics.
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#26) Missing docblock for class report_viewed
(#28) Missing docblock for function init
(#31) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#34) File must end with a newline character
local/learning_analytics/classes/local/outputs/plot.php
(#31) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#40) Missing member variable doc comment
(#42) Missing member variable doc comment
(#44) Missing member variable doc comment
(#46) Missing member variable doc comment
(#48) Missing member variable doc comment
(#50) Missing docblock for function __construct
(#67) No one-line description found in phpdocs for docblock of function sql_to_series
(#73) There should be a comma after the last array item in a multi-line array.
(#86) Missing docblock for function set_layout
(#90) Missing docblock for function set_title
(#94) Missing docblock for function show_toolbar
(#98) Missing docblock for function set_static_plot
(#102) Missing docblock for function set_height
(#102) There must not be a space before the colon in a return type declaration
(#112) No one-line description found in phpdocs for docblock of function add_series_from_sql
(#117) Missing docblock for function add_series_from_sql_records
(#121) Missing docblock for function add_series
(#128) No one-line description found in phpdocs for docblock of function print
(#132) There should be a comma after the last array item in a multi-line array.
(#151) There should be a comma after the last array item in a multi-line array.
(#156) File must end with a newline character
local/learning_analytics/classes/local/outputs/splitter.php
(#34) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#36) Missing docblock for class splitter
(#38) Missing member variable doc comment
(#39) Missing member variable doc comment
(#41) Missing docblock for function __construct
(#46) Missing docblock for function print
(#65) File must end with a newline character
local/learning_analytics/classes/local/outputs/table.php
(#34) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#36) Missing docblock for class table
(#38) Missing member variable doc comment
(#40) Missing member variable doc comment
(#42) Missing docblock for function __construct
(#51) Missing docblock for function set_header
(#60) No one-line description found in phpdocs for docblock of function set_header_local
(#68) Missing docblock for function fancynumbercell
(#68) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $textvalue.
(#68) There must not be a space before the colon in a return type declaration
(#76) Missing docblock for function fancynumbercellcolored
(#76) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $textvalue.
(#76) There must not be a space before the colon in a return type declaration
(#81) Line exceeds 132 characters; contains 143 characters
(#87) No one-line description found in phpdocs for docblock of function print
(#97) Missing docblock for function add_row
(#101) Missing docblock for function add_show_more_row
local/learning_analytics/classes/output/renderer.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#39) No one-line description found in phpdocs for docblock of function render_output_list
(#54) File must end with a newline character
local/learning_analytics/classes/output_base.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#29) Missing docblock for class output_base
(#30) The abstract declaration must precede the visibility declaration
(#30) Missing docblock for function print
(#30) There must not be a space before the colon in a return type declaration
(#31) File must end with a newline character
local/learning_analytics/classes/plugininfo/lalog.php
(#29) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#31) Missing docblock for class lalog
(#32) Missing docblock for function is_uninstall_allowed
(#35) File must end with a newline character
local/learning_analytics/classes/plugininfo/lareport.php
(#29) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#31) Missing docblock for class lareport
(#32) Missing docblock for function is_uninstall_allowed
(#37) Expected 5 spaces before asterisk; 4 found
(#38) Expected 5 spaces before asterisk; 4 found
(#39) Expected 5 spaces before asterisk; 4 found
(#40) Expected 5 spaces before asterisk; 4 found
(#41) Expected 5 spaces before asterisk; 4 found
(#51) Logical operator "or" is prohibited; use "||" instead
(#74) File must end with a newline character
local/learning_analytics/classes/privacy/provider.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#29) Missing docblock for class provider
(#30) Missing docblock for function get_reason
(#30) There must not be a space before the colon in a return type declaration
local/learning_analytics/classes/report_base.php
(#29) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#37) Missing docblock for function heading
(#38) Inline comments must start with a capital letter, digit or 3-dots sequence
(#38) Inline comments must end in full-stops, exclamation marks, or question marks
(#43) The abstract declaration must precede the visibility declaration
(#43) Missing docblock for function run
(#44) The abstract declaration must precede the visibility declaration
(#44) Missing docblock for function params
(#45) File must end with a newline character
local/learning_analytics/classes/report_page_base.php
(#29) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#37) Missing docblock for function heading
(#38) Inline comments must start with a capital letter, digit or 3-dots sequence
(#38) Inline comments must end in full-stops, exclamation marks, or question marks
(#43) The abstract declaration must precede the visibility declaration
(#43) Missing docblock for function run
(#43) There must not be a space before the colon in a return type declaration
(#44) The abstract declaration must precede the visibility declaration
(#44) Missing docblock for function params
(#45) File must end with a newline character
local/learning_analytics/classes/report_preview.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#36) The abstract declaration must precede the visibility declaration
(#36) Missing docblock for function content
(#36) Inline comments must start with a capital letter, digit or 3-dots sequence
(#36) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Missing docblock for function box
(#38) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $report.
(#38) Line exceeds 132 characters; contains 150 characters
(#41) Whitespace found at end of line
(#54) Missing docblock for function boxcomplex
(#54) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $report.
(#54) Line exceeds 132 characters; contains 165 characters
(#63) Whitespace found at end of line
(#68) Line exceeds 132 characters; contains 139 characters
(#70) Line exceeds 132 characters; contains 166 characters
(#75) File must end with a newline character
local/learning_analytics/classes/router.php
(#33) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#35) Missing @copyright tag
(#35) Missing @license tag
(#35) Missing docblock for class router
(#37) Missing docblock for function run_report_or_page
(#41) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $pagename.
(#42) There must not be a space before the colon in a return type declaration
(#61) Short array syntax must be used to define arrays
(#63) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#64) There should be a comma after the last array item in a multi-line array.
(#76) No one-line description found in phpdocs for docblock of function run
(#76) There must not be a space before the colon in a return type declaration
(#112) Missing docblock for function get_url
(#112) There must not be a space before the colon in a return type declaration
(#123) No one-line description found in phpdocs for docblock of function report
(#123) There must not be a space before the colon in a return type declaration
(#127) Missing docblock for function report_page
(#127) There must not be a space before the colon in a return type declaration
(#130) File must end with a newline character
local/learning_analytics/classes/settings.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#29) Missing docblock for class settings
(#31) Missing docblock for constant settings::DEFAULTS
(#37) Missing docblock for function get_config
(#46) Inline comments must end in full-stops, exclamation marks, or question marks
(#47) Missing docblock for function site_lang_string
(#48) Inline comments must start with a capital letter, digit or 3-dots sequence
(#48) Inline comments must end in full-stops, exclamation marks, or question marks
(#49) Inline comments must start with a capital letter, digit or 3-dots sequence
(#49) Inline comments must end in full-stops, exclamation marks, or question marks
(#52) Inline comments must start with a capital letter, digit or 3-dots sequence
(#52) Inline comments must end in full-stops, exclamation marks, or question marks
(#60) Missing docblock for function multilang_string
(#62) Variable "isMultilangEnabled" must be all lower-case
(#62) Inline comments must start with a capital letter, digit or 3-dots sequence
(#62) Inline comments must end in full-stops, exclamation marks, or question marks
(#63) Variable "isMultilangEnabled" must be all lower-case
(#66) Inline comments must start with a capital letter, digit or 3-dots sequence
(#66) Inline comments must end in full-stops, exclamation marks, or question marks
(#67) Variable "defaultCheck" must be all lower-case
(#69) Variable "langKey" must be all lower-case
(#69) Variable "langName" must be all lower-case
(#70) Variable "langValue" must be all lower-case
(#70) Variable "langKey" must be all lower-case
(#71) Variable "langValue" must be all lower-case
(#71) Variable "defaultCheck" must be all lower-case
(#71) Variable "langKey" must be all lower-case
(#71) Line exceeds 132 characters; contains 134 characters
(#71) Inline comments must start with a capital letter, digit or 3-dots sequence
(#71) Inline comments must end in full-stops, exclamation marks, or question marks
(#74) Variable "langKey" must be all lower-case
(#75) Variable "langKey" must be all lower-case
(#83) Missing docblock for function statusupdated
(#90) Inline comments must end in full-stops, exclamation marks, or question marks
(#97) Inline comments must start with a capital letter, digit or 3-dots sequence
(#97) Inline comments must end in full-stops, exclamation marks, or question marks
(#99) Inline comments must end in full-stops, exclamation marks, or question marks
(#107) Inline comments must end in full-stops, exclamation marks, or question marks
(#112) There should be a comma after the last array item in a multi-line array.
(#127) Inline comments must end in full-stops, exclamation marks, or question marks
(#130) Inline comments must start with a capital letter, digit or 3-dots sequence
(#130) Inline comments must end in full-stops, exclamation marks, or question marks
(#130) Whitespace found at end of line
(#148) Whitespace found at end of line
(#152) Inline comments must start with a capital letter, digit or 3-dots sequence
(#152) Inline comments must end in full-stops, exclamation marks, or question marks
(#158) Inline comments must start with a capital letter, digit or 3-dots sequence
(#158) Inline comments must end in full-stops, exclamation marks, or question marks
(#166) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#168) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#169) Inline comments must end in full-stops, exclamation marks, or question marks
(#170) Whitespace found at end of line
(#171) Inline comments must start with a capital letter, digit or 3-dots sequence
(#171) This comment is 59% valid code; is this commented out code?
(#174) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#176) Whitespace found at end of line
(#177) Inline comments must start with a capital letter, digit or 3-dots sequence
(#177) This comment is 62% valid code; is this commented out code?
(#181) Inline comments must start with a capital letter, digit or 3-dots sequence
(#181) Inline comments must end in full-stops, exclamation marks, or question marks
local/learning_analytics/db/access.php
(#36) There should be a comma after the last array item in a multi-line array.
(#37) There should be a comma after the last array item in a multi-line array.
(#38) There should be a comma after the last array item in a multi-line array.
(#39) File must end with a newline character
local/learning_analytics/db/install.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#27) Missing docblock for function xmldb_local_learning_analytics_install
(#37) File must end with a newline character
local/learning_analytics/db/uninstall.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#27) Missing docblock for function xmldb_local_learning_analytics_uninstall
(#30) Inline comments must end in full-stops, exclamation marks, or question marks
(#37) Inline comments must start with a capital letter, digit or 3-dots sequence
(#37) Inline comments must end in full-stops, exclamation marks, or question marks
(#46) Inline comments must start with a capital letter, digit or 3-dots sequence
local/learning_analytics/db/upgrade.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#27) Missing docblock for function xmldb_local_learning_analytics_upgrade
(#29) Spaces must be used to indent lines; tabs are not allowed
(#29) Tab found within whitespace
(#29) Line indented incorrectly; expected at least 4 spaces, found 1
(#60) Inline comments must end in full-stops, exclamation marks, or question marks
(#61) Inline comments must start with a capital letter, digit or 3-dots sequence
(#62) Inline comments must end in full-stops, exclamation marks, or question marks
(#64) Inline comments must start with a capital letter, digit or 3-dots sequence
(#64) Inline comments must end in full-stops, exclamation marks, or question marks
(#66) Inline comments must start with a capital letter, digit or 3-dots sequence
(#66) Inline comments must end in full-stops, exclamation marks, or question marks
(#68) Whitespace found at end of line
(#69) Inline comments must end in full-stops, exclamation marks, or question marks
local/learning_analytics/help.php
(#54) Inline comments must end in full-stops, exclamation marks, or question marks
(#59) Short array syntax must be used to define arrays
(#68) Inline comments must start with a capital letter, digit or 3-dots sequence
(#68) Inline comments must end in full-stops, exclamation marks, or question marks
(#72) There should be a comma after the last array item in a multi-line array.
(#76) There should be a comma after the last array item in a multi-line array.
(#85) Closing brace must be on a line by itself
(#97) There should be a comma after the last array item in a multi-line array.
local/learning_analytics/index.php
(#44) Inline comments must start with a capital letter, digit or 3-dots sequence
(#44) Inline comments must end in full-stops, exclamation marks, or question marks
(#44) This comment is 60% valid code; is this commented out code?
(#46) Whitespace found at end of line
(#58) Empty IF statement detected
(#59) Inline comments must start with a capital letter, digit or 3-dots sequence
(#59) Inline comments must end in full-stops, exclamation marks, or question marks
(#61) Inline comments must start with a capital letter, digit or 3-dots sequence
(#61) Inline comments must end in full-stops, exclamation marks, or question marks
(#71) Inline comments must start with a capital letter, digit or 3-dots sequence
(#72) Inline comments must end in full-stops, exclamation marks, or question marks
(#78) Inline comments must start with a capital letter, digit or 3-dots sequence
(#78) Inline comments must end in full-stops, exclamation marks, or question marks
(#81) Inline comments must start with a capital letter, digit or 3-dots sequence
(#81) Inline comments must end in full-stops, exclamation marks, or question marks
(#109) Inline comments must end in full-stops, exclamation marks, or question marks
(#113) Inline comments must start with a capital letter, digit or 3-dots sequence
(#114) Short array syntax must be used to define arrays
(#124) There should be a comma after the last array item in a multi-line array.
local/learning_analytics/lang/de/local_learning_analytics.php
(#29) The string key "learning_analytics" is not in the correct order, it should be before "privacy:metadata"
(#34) The string key "subplugintype_lalog" is not in the correct order, it should be before "subplugintype_lareport_plural"
(#38) The string key "show_full_list" is not in the correct order, it should be before "subplugintype_lalog_plural"
(#40) Unexpected comment found. Auto-fixing will not work after this comment
(#40) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) The string key "learners" is not in the correct order, it should be before "show_full_list"
(#43) The string key "hits" is not in the correct order, it should be before "sessions"
(#43) Unexpected comment found. Auto-fixing will not work after this comment
(#43) Inline comments must start with a capital letter, digit or 3-dots sequence
(#45) Unexpected comment found. Auto-fixing will not work after this comment
(#45) Inline comments must end in full-stops, exclamation marks, or question marks
(#46) The string key "general_settings" is not in the correct order, it should be before "hits"
(#49) The string key "setting_status_option_show_courseids" is not in the correct order, it should be before "setting_status_option_show_if_enabled"
(#50) The string key "setting_status_option_show_always" is not in the correct order, it should be before "setting_status_option_show_courseids"
(#51) The string key "setting_status_option_hidelink" is not in the correct order, it should be before "setting_status_option_show_always"
(#52) The string key "setting_status_option_disable" is not in the correct order, it should be before "setting_status_option_hidelink"
(#53) The string key "setting_status_course_customfield" is not in the correct order, it should be before "setting_status_option_disable"
(#55) The string key "setting_course_ids_description" is not in the correct order, it should be before "setting_status_course_customfield"
(#57) The string key "dataprivacy_threshold_description" is not in the correct order, it should be before "setting_course_ids_description"
(#61) The string key "setting_student_enrols_groupby_description" is not in the correct order, it should be before "setting_student_rolenames_description"
(#62) The string key "setting_dashboard_boxes" is not in the correct order, it should be before "setting_student_enrols_groupby_description"
(#64) Unexpected comment found. Auto-fixing will not work after this comment
(#64) Inline comments must end in full-stops, exclamation marks, or question marks
(#65) The string key "help_title" is not in the correct order, it should be before "setting_dashboard_boxes"
(#66) The string key "help_take_tour" is not in the correct order, it should be before "help_title"
(#71) The string key "help_faq" is not in the correct order, it should be before "help_text"
(#74) The string key "help_faq_personal_data_answer" is not in the correct order, it should be before "help_faq_personal_data_question"
(#78) The string key "help_faq_week_start_answer" is not in the correct order, it should be before "help_faq_week_start_question"
(#81) The string key "help_faq_data_storage_question" is not in the correct order, it should be before "help_faq_week_start_answer"
(#82) The string key "help_faq_data_storage_answer" is not in the correct order, it should be before "help_faq_data_storage_question"
(#96) The string key "help_faq_privacy_threshold_answer" is not in the correct order, it should be before "help_faq_privacy_threshold_question"
(#99) The string key "help_faq_visibility_answer" is not in the correct order, it should be before "help_faq_visibility_question"
(#101) The string key "help_faq_datapoints_question" is not in the correct order, it should be before "help_faq_visibility_answer"
(#102) The string key "help_faq_datapoints_answer" is not in the correct order, it should be before "help_faq_datapoints_question"
(#107) The string key "help_faq_developer_answer" is not in the correct order, it should be before "help_faq_developer_question"
(#110) Unexpected comment found. Auto-fixing will not work after this comment
(#110) Inline comments must end in full-stops, exclamation marks, or question marks
(#112) The string key "tour_dashboard_graph" is not in the correct order, it should be before "tour_title"
(#115) The string key "tour_dashboard_boxes" is not in the correct order, it should be before "tour_dashboard_graph"
(#118) The string key "tour_box_learners" is not in the correct order, it should be before "tour_dashboard_boxes"
(#120) The string key "tour_box_hits" is not in the correct order, it should be before "tour_box_learnerslink"
(#126) The string key "tour_activities" is not in the correct order, it should be before "tour_box_quiz_assign"
(#134) The string key "learning_analytics:view_statistics" is not in the correct order, it should be before "tour_more_information"
(#136) Unexpected comment found. Auto-fixing will not work after this comment
(#136) Inline comments must start with a capital letter, digit or 3-dots sequence
(#136) Inline comments must end in full-stops, exclamation marks, or question marks
(#137) The string key "customfield_category_name" is not in the correct order, it should be before "learning_analytics:view_statistics"
(#138) The string key "customfield_category_description" is not in the correct order, it should be before "customfield_category_name"
(#140) The string key "customfield_field_description" is not in the correct order, it should be before "customfield_field_name"
(#141) Unexpected comment found. Auto-fixing will not work after this comment
(#141) Inline comments must start with a capital letter, digit or 3-dots sequence
(#141) Inline comments must end in full-stops, exclamation marks, or question marks
(#142) The string key "admin_customfield_info" is not in the correct order, it should be before "customfield_field_description"
(#143) The string key "admin_customfield_category" is not in the correct order, it should be before "admin_customfield_info"
(#147) Unexpected string end, it should be a line feed after a semicolon
(#147) File must end with a newline character
local/learning_analytics/lang/en/local_learning_analytics.php
(#29) The string key "learning_analytics" is not in the correct order, it should be before "privacy:metadata"
(#34) The string key "subplugintype_lalog" is not in the correct order, it should be before "subplugintype_lareport_plural"
(#38) The string key "show_full_list" is not in the correct order, it should be before "subplugintype_lalog_plural"
(#40) Unexpected comment found. Auto-fixing will not work after this comment
(#40) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) The string key "learners" is not in the correct order, it should be before "show_full_list"
(#43) The string key "hits" is not in the correct order, it should be before "sessions"
(#43) Unexpected comment found. Auto-fixing will not work after this comment
(#43) Inline comments must start with a capital letter, digit or 3-dots sequence
(#45) Unexpected comment found. Auto-fixing will not work after this comment
(#45) Inline comments must end in full-stops, exclamation marks, or question marks
(#46) The string key "general_settings" is not in the correct order, it should be before "hits"
(#49) The string key "setting_status_option_show_courseids" is not in the correct order, it should be before "setting_status_option_show_if_enabled"
(#50) The string key "setting_status_option_show_always" is not in the correct order, it should be before "setting_status_option_show_courseids"
(#51) The string key "setting_status_option_hidelink" is not in the correct order, it should be before "setting_status_option_show_always"
(#52) The string key "setting_status_option_disable" is not in the correct order, it should be before "setting_status_option_hidelink"
(#53) The string key "setting_status_course_customfield" is not in the correct order, it should be before "setting_status_option_disable"
(#55) The string key "setting_course_ids_description" is not in the correct order, it should be before "setting_status_course_customfield"
(#57) The string key "dataprivacy_threshold_description" is not in the correct order, it should be before "setting_course_ids_description"
(#61) The string key "setting_student_enrols_groupby_description" is not in the correct order, it should be before "setting_student_rolenames_description"
(#62) The string key "setting_dashboard_boxes" is not in the correct order, it should be before "setting_student_enrols_groupby_description"
(#64) Unexpected comment found. Auto-fixing will not work after this comment
(#64) Inline comments must end in full-stops, exclamation marks, or question marks
(#65) The string key "help_title" is not in the correct order, it should be before "setting_dashboard_boxes"
(#66) The string key "help_take_tour" is not in the correct order, it should be before "help_title"
(#71) The string key "help_faq" is not in the correct order, it should be before "help_text"
(#74) The string key "help_faq_personal_data_answer" is not in the correct order, it should be before "help_faq_personal_data_question"
(#78) The string key "help_faq_week_start_answer" is not in the correct order, it should be before "help_faq_week_start_question"
(#81) The string key "help_faq_data_storage_question" is not in the correct order, it should be before "help_faq_week_start_answer"
(#82) The string key "help_faq_data_storage_answer" is not in the correct order, it should be before "help_faq_data_storage_question"
(#96) The string key "help_faq_privacy_threshold_answer" is not in the correct order, it should be before "help_faq_privacy_threshold_question"
(#99) The string key "help_faq_visibility_answer" is not in the correct order, it should be before "help_faq_visibility_question"
(#101) The string key "help_faq_datapoints_question" is not in the correct order, it should be before "help_faq_visibility_answer"
(#102) The string key "help_faq_datapoints_answer" is not in the correct order, it should be before "help_faq_datapoints_question"
(#107) The string key "help_faq_developer_answer" is not in the correct order, it should be before "help_faq_developer_question"
(#110) Unexpected comment found. Auto-fixing will not work after this comment
(#110) Inline comments must end in full-stops, exclamation marks, or question marks
(#112) The string key "tour_dashboard_graph" is not in the correct order, it should be before "tour_title"
(#115) The string key "tour_dashboard_boxes" is not in the correct order, it should be before "tour_dashboard_graph"
(#118) The string key "tour_box_learners" is not in the correct order, it should be before "tour_dashboard_boxes"
(#120) The string key "tour_box_hits" is not in the correct order, it should be before "tour_box_learnerslink"
(#126) The string key "tour_activities" is not in the correct order, it should be before "tour_box_quiz_assign"
(#134) The string key "learning_analytics:view_statistics" is not in the correct order, it should be before "tour_more_information"
(#136) Unexpected comment found. Auto-fixing will not work after this comment
(#136) Inline comments must start with a capital letter, digit or 3-dots sequence
(#136) Inline comments must end in full-stops, exclamation marks, or question marks
(#137) The string key "customfield_category_name" is not in the correct order, it should be before "learning_analytics:view_statistics"
(#138) The string key "customfield_category_description" is not in the correct order, it should be before "customfield_category_name"
(#140) The string key "customfield_field_description" is not in the correct order, it should be before "customfield_field_name"
(#141) Unexpected comment found. Auto-fixing will not work after this comment
(#141) Inline comments must start with a capital letter, digit or 3-dots sequence
(#141) Inline comments must end in full-stops, exclamation marks, or question marks
(#142) The string key "admin_customfield_info" is not in the correct order, it should be before "customfield_field_description"
(#143) The string key "admin_customfield_category" is not in the correct order, it should be before "admin_customfield_info"
(#147) Unexpected string end, it should be a line feed after a semicolon
(#147) File must end with a newline character
local/learning_analytics/lib.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#33) No one-line description found in phpdocs for docblock of function local_learning_analytics_extend_navigation
(#38) Inline comments must start with a capital letter, digit or 3-dots sequence
(#38) Inline comments must end in full-stops, exclamation marks, or question marks
(#43) Inline comments must start with a capital letter, digit or 3-dots sequence
(#43) Inline comments must end in full-stops, exclamation marks, or question marks
(#44) Whitespace found at end of line
(#45) Inline comments must start with a capital letter, digit or 3-dots sequence
(#45) Inline comments must end in full-stops, exclamation marks, or question marks
(#45) This comment is 60% valid code; is this commented out code?
(#49) Inline comments must start with a capital letter, digit or 3-dots sequence
(#49) Inline comments must end in full-stops, exclamation marks, or question marks
(#61) Empty IF statement detected
(#62) Inline comments must start with a capital letter, digit or 3-dots sequence
(#62) Inline comments must end in full-stops, exclamation marks, or question marks
(#64) Inline comments must start with a capital letter, digit or 3-dots sequence
(#64) Inline comments must end in full-stops, exclamation marks, or question marks
(#74) Inline comments must start with a capital letter, digit or 3-dots sequence
(#75) Inline comments must end in full-stops, exclamation marks, or question marks
(#81) Inline comments must start with a capital letter, digit or 3-dots sequence
(#81) Inline comments must end in full-stops, exclamation marks, or question marks
(#84) Inline comments must start with a capital letter, digit or 3-dots sequence
(#84) Inline comments must end in full-stops, exclamation marks, or question marks
(#103) Inline comments must end in full-stops, exclamation marks, or question marks
(#110) Inline comments must start with a capital letter, digit or 3-dots sequence
(#110) Inline comments must end in full-stops, exclamation marks, or question marks
(#116) Short array syntax must be used to define arrays
(#133) No one-line description found in phpdocs for docblock of function local_learning_analytics_extend_navigation_course
(#138) Inline comments must start with a capital letter, digit or 3-dots sequence
(#138) Inline comments must end in full-stops, exclamation marks, or question marks
(#143) Inline comments must start with a capital letter, digit or 3-dots sequence
(#143) Inline comments must end in full-stops, exclamation marks, or question marks
(#144) Whitespace found at end of line
(#145) Inline comments must start with a capital letter, digit or 3-dots sequence
(#145) Inline comments must end in full-stops, exclamation marks, or question marks
(#145) This comment is 60% valid code; is this commented out code?
(#149) Inline comments must start with a capital letter, digit or 3-dots sequence
(#149) Inline comments must end in full-stops, exclamation marks, or question marks
(#161) Empty IF statement detected
(#162) Inline comments must start with a capital letter, digit or 3-dots sequence
(#162) Inline comments must end in full-stops, exclamation marks, or question marks
(#164) Inline comments must start with a capital letter, digit or 3-dots sequence
(#164) Inline comments must end in full-stops, exclamation marks, or question marks
(#174) Inline comments must start with a capital letter, digit or 3-dots sequence
(#175) Inline comments must end in full-stops, exclamation marks, or question marks
(#181) Inline comments must start with a capital letter, digit or 3-dots sequence
(#181) Inline comments must end in full-stops, exclamation marks, or question marks
(#184) Inline comments must start with a capital letter, digit or 3-dots sequence
(#184) Inline comments must end in full-stops, exclamation marks, or question marks
(#202) Inline comments must end in full-stops, exclamation marks, or question marks
(#207) Inline comments must start with a capital letter, digit or 3-dots sequence
(#207) Inline comments must end in full-stops, exclamation marks, or question marks
(#213) Short array syntax must be used to define arrays
local/learning_analytics/reports/activities/classes/all.php
(#20) Incorrect @package tag for file all.php. Expected lareport_activities, found local_learning_analytics.
(#32) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#34) Missing docblock for class all
(#36) Missing docblock for function run
(#49) Inline comments must start with a capital letter, digit or 3-dots sequence
(#49) Inline comments must end in full-stops, exclamation marks, or question marks
(#56) Whitespace found at end of line
(#63) Inline comments must start with a capital letter, digit or 3-dots sequence
(#63) Inline comments must end in full-stops, exclamation marks, or question marks
(#77) There should be a comma after the last array item in a multi-line array.
(#85) There should be a comma after the last array item in a multi-line array.
(#89) Missing docblock for function params
(#91) There should be a comma after the last array item in a multi-line array.
(#94) File must end with a newline character
local/learning_analytics/reports/activities/classes/preview.php
(#20) Incorrect @package tag for file preview.php. Expected lareport_activities, found local_learning_analytics.
(#27) Import statements must not begin with a leading backslash
(#28) Import statements must not begin with a leading backslash
(#30) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#32) Missing docblock for class preview
(#33) Missing docblock for function content
(#44) Line exceeds 132 characters; contains 171 characters
(#44) There should be a comma after the last array item in a multi-line array.
(#53) Line exceeds 132 characters; contains 134 characters
(#63) Line exceeds 132 characters; contains 166 characters
(#67) Missing docblock for function icon
(#69) Line exceeds 132 characters; contains 138 characters
(#72) Whitespace found at end of line
(#73) File must end with a newline character
local/learning_analytics/reports/activities/classes/privacy/provider.php
(#20) Incorrect @package tag for file provider.php. Expected lareport_activities, found local_learning_analytics.
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#29) Missing docblock for class provider
(#30) Missing docblock for function get_reason
(#30) There must not be a space before the colon in a return type declaration
local/learning_analytics/reports/activities/classes/query_helper.php
(#20) Incorrect @package tag for file query_helper.php. Expected lareport_activities, found local_learning_analytics.
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#34) Missing docblock for class query_helper
(#36) Missing docblock for function query_activities
(#39) Short array syntax must be used to define arrays
(#50) Whitespace found at end of line within string
(#70) Missing docblock for function preview_query_most_clicked_activity
local/learning_analytics/reports/activities/lang/de/lareport_activities.php
(#20) Incorrect @package tag for file lareport_activities.php. Expected lareport_activities, found local_learning_analytics.
(#29) The string key "most_clicked_module" is not in the correct order, it should be before "privacy:metadata"
(#31) The string key "introduction" is not in the correct order, it should be before "most_clicked_module"
(#36) The string key "all_activities" is not in the correct order, it should be before "introduction"
(#37) The string key "activity_type" is not in the correct order, it should be before "all_activities"
(#40) The string key "hits" is not in the correct order, it should be before "table_header_hits"
(#42) The string key "activity_name" is not in the correct order, it should be before "hits"
(#44) The string key "most_used_activities" is not in the correct order, it should be before "section"
(#45) The string key "filter_by_name" is not in the correct order, it should be before "most_used_activities"
(#46) The string key "filter" is not in the correct order, it should be before "filter_by_name"
(#49) The string key "no_data_to_show" is not in the correct order, it should be before "remove_filter"
local/learning_analytics/reports/activities/lang/en/lareport_activities.php
(#20) Incorrect @package tag for file lareport_activities.php. Expected lareport_activities, found local_learning_analytics.
(#29) The string key "most_clicked_module" is not in the correct order, it should be before "privacy:metadata"
(#31) The string key "introduction" is not in the correct order, it should be before "most_clicked_module"
(#36) The string key "all_activities" is not in the correct order, it should be before "introduction"
(#37) The string key "activity_type" is not in the correct order, it should be before "all_activities"
(#40) The string key "hits" is not in the correct order, it should be before "table_header_hits"
(#42) The string key "activity_name" is not in the correct order, it should be before "hits"
(#44) The string key "most_used_activities" is not in the correct order, it should be before "section"
(#45) The string key "filter_by_name" is not in the correct order, it should be before "most_used_activities"
(#46) The string key "filter" is not in the correct order, it should be before "filter_by_name"
(#49) The string key "no_data_to_show" is not in the correct order, it should be before "remove_filter"
local/learning_analytics/reports/activities/lareport_activities.php
(#20) Incorrect @package tag for file lareport_activities.php. Expected lareport_activities, found local_learning_analytics.
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#34) Missing docblock for constant MAX_LENGTH_SECTION_NAMES
(#36) Missing docblock for class lareport_activities
(#38) Missing member variable doc comment
(#46) Inline comments must start with a capital letter, digit or 3-dots sequence
(#48) Missing member variable doc comment
(#49) Missing member variable doc comment
(#59) Missing member variable doc comment
(#61) Missing docblock for function run
(#84) Inline comments must start with a capital letter, digit or 3-dots sequence
(#84) Inline comments must end in full-stops, exclamation marks, or question marks
(#88) Inline comments must start with a capital letter, digit or 3-dots sequence
(#88) Inline comments must end in full-stops, exclamation marks, or question marks
(#93) Whitespace found at end of line
(#94) Inline comments must end in full-stops, exclamation marks, or question marks
(#100) Inline comments must start with a capital letter, digit or 3-dots sequence
(#100) This comment is 46% valid code; is this commented out code?
(#112) Whitespace found at end of line
(#113) Inline comments must start with a capital letter, digit or 3-dots sequence
(#113) Inline comments must end in full-stops, exclamation marks, or question marks
(#130) Inline comments must end in full-stops, exclamation marks, or question marks
(#140) Inline comments must start with a capital letter, digit or 3-dots sequence
(#140) Inline comments must end in full-stops, exclamation marks, or question marks
(#148) There should be a comma after the last array item in a multi-line array.
(#151) Inline comments must start with a capital letter, digit or 3-dots sequence
(#151) Inline comments must end in full-stops, exclamation marks, or question marks
(#162) Inline comments must start with a capital letter, digit or 3-dots sequence
(#162) This comment is 54% valid code; is this commented out code?
(#165) Inline comments must start with a capital letter, digit or 3-dots sequence
(#165) Inline comments must end in full-stops, exclamation marks, or question marks
(#173) Inline comments must start with a capital letter, digit or 3-dots sequence
(#178) There should be a comma after the last array item in a multi-line array.
(#179) Inline comments must start with a capital letter, digit or 3-dots sequence
(#179) This comment is 43% valid code; is this commented out code?
(#183) Inline comments must end in full-stops, exclamation marks, or question marks
(#183) Whitespace found at end of line
(#193) There should be a comma after the last array item in a multi-line array.
(#194) There should be a comma after the last array item in a multi-line array.
(#203) There should be a comma after the last array item in a multi-line array.
(#207) Inline comments must start with a capital letter, digit or 3-dots sequence
(#207) Inline comments must end in full-stops, exclamation marks, or question marks
(#221) Line exceeds 132 characters; contains 133 characters
(#229) Commas (,) must be followed by white space.
(#231) Commas (,) must be followed by white space.
(#234) Inline comments must end in full-stops, exclamation marks, or question marks
(#250) Short array syntax must be used to define arrays
(#252) Line exceeds 132 characters; contains 141 characters
(#261) There should be a comma after the last array item in a multi-line array.
(#301) There should be a comma after the last array item in a multi-line array.
(#315) There should be a comma after the last array item in a multi-line array.
(#319) Missing docblock for function params
(#323) There should be a comma after the last array item in a multi-line array.
(#326) File must end with a newline character
local/learning_analytics/reports/activities/version.php
(#20) Incorrect @package tag for file version.php. Expected lareport_activities, found local_learning_analytics.
(#30) File must end with a newline character
local/learning_analytics/reports/coursedashboard/classes/privacy/provider.php
(#20) Incorrect @package tag for file provider.php. Expected lareport_coursedashboard, found local_learning_analytics.
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#29) Missing docblock for class provider
(#30) Missing docblock for function get_reason
(#30) There must not be a space before the colon in a return type declaration
local/learning_analytics/reports/coursedashboard/classes/query_helper.php
(#20) Incorrect @package tag for file query_helper.php. Expected lareport_coursedashboard, found local_learning_analytics.
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#29) Missing docblock for class query_helper
(#31) Missing docblock for function query_weekly_activity
(#31) There must not be a space before the colon in a return type declaration
local/learning_analytics/reports/coursedashboard/lang/de/lareport_coursedashboard.php
(#20) Incorrect @package tag for file lareport_coursedashboard.php. Expected lareport_coursedashboard, found local_learning_analytics.
(#29) The string key "clicks" is not in the correct order, it should be before "privacy:metadata"
(#31) The string key "learners" is not in the correct order, it should be before "sessions"
(#33) The string key "clicks_compare" is not in the correct order, it should be before "learners"
(#36) The string key "parameter:course" is not in the correct order, it should be before "week"
(#39) The string key "not_available" is not in the correct order, it should be before "set"
(#40) The string key "last_7_days" is not in the correct order, it should be before "not_available"
(#42) The string key "no_difference" is not in the correct order, it should be before "total"
(#43) The string key "compared_to_previous_week" is not in the correct order, it should be before "no_difference"
local/learning_analytics/reports/coursedashboard/lang/en/lareport_coursedashboard.php
(#20) Incorrect @package tag for file lareport_coursedashboard.php. Expected lareport_coursedashboard, found local_learning_analytics.
(#29) The string key "clicks" is not in the correct order, it should be before "privacy:metadata"
(#31) The string key "learners" is not in the correct order, it should be before "sessions"
(#33) The string key "clicks_compare" is not in the correct order, it should be before "learners"
(#36) The string key "parameter:course" is not in the correct order, it should be before "week"
(#39) The string key "not_available" is not in the correct order, it should be before "set"
(#40) The string key "last_7_days" is not in the correct order, it should be before "not_available"
(#42) The string key "no_difference" is not in the correct order, it should be before "total"
(#43) The string key "compared_to_previous_week" is not in the correct order, it should be before "no_difference"
local/learning_analytics/reports/coursedashboard/lareport_coursedashboard.php
(#20) Incorrect @package tag for file lareport_coursedashboard.php. Expected lareport_coursedashboard, found local_learning_analytics.
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#32) Missing docblock for class lareport_coursedashboard
(#34) Missing docblock for constant lareport_coursedashboard::X_MIN
(#35) Missing docblock for constant lareport_coursedashboard::X_MAX
(#37) Missing docblock for function activiyoverweeks
(#37) There must not be a space before the colon in a return type declaration
(#71) There should be a comma after the last array item in a multi-line array.
(#72) There should be a comma after the last array item in a multi-line array.
(#73) There should be a comma after the last array item in a multi-line array.
(#123) Variable "textClicks" must be all lower-case
(#125) Variable "textClicks" must be all lower-case
(#128) Variable "textClicks" must be all lower-case
(#143) There should be a comma after the last array item in a multi-line array.
(#158) There should be a comma after the last array item in a multi-line array.
(#172) There should be a comma after the last array item in a multi-line array.
(#173) There should be a comma after the last array item in a multi-line array.
(#191) There should be a comma after the last array item in a multi-line array.
(#192) There should be a comma after the last array item in a multi-line array.
(#194) There should be a comma after the last array item in a multi-line array.
(#202) There should be a comma after the last array item in a multi-line array.
(#212) There should be a comma after the last array item in a multi-line array.
(#216) There should be a comma after the last array item in a multi-line array.
(#228) There should be a comma after the last array item in a multi-line array.
(#237) There should be a comma after the last array item in a multi-line array.
(#241) Missing docblock for function run
(#252) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#265) Variable "previewClass" must be all lower-case
(#266) Variable "previewClass" must be all lower-case
(#266) Line exceeds 132 characters; contains 150 characters
(#279) Missing docblock for function params
(#281) There should be a comma after the last array item in a multi-line array.
(#285) File must end with a newline character
local/learning_analytics/reports/coursedashboard/version.php
(#20) Incorrect @package tag for file version.php. Expected lareport_coursedashboard, found local_learning_analytics.
(#30) File must end with a newline character
local/learning_analytics/reports/learners/classes/courseparticipation.php
(#20) Incorrect @package tag for file courseparticipation.php. Expected lareport_learners, found local_learning_analytics.
(#30) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#32) Missing docblock for class courseparticipation
(#34) Missing docblock for function run
(#43) Missing docblock for function params
(#45) There should be a comma after the last array item in a multi-line array.
(#48) File must end with a newline character
local/learning_analytics/reports/learners/classes/helper.php
(#20) Incorrect @package tag for file helper.php. Expected lareport_learners, found local_learning_analytics.
(#35) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#37) Missing docblock for class helper
(#39) Missing member variable doc comment
(#40) Missing member variable doc comment
(#44) You must use "/**" style comments for a member variable comment
(#46) Missing docblock for function generatecourseparticipationlist
(#74) Whitespace found at end of line
(#77) There should be a comma after the last array item in a multi-line array.
(#117) There should be a comma after the last array item in a multi-line array.
local/learning_analytics/reports/learners/classes/preview.php
(#20) Incorrect @package tag for file preview.php. Expected lareport_learners, found local_learning_analytics.
(#27) Import statements must not begin with a leading backslash
(#29) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#31) Missing docblock for class preview
(#33) Missing docblock for function content
(#43) There should be a comma after the last array item in a multi-line array.
(#47) Missing docblock for function icon
(#49) Line exceeds 132 characters; contains 135 characters
(#55) Whitespace found at end of line
(#56) File must end with a newline character
local/learning_analytics/reports/learners/classes/privacy/provider.php
(#20) Incorrect @package tag for file provider.php. Expected lareport_learners, found local_learning_analytics.
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#29) Missing docblock for class provider
(#30) Missing docblock for function get_reason
(#30) There must not be a space before the colon in a return type declaration
local/learning_analytics/reports/learners/classes/query_helper.php
(#20) Incorrect @package tag for file query_helper.php. Expected lareport_learners, found local_learning_analytics.
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#31) Missing docblock for class query_helper
(#33) Missing docblock for function query_learners_count
(#33) There must not be a space before the colon in a return type declaration
(#36) Inline comments must start with a capital letter, digit or 3-dots sequence
(#36) Inline comments must end in full-stops, exclamation marks, or question marks
(#65) Missing docblock for function query_courseparticipation
(#68) There must not be a space before the colon in a return type declaration
(#76) Inline comments must start with a capital letter, digit or 3-dots sequence
(#76) Inline comments must end in full-stops, exclamation marks, or question marks
(#80) Line exceeds 132 characters; contains 139 characters
(#129) Missing docblock for function query_localization
(#129) There must not be a space before the colon in a return type declaration
(#162) Missing docblock for function preview_query_users
(#162) There must not be a space before the colon in a return type declaration
(#189) There should be a comma after the last array item in a multi-line array.
local/learning_analytics/reports/learners/lang/de/lareport_learners.php
(#20) Incorrect @package tag for file lareport_learners.php. Expected lareport_learners, found local_learning_analytics.
(#29) The string key "pagename_all" is not in the correct order, it should be before "privacy:metadata"
(#31) The string key "introduction" is not in the correct order, it should be before "pagename_courseparticipation"
(#36) The string key "courses_heard_before" is not in the correct order, it should be before "registered_users"
(#38) The string key "coursename" is not in the correct order, it should be before "parallel_courses"
(#42) The string key "most_active_learners" is not in the correct order, it should be before "participating_now"
(#43) The string key "countries_of_learners" is not in the correct order, it should be before "most_active_learners"
(#46) The string key "firstname" is not in the correct order, it should be before "languages_of_learners"
(#49) The string key "firstaccess" is not in the correct order, it should be before "role"
(#51) The string key "hits" is not in the correct order, it should be before "lastaccess"
(#54) The string key "countries" is not in the correct order, it should be before "sessions"
local/learning_analytics/reports/learners/lang/en/lareport_learners.php
(#20) Incorrect @package tag for file lareport_learners.php. Expected lareport_learners, found local_learning_analytics.
(#29) The string key "pagename_all" is not in the correct order, it should be before "privacy:metadata"
(#31) The string key "introduction" is not in the correct order, it should be before "pagename_courseparticipation"
(#36) The string key "courses_heard_before" is not in the correct order, it should be before "registered_users"
(#38) The string key "coursename" is not in the correct order, it should be before "parallel_courses"
(#42) The string key "most_active_learners" is not in the correct order, it should be before "participating_now"
(#43) The string key "countries_of_learners" is not in the correct order, it should be before "most_active_learners"
(#46) The string key "firstname" is not in the correct order, it should be before "languages_of_learners"
(#49) The string key "firstaccess" is not in the correct order, it should be before "role"
(#51) The string key "hits" is not in the correct order, it should be before "lastaccess"
(#54) The string key "countries" is not in the correct order, it should be before "sessions"
local/learning_analytics/reports/learners/lareport_learners.php
(#20) Incorrect @package tag for file lareport_learners.php. Expected lareport_learners, found local_learning_analytics.
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#35) Missing docblock for class lareport_learners
(#37) Missing member variable doc comment
(#42) There should be a comma after the last array item in a multi-line array.
(#45) Missing docblock for function createseries
(#52) There should be a comma after the last array item in a multi-line array.
(#56) There should be a comma after the last array item in a multi-line array.
(#60) Missing docblock for function langandcountryplot
(#61) Line exceeds 132 characters; contains 141 characters
(#82) There should be a comma after the last array item in a multi-line array.
(#105) There should be a comma after the last array item in a multi-line array.
(#128) Missing docblock for function languagesandcountries
(#136) There should be a comma after the last array item in a multi-line array.
(#140) Missing docblock for function run
(#143) Inline comments must start with a capital letter, digit or 3-dots sequence
(#143) This comment is 67% valid code; is this commented out code?
(#147) There should be a comma after the last array item in a multi-line array.
(#153) Missing docblock for function params
(#155) There should be a comma after the last array item in a multi-line array.
local/learning_analytics/reports/learners/version.php
(#20) Incorrect @package tag for file version.php. Expected lareport_learners, found local_learning_analytics.
(#30) File must end with a newline character
local/learning_analytics/reports/quiz_assign/classes/preview.php
(#20) Incorrect @package tag for file preview.php. Expected lareport_quiz_assign, found local_learning_analytics.
(#27) Import statements must not begin with a leading backslash
(#28) Import statements must not begin with a leading backslash
(#30) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#32) Missing docblock for class preview
(#34) Missing docblock for function content
(#42) Variable "hitsLast7Days" must be all lower-case
(#44) Variable "quiz_not_enough_value" must not contain underscores.
(#45) Variable "hitsLast7Days" must be all lower-case
(#46) Variable "quiz_not_enough_value" must not contain underscores.
(#46) Line exceeds maximum limit of 180 characters; contains 182 characters
(#48) Whitespace found at end of line
(#50) Variable "hitsLast7Days" must be all lower-case
(#50) Line exceeds 132 characters; contains 135 characters
(#50) There should be a comma after the last array item in a multi-line array.
(#54) Missing docblock for function icon
(#57) Line exceeds 132 characters; contains 150 characters
(#60) Whitespace found at end of line
(#61) File must end with a newline character
local/learning_analytics/reports/quiz_assign/classes/privacy/provider.php
(#20) Incorrect @package tag for file provider.php. Expected lareport_quiz_assign, found local_learning_analytics.
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#29) Missing docblock for class provider
(#30) Missing docblock for function get_reason
(#30) There must not be a space before the colon in a return type declaration
local/learning_analytics/reports/quiz_assign/classes/query_helper.php
(#20) Incorrect @package tag for file query_helper.php. Expected lareport_quiz_assign, found local_learning_analytics.
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#34) Missing docblock for class query_helper
(#36) Missing docblock for function query_quiz
(#64) Missing docblock for function query_assignment
(#94) Missing docblock for function helper_quiz_and_assigments
(#94) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $to.
(#97) Inline comments must start with a capital letter, digit or 3-dots sequence
(#97) Inline comments must end in full-stops, exclamation marks, or question marks
(#111) Inline comments must start with a capital letter, digit or 3-dots sequence
(#111) Inline comments must end in full-stops, exclamation marks, or question marks
(#128) Missing docblock for function preview_quiz_and_assigments
local/learning_analytics/reports/quiz_assign/lang/de/lareport_quiz_assign.php
(#20) Incorrect @package tag for file lareport_quiz_assign.php. Expected lareport_quiz_assign, found local_learning_analytics.
(#30) The string key "assignments" is not in the correct order, it should be before "quizzes"
(#37) Unexpected comment found. Auto-fixing will not work after this comment
(#37) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) The string key "introduction" is not in the correct order, it should be before "quiz_less_than_text"
(#40) The string key "introduction_no_assignments" is not in the correct order, it should be before "introduction_no_quizzes"
(#43) Unexpected comment found. Auto-fixing will not work after this comment
(#43) Inline comments must end in full-stops, exclamation marks, or question marks
(#45) The string key "participants" is not in the correct order, it should be before "quiz"
(#46) The string key "attempts" is not in the correct order, it should be before "participants"
(#50) Unexpected comment found. Auto-fixing will not work after this comment
(#50) Inline comments must end in full-stops, exclamation marks, or question marks
(#51) The string key "assignment" is not in the correct order, it should be before "overall_average_first_try"
local/learning_analytics/reports/quiz_assign/lang/en/lareport_quiz_assign.php
(#20) Incorrect @package tag for file lareport_quiz_assign.php. Expected lareport_quiz_assign, found local_learning_analytics.
(#30) The string key "assignments" is not in the correct order, it should be before "quizzes"
(#37) Unexpected comment found. Auto-fixing will not work after this comment
(#37) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) The string key "introduction" is not in the correct order, it should be before "quiz_less_than_text"
(#40) The string key "introduction_no_assignments" is not in the correct order, it should be before "introduction_no_quizzes"
(#43) Unexpected comment found. Auto-fixing will not work after this comment
(#43) Inline comments must end in full-stops, exclamation marks, or question marks
(#45) The string key "participants" is not in the correct order, it should be before "quiz"
(#46) The string key "attempts" is not in the correct order, it should be before "participants"
(#50) Unexpected comment found. Auto-fixing will not work after this comment
(#50) Inline comments must end in full-stops, exclamation marks, or question marks
(#51) The string key "assignment" is not in the correct order, it should be before "overall_average_first_try"
local/learning_analytics/reports/quiz_assign/lareport_quiz_assign.php
(#20) Incorrect @package tag for file lareport_quiz_assign.php. Expected lareport_quiz_assign, found local_learning_analytics.
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#34) Missing docblock for class lareport_quiz_assign
(#36) Missing docblock for function quizzes
(#38) Line exceeds 132 characters; contains 147 characters
(#73) There should be a comma after the last array item in a multi-line array.
(#82) There should be a comma after the last array item in a multi-line array.
(#90) Line exceeds 132 characters; contains 136 characters
(#91) There should be a comma after the last array item in a multi-line array.
(#95) Missing docblock for function assignments
(#117) Inline comments must start with a capital letter, digit or 3-dots sequence
(#117) Inline comments must end in full-stops, exclamation marks, or question marks
(#121) Inline comments must start with a capital letter, digit or 3-dots sequence
(#121) Inline comments must end in full-stops, exclamation marks, or question marks
(#130) There should be a comma after the last array item in a multi-line array.
(#137) There should be a comma after the last array item in a multi-line array.
(#145) Line exceeds 132 characters; contains 136 characters
(#149) Missing docblock for function run
(#169) There should be a comma after the last array item in a multi-line array.
(#176) Missing docblock for function params
(#178) There should be a comma after the last array item in a multi-line array.
(#181) File must end with a newline character
local/learning_analytics/reports/quiz_assign/version.php
(#20) Incorrect @package tag for file version.php. Expected lareport_quiz_assign, found local_learning_analytics.
(#30) File must end with a newline character
local/learning_analytics/reports/weekheatmap/classes/preview.php
(#20) Incorrect @package tag for file preview.php. Expected lareport_weekheatmap, found local_learning_analytics.
(#27) Import statements must not begin with a leading backslash
(#28) Import statements must not begin with a leading backslash
(#30) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#32) Missing docblock for class preview
(#34) Missing docblock for function content
(#42) Variable "hitsLast7Days" must be all lower-case
(#46) Variable "hitsLast7Days" must be all lower-case
(#47) Line exceeds 132 characters; contains 170 characters
(#49) Whitespace found at end of line
(#51) Variable "hitsLast7Days" must be all lower-case
(#51) Line exceeds 132 characters; contains 135 characters
(#51) There should be a comma after the last array item in a multi-line array.
(#55) Missing docblock for function icon
(#61) Whitespace found at end of line
(#62) File must end with a newline character
local/learning_analytics/reports/weekheatmap/classes/privacy/provider.php
(#20) Incorrect @package tag for file provider.php. Expected lareport_weekheatmap, found local_learning_analytics.
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#29) Missing docblock for class provider
(#30) Missing docblock for function get_reason
(#30) There must not be a space before the colon in a return type declaration
local/learning_analytics/reports/weekheatmap/classes/query_helper.php
(#20) Incorrect @package tag for file query_helper.php. Expected lareport_weekheatmap, found local_learning_analytics.
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#33) Import statements must not begin with a leading backslash
(#35) Missing docblock for class query_helper
(#37) Missing docblock for function query_heatmap
(#43) Whitespace found at end of line
(#67) Inline comments must start with a capital letter, digit or 3-dots sequence
(#67) Inline comments must end in full-stops, exclamation marks, or question marks
(#69) Short array syntax must be used to define arrays
(#81) Missing docblock for function click_count_helper
(#81) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $to.
(#98) Missing docblock for function preview_query_click_count
(#98) There must not be a space before the colon in a return type declaration
(#114) There should be a comma after the last array item in a multi-line array.
(#115) There should be a comma after the last array item in a multi-line array.
local/learning_analytics/reports/weekheatmap/lang/de/lareport_weekheatmap.php
(#20) Incorrect @package tag for file lareport_weekheatmap.php. Expected lareport_weekheatmap, found local_learning_analytics.
(#29) The string key "click_count" is not in the correct order, it should be before "privacy:metadata"
(#34) The string key "hits" is not in the correct order, it should be before "introduction"
local/learning_analytics/reports/weekheatmap/lang/en/lareport_weekheatmap.php
(#20) Incorrect @package tag for file lareport_weekheatmap.php. Expected lareport_weekheatmap, found local_learning_analytics.
(#29) The string key "click_count" is not in the correct order, it should be before "privacy:metadata"
(#34) The string key "hits" is not in the correct order, it should be before "introduction"
local/learning_analytics/reports/weekheatmap/lareport_weekheatmap.php
(#20) Incorrect @package tag for file lareport_weekheatmap.php. Expected lareport_weekheatmap, found local_learning_analytics.
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#34) Missing docblock for class lareport_weekheatmap
(#36) Missing docblock for function run
(#47) Variable "startOfWeek" must be all lower-case
(#49) Short array syntax must be used to define arrays
(#50) Variable "startOfWeek" must be all lower-case
(#51) Variable "startOfWeek" must be all lower-case
(#51) Variable "startOfWeek" must be all lower-case
(#54) Whitespace found at end of line
(#59) Whitespace found at end of line
(#60) Line exceeds 132 characters; contains 134 characters
(#60) Inline comments must start with a capital letter, digit or 3-dots sequence
(#63) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#64) Inline comments must end in full-stops, exclamation marks, or question marks
(#70) Inline comments must start with a capital letter, digit or 3-dots sequence
(#70) Inline comments must end in full-stops, exclamation marks, or question marks
(#71) Variable "startOfWeek" must be all lower-case
(#71) This comment is 53% valid code; is this commented out code?
(#111) Inline comments must end in full-stops, exclamation marks, or question marks
(#125) There should be a comma after the last array item in a multi-line array.
(#129) Missing docblock for function params
(#131) There should be a comma after the last array item in a multi-line array.
(#134) File must end with a newline character
local/learning_analytics/reports/weekheatmap/version.php
(#20) Incorrect @package tag for file version.php. Expected lareport_weekheatmap, found local_learning_analytics.
(#30) File must end with a newline character
local/learning_analytics/settings.php
(#27) Whitespace found at end of line
(#46) Inline comments must end in full-stops, exclamation marks, or question marks
(#50) Variable "statusDescription" must be all lower-case
(#56) There should be a comma after the last array item in a multi-line array.
(#58) Variable "statusDescription" must be all lower-case
(#63) Variable "statusDescription" must be all lower-case
(#64) Inline comments must start with a capital letter, digit or 3-dots sequence
(#64) Inline comments must end in full-stops, exclamation marks, or question marks
(#70) Inline comments must end in full-stops, exclamation marks, or question marks
(#93) Inline comments must start with a capital letter, digit or 3-dots sequence
(#93) Inline comments must end in full-stops, exclamation marks, or question marks
(#109) Inline comments must start with a capital letter, digit or 3-dots sequence
(#109) Inline comments must end in full-stops, exclamation marks, or question marks
(#121) Inline comments must start with a capital letter, digit or 3-dots sequence
(#121) Inline comments must end in full-stops, exclamation marks, or question marks
local/learning_analytics/version.php
(#37) File must end with a newline character

Javascript coding style problems

(1 errors, 8 warnings)

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

local/learning_analytics/Gruntfile.js
(#1) 'module' is not defined. (no-undef)
(#1) Unexpected space before function parentheses. (space-before-function-paren)
local/learning_analytics/amd/src/outputs.js
(#1) Unexpected space before function parentheses. (space-before-function-paren)
(#17) Unexpected space before function parentheses. (space-before-function-paren)
(#19) Identifier 'plot_data' is not in camel case. (camelcase)
(#21) Unexpected space before function parentheses. (space-before-function-paren)
(#22) Identifier 'plot_data' is not in camel case. (camelcase)
(#22) Identifier 'plot_data' is not in camel case. (camelcase)
(#22) Identifier 'plot_data' is not in camel case. (camelcase)

CSS problems

(61 errors, 0 warnings)

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

local/learning_analytics/static/styles.css
(#93) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
local/learning_analytics/static/loading-indicator/style.css
(#15) Expected indentation of 12 spaces (indentation)
(#16) Expected indentation of 12 spaces (indentation)
(#17) Expected indentation of 12 spaces (indentation)
(#18) Expected indentation of 12 spaces (indentation)
(#19) Expected indentation of 12 spaces (indentation)
(#20) Expected indentation of 12 spaces (indentation)
(#21) Expected indentation of 12 spaces (indentation)
(#26) Expected indentation of 12 spaces (indentation)
(#27) Expected indentation of 12 spaces (indentation)
(#28) Expected indentation of 12 spaces (indentation)
(#29) Expected indentation of 12 spaces (indentation)
(#30) Expected indentation of 12 spaces (indentation)
(#31) Expected indentation of 12 spaces (indentation)
(#32) Expected indentation of 12 spaces (indentation)
(#37) Expected indentation of 12 spaces (indentation)
(#38) Expected indentation of 12 spaces (indentation)
(#39) Expected indentation of 12 spaces (indentation)
(#40) Expected indentation of 12 spaces (indentation)
(#41) Expected indentation of 12 spaces (indentation)
(#42) Expected indentation of 12 spaces (indentation)
(#43) Expected indentation of 12 spaces (indentation)
(#48) Expected indentation of 12 spaces (indentation)
(#49) Expected indentation of 12 spaces (indentation)
(#50) Expected indentation of 12 spaces (indentation)
(#51) Expected indentation of 12 spaces (indentation)
(#52) Expected indentation of 12 spaces (indentation)
(#53) Expected indentation of 12 spaces (indentation)
(#54) Expected indentation of 12 spaces (indentation)
(#59) Expected indentation of 12 spaces (indentation)
(#60) Expected indentation of 12 spaces (indentation)
(#61) Expected indentation of 12 spaces (indentation)
(#62) Expected indentation of 12 spaces (indentation)
(#63) Expected indentation of 12 spaces (indentation)
(#64) Expected indentation of 12 spaces (indentation)
(#65) Expected indentation of 12 spaces (indentation)
(#70) Expected indentation of 12 spaces (indentation)
(#71) Expected indentation of 12 spaces (indentation)
(#72) Expected indentation of 12 spaces (indentation)
(#73) Expected indentation of 12 spaces (indentation)
(#74) Expected indentation of 12 spaces (indentation)
(#75) Expected indentation of 12 spaces (indentation)
(#76) Expected indentation of 12 spaces (indentation)
(#81) Expected indentation of 12 spaces (indentation)
(#82) Expected indentation of 12 spaces (indentation)
(#83) Expected indentation of 12 spaces (indentation)
(#84) Expected indentation of 12 spaces (indentation)
(#85) Expected indentation of 12 spaces (indentation)
(#86) Expected indentation of 12 spaces (indentation)
(#87) Expected indentation of 12 spaces (indentation)
(#92) Expected indentation of 12 spaces (indentation)
(#93) Expected indentation of 12 spaces (indentation)
(#94) Expected indentation of 12 spaces (indentation)
(#95) Expected indentation of 12 spaces (indentation)
(#96) Expected indentation of 12 spaces (indentation)
(#97) Expected indentation of 12 spaces (indentation)
(#98) Expected indentation of 12 spaces (indentation)
local/learning_analytics/reports/coursedashboard/static/styles.css
(#18) Expected empty line before at-rule (at-rule-empty-line-before)
(#3) Expected single space after "," in a single-line function (function-comma-space-after)
(#3) Expected single space after "," in a single-line function (function-comma-space-after)
(#3) Expected single space after "," in a single-line function (function-comma-space-after)

PHPDocs style problems

(4 errors, 0 warnings)

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

local/learning_analytics/classes/local/outputs/plot.php
(#61) Phpdocs for function plot::sql_to_series has incomplete parameters list
local/learning_analytics/classes/plugininfo/lareport.php
(#36) Phpdocs for function lareport::load_settings has incomplete parameters list
local/learning_analytics/lib.php
(#29) Phpdocs for function local_learning_analytics_extend_navigation has incomplete parameters list
(#129) Phpdocs for function local_learning_analytics_extend_navigation_course 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

(2 errors, 0 warnings)

This section shows files built by grunt and not commited [More info]

local/learning_analytics/amd/build/outputs.min.js
Uncommitted change detected.
local/learning_analytics/amd/build/outputs.min.js.map
Uncommitted change detected.

shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 3 warnings)

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

local/learning_analytics/templates/admin_customfield_info.mustache
(#1) Example context missing (@template section not found.)
local/learning_analytics/templates/course.mustache
(#1) Example context missing (@template section not found.)
local/learning_analytics/templates/help.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation info, line 4: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. (/div> <hr/> )
(#1) HTML Validation info, line 15: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. (iv> <hr/> )

Gherkin .feature problems

(0 errors, 0 warnings)

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