Prechecker results: error


PHP lint problems

(1 errors, 0 warnings)

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

report/trainingsessions/cli/batch_all_courses.php
(#123) PHP Parse error: Unmatched ')' in /report/trainingsessions/cli/batch_all_courses.php on line 123

PHP coding style problems

(37 errors, 179 warnings)

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

report/trainingsessions/batchs/groupcsvreport_batch.php
(#32) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
(#49) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#124) Line exceeds 132 characters; contains 136 characters
report/trainingsessions/batchs/groupxlsreport_batch.php
(#32) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
(#134) Line exceeds 132 characters; contains 136 characters
report/trainingsessions/classes/privacy/provider.php
(#19) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#31) File must end with a newline character
report/trainingsessions/cli/batch_all_courses.php
(#33) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#33) Variable "CLI_VMOODLE_PRECHECK" must be all lower-case
(#33) Variable "CLI_VMOODLE_PRECHECK" must not contain underscores.
(#37) Variable "CLI_VMOODLE_PRECHECK" must be all lower-case
(#37) Variable "CLI_VMOODLE_PRECHECK" must not contain underscores.
(#139) Expected "if (...) {\n"; found "if (...) {\n"
(#143) Expected "if (...) {\n"; found "if (...) {\n"
(#153) Line exceeds 132 characters; contains 137 characters
(#156) Expected "if (...) {\n"; found "if (...) {\n"
(#160) Expected "if (...) {\n"; found "if (...) {\n"
(#189) File must end with a newline character
report/trainingsessions/courseraw.task_receiver.php
(#37) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
report/trainingsessions/courserawreport.php
(#35) Line exceeds 132 characters; contains 152 characters
(#101) Line exceeds 132 characters; contains 155 characters
(#105) Line exceeds 132 characters; contains 135 characters
(#152) Line exceeds 132 characters; contains 138 characters
(#374) File must end with a newline character
report/trainingsessions/coursereport.php
(#102) Line exceeds 132 characters; contains 144 characters
(#110) Line exceeds 132 characters; contains 152 characters
report/trainingsessions/coursesummaryreport.php
(#49) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#88) Line exceeds 132 characters; contains 144 characters
(#126) Inline comments must end in full-stops, exclamation marks, or question marks
(#128) Inline comments must end in full-stops, exclamation marks, or question marks
(#145) Inline comments must end in full-stops, exclamation marks, or question marks
(#154) Inline comments must end in full-stops, exclamation marks, or question marks
report/trainingsessions/db/caches.php
(#30) File must end with a newline character
report/trainingsessions/db/upgrade.php
(#35) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
report/trainingsessions/externallib.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#43) Line exceeds 132 characters; contains 134 characters
(#206) File must end with a newline character
report/trainingsessions/filearea.php
(#40) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#71) Line exceeds 132 characters; contains 144 characters
report/trainingsessions/gradesettings_form.php
(#269) File must end with a newline character
report/trainingsessions/gradessettings.php
(#37) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
report/trainingsessions/index.php
(#37) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#66) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
report/trainingsessions/lang/en/pro_additional_strings.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#14) Inline comments must start with a capital letter, digit or 3-dots sequence
(#14) Inline comments must end in full-stops, exclamation marks, or question marks
report/trainingsessions/lang/en/report_trainingsessions.php
(#28) Inline comments must start with a capital letter, digit or 3-dots sequence
(#29) Inline comments must start with a capital letter, digit or 3-dots sequence
(#30) Inline comments must start with a capital letter, digit or 3-dots sequence
(#31) Inline comments must start with a capital letter, digit or 3-dots sequence
(#32) Inline comments must start with a capital letter, digit or 3-dots sequence
(#33) Inline comments must start with a capital letter, digit or 3-dots sequence
(#46) Inline comments must start with a capital letter, digit or 3-dots sequence
(#54) Inline comments must start with a capital letter, digit or 3-dots sequence
(#94) Inline comments must start with a capital letter, digit or 3-dots sequence
(#99) Inline comments must start with a capital letter, digit or 3-dots sequence
(#120) Inline comments must start with a capital letter, digit or 3-dots sequence
(#121) Inline comments must start with a capital letter, digit or 3-dots sequence
(#122) Inline comments must start with a capital letter, digit or 3-dots sequence
(#123) Inline comments must start with a capital letter, digit or 3-dots sequence
(#124) Inline comments must start with a capital letter, digit or 3-dots sequence
(#125) Inline comments must start with a capital letter, digit or 3-dots sequence
(#202) Inline comments must start with a capital letter, digit or 3-dots sequence
(#205) Inline comments must start with a capital letter, digit or 3-dots sequence
(#533) File is being unconditionally included; use "require" instead
(#533) File must end with a newline character
report/trainingsessions/lang/fr/pro_additional_strings.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#14) Inline comments must start with a capital letter, digit or 3-dots sequence
(#14) Inline comments must end in full-stops, exclamation marks, or question marks
report/trainingsessions/lang/fr/report_trainingsessions.php
(#26) Inline comments must start with a capital letter, digit or 3-dots sequence
(#27) Inline comments must start with a capital letter, digit or 3-dots sequence
(#28) Inline comments must start with a capital letter, digit or 3-dots sequence
(#29) Inline comments must start with a capital letter, digit or 3-dots sequence
(#30) Inline comments must start with a capital letter, digit or 3-dots sequence
(#31) Inline comments must start with a capital letter, digit or 3-dots sequence
(#44) Inline comments must start with a capital letter, digit or 3-dots sequence
(#52) Inline comments must start with a capital letter, digit or 3-dots sequence
(#93) Inline comments must start with a capital letter, digit or 3-dots sequence
(#98) Inline comments must start with a capital letter, digit or 3-dots sequence
(#118) Inline comments must start with a capital letter, digit or 3-dots sequence
(#119) Inline comments must start with a capital letter, digit or 3-dots sequence
(#120) Inline comments must start with a capital letter, digit or 3-dots sequence
(#121) Inline comments must start with a capital letter, digit or 3-dots sequence
(#122) Inline comments must start with a capital letter, digit or 3-dots sequence
(#123) Inline comments must start with a capital letter, digit or 3-dots sequence
(#154) Inline comments must start with a capital letter, digit or 3-dots sequence
(#155) Inline comments must start with a capital letter, digit or 3-dots sequence
(#204) Inline comments must start with a capital letter, digit or 3-dots sequence
(#516) File is being unconditionally included; use "require" instead
report/trainingsessions/lib.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#69) Logical operator "and" is prohibited; use "&&" instead
(#69) Logical operator "or" is prohibited; use "||" instead
report/trainingsessions/lib/excellib.php
(#54) Line exceeds 132 characters; contains 136 characters
(#57) File must end with a newline character
report/trainingsessions/locallib.php
(#95) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#105) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#128) This comment is 64% valid code; is this commented out code?
(#150) Declaring a required parameter after an optional one is deprecated since PHP 8.0. Parameter $parentid is optional, while parameter $itemcount is required.
(#325) This comment is 59% valid code; is this commented out code?
(#562) Function strftime() is deprecated since PHP 8.1; Use date() or IntlDateFormatter::format() instead
(#580) Function strftime() is deprecated since PHP 8.1; Use date() or IntlDateFormatter::format() instead
(#970) Inline comments must end in full-stops, exclamation marks, or question marks
(#1169) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#1226) Function strftime() is deprecated since PHP 8.1; Use date() or IntlDateFormatter::format() instead
(#1227) Function strftime() is deprecated since PHP 8.1; Use date() or IntlDateFormatter::format() instead
(#1314) Function strftime() is deprecated since PHP 8.1; Use date() or IntlDateFormatter::format() instead
(#1315) Function strftime() is deprecated since PHP 8.1; Use date() or IntlDateFormatter::format() instead
(#1404) Line exceeds 132 characters; contains 145 characters
(#1410) Line exceeds 132 characters; contains 158 characters
(#1417) Line exceeds 132 characters; contains 152 characters
(#1707) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1763) Line exceeds 132 characters; contains 168 characters
(#2023) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#2053) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#2073) Inline comments must start with a capital letter, digit or 3-dots sequence
(#2079) Inline comments must start with a capital letter, digit or 3-dots sequence
(#2079) Inline comments must end in full-stops, exclamation marks, or question marks
(#2082) Inline comments must start with a capital letter, digit or 3-dots sequence
(#2272) File must end with a newline character
report/trainingsessions/renderer.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#173) File must end with a newline character
report/trainingsessions/renderers/csvrenderers.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#361) File must end with a newline character
report/trainingsessions/renderers/htmlrenderers.php
(#31) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#206) Inline comments must start with a capital letter, digit or 3-dots sequence
(#206) This comment is 64% valid code; is this commented out code?
(#207) Inline comments must end in full-stops, exclamation marks, or question marks
(#251) Inline comments must start with a capital letter, digit or 3-dots sequence
(#251) This comment is 64% valid code; is this commented out code?
(#252) Inline comments must end in full-stops, exclamation marks, or question marks
(#261) Inline comments must end in full-stops, exclamation marks, or question marks
(#290) Inline comments must start with a capital letter, digit or 3-dots sequence
(#303) Inline comments must start with a capital letter, digit or 3-dots sequence
(#303) This comment is 64% valid code; is this commented out code?
(#304) Inline comments must end in full-stops, exclamation marks, or question marks
(#331) Inline comments must start with a capital letter, digit or 3-dots sequence
(#331) This comment is 64% valid code; is this commented out code?
(#332) Inline comments must end in full-stops, exclamation marks, or question marks
(#542) This comment is 60% valid code; is this commented out code?
(#594) Line exceeds 132 characters; contains 145 characters
(#646) Inline comments must end in full-stops, exclamation marks, or question marks
(#669) Inline comments must end in full-stops, exclamation marks, or question marks
(#798) File must end with a newline character
report/trainingsessions/renderers/xlsrenderers.php
(#35) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#114) Inline comments must end in full-stops, exclamation marks, or question marks
(#137) Line exceeds 132 characters; contains 140 characters
(#241) Line exceeds 132 characters; contains 133 characters
(#306) Function strftime() is deprecated since PHP 8.1; Use date() or IntlDateFormatter::format() instead
(#326) Inline comments must end in full-stops, exclamation marks, or question marks
(#328) Function strftime() is deprecated since PHP 8.1; Use date() or IntlDateFormatter::format() instead
(#345) Function strftime() is deprecated since PHP 8.1; Use date() or IntlDateFormatter::format() instead
(#348) Function strftime() is deprecated since PHP 8.1; Use date() or IntlDateFormatter::format() instead
(#456) Inline comments must start with a capital letter, digit or 3-dots sequence
(#456) This comment is 71% valid code; is this commented out code?
(#581) Line exceeds 132 characters; contains 146 characters
(#609) Inline comments must end in full-stops, exclamation marks, or question marks
(#623) Inline comments must start with a capital letter, digit or 3-dots sequence
(#623) This comment is 79% valid code; is this commented out code?
(#625) Function strftime() is deprecated since PHP 8.1; Use date() or IntlDateFormatter::format() instead
(#632) Inline comments must start with a capital letter, digit or 3-dots sequence
(#636) Inline comments must start with a capital letter, digit or 3-dots sequence
(#636) This comment is 79% valid code; is this commented out code?
(#638) Function strftime() is deprecated since PHP 8.1; Use date() or IntlDateFormatter::format() instead
(#945) Inline comments must start with a capital letter, digit or 3-dots sequence
(#945) This comment is 74% valid code; is this commented out code?
(#1017) File must end with a newline character
report/trainingsessions/selector_form.php
(#93) Line exceeds 132 characters; contains 137 characters
(#101) Whitespace found at end of line
(#105) Whitespace found at end of line
(#117) Whitespace found at end of line
(#183) File must end with a newline character
report/trainingsessions/task_form.php
(#106) Inline comments must start with a capital letter, digit or 3-dots sequence
(#106) This comment is 67% valid code; is this commented out code?
report/trainingsessions/tasks/groupcsvreportonerow_batch_task.php
(#29) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
(#75) Inline comments must start with a capital letter, digit or 3-dots sequence
(#104) Inline comments must start with a capital letter, digit or 3-dots sequence
(#104) Inline comments must end in full-stops, exclamation marks, or question marks
(#104) This comment is 75% valid code; is this commented out code?
(#104) File must end with a newline character
report/trainingsessions/tasks/groupcsvreportsummary_batch_task.php
(#29) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
(#75) Inline comments must start with a capital letter, digit or 3-dots sequence
(#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
(#109) This comment is 75% valid code; is this commented out code?
(#109) File must end with a newline character
report/trainingsessions/tasks/groupcsvreportworkingdays_batch_task.php
(#29) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
(#74) Inline comments must start with a capital letter, digit or 3-dots sequence
(#110) Function strftime() is deprecated since PHP 8.1; Use date() or IntlDateFormatter::format() instead
(#115) Function strftime() is deprecated since PHP 8.1; Use date() or IntlDateFormatter::format() instead
(#123) Inline comments must end in full-stops, exclamation marks, or question marks
(#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
(#138) This comment is 75% valid code; is this commented out code?
(#138) File must end with a newline character
report/trainingsessions/tasks/groupxlsreportperuser_batch_task.php
(#30) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
report/trainingsessions/tasks/groupxlsreportsummary_batch_task.php
(#30) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
(#68) Line exceeds 132 characters; contains 138 characters
(#136) File must end with a newline character
report/trainingsessions/tasks/groupxlsreportworkingdays_batch_task.php
(#30) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
(#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
(#36) This comment is 78% valid code; is this commented out code?
(#66) Line exceeds 132 characters; contains 138 characters
(#149) Function strftime() is deprecated since PHP 8.1; Use date() or IntlDateFormatter::format() instead
(#154) Function strftime() is deprecated since PHP 8.1; Use date() or IntlDateFormatter::format() instead
(#180) File must end with a newline character
report/trainingsessions/tasks/usercsvreportperuser_batch_task.php
(#30) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
report/trainingsessions/tasks/usercsvreportsessions_batch_task.php
(#25) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
(#43) Inline comments must end in full-stops, exclamation marks, or question marks
report/trainingsessions/tasks/userxlsreportallcourses_batch_task.php
(#30) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
(#106) File must end with a newline character
report/trainingsessions/tasks/userxlsreportperuser_batch_task.php
(#30) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
report/trainingsessions/tasks/userxlsreportsessions_batch_task.php
(#30) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
report/trainingsessions/userreport.php
(#48) Line exceeds 132 characters; contains 142 characters
report/trainingsessions/xlib.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#41) File must end with a newline character

Javascript coding style problems

(4 errors, 6 warnings)

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

report/trainingsessions/amd/src/pro.js
(#34) Identifier 'check_product_key' is not in camel case. (camelcase)
(#50) 'found' is assigned a value but never used. (no-unused-vars)
(#64) Expected a conditional expression and instead saw an assignment. (no-cond-assign)
(#82) Missing JSDoc @param "keypayload" declaration. (jsdoc/require-param)
(#82) Missing JSDoc @returns for function. (valid-jsdoc)
(#82) Missing JSDoc for parameter 'keypayload'. (valid-jsdoc)
report/trainingsessions/amd/src/trainingsessions.js
(#19) @package should be empty. (jsdoc/empty-tags)
(#34) ["layoutconstraints"] is better written in dot notation. (dot-notation)
(#39) Identifier 'filter_formats' is not in camel case. (camelcase)
(#46) Comments should not begin with a lowercase character. (capitalized-comments)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(204 errors, 25 warnings)

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

report/trainingsessions/allcoursesreport.php
(#22) Category report is not valid
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
report/trainingsessions/batchs/groupcsvreport_batch.php
(#27) Category report is not valid
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
(#29) Not recommended phpdocs tag @version used
report/trainingsessions/batchs/groupxlsreport_batch.php
(#27) Category report is not valid
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
report/trainingsessions/classes/privacy/provider.php
(#21) Package is not specified for class provider. It is also not specified in file-level phpdocs
(#21) Class provider is not documented
report/trainingsessions/classes/task/batchreports_task.php
(#23) Category report is not valid
(#33) Class batchreports_task is not documented
report/trainingsessions/classes/task/cleanoldreports_task.php
(#23) Category report is not valid
(#33) Class cleanoldreports_task is not documented
report/trainingsessions/cli/batch_all_courses.php
(#19) Category report is not valid
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
(#20) Not recommended phpdocs tag @version used
report/trainingsessions/cli/extract_csv_report.php
(#19) Category report is not valid
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
(#20) Not recommended phpdocs tag @version used
report/trainingsessions/cli/extract_csv_report_flat.php
(#19) Category report is not valid
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
report/trainingsessions/courseraw.task_receiver.php
(#21) Category report is not valid
(#17) File-level phpdocs block does not have @copyright tag
(#22) Not recommended phpdocs tag @version used
report/trainingsessions/courserawreport.php
(#21) Category report is not valid
(#17) File-level phpdocs block does not have @copyright tag
(#22) Not recommended phpdocs tag @version used
report/trainingsessions/coursereport.php
(#21) Category report is not valid
(#17) File-level phpdocs block does not have @copyright tag
(#22) Not recommended phpdocs tag @version used
report/trainingsessions/coursesummary_selector_form.php
(#21) Category report is not valid
(#31) Class CourseSummarySelectorForm is not documented
(#33) Function CourseSummarySelectorForm::definition is not documented
(#17) File-level phpdocs block does not have @copyright tag
(#22) Not recommended phpdocs tag @version used
report/trainingsessions/coursesummaryreport.php
(#17) File-level phpdocs block does not have @copyright tag
report/trainingsessions/cronlib.php
(#21) Category report is not valid
(#31) Function debug_trace is not documented
(#17) File-level phpdocs block does not have @copyright tag
report/trainingsessions/db/access.php
(#21) Category report is not valid
report/trainingsessions/db/caches.php
(#18) Package local_courseindex is not valid
(#19) Category local is not valid
(#17) No one-line description found in phpdocs for file
report/trainingsessions/db/services.php
(#23) File-level phpdocs block is not found
report/trainingsessions/db/upgrade.php
(#37) Function xmldb_report_trainingsessions_upgrade is not documented
(#172) Function relocate_header_files is not documented
report/trainingsessions/externallib.php
(#19) Category report is not valid
(#28) Class report_trainingsessions_external is not documented
(#30) Function report_trainingsessions_external::validate_report_parameters is not documented
(#132) Function report_trainingsessions_external::get_report_url_parameters is not documented
(#173) Function report_trainingsessions_external::get_report_url is not documented
(#203) Function report_trainingsessions_external::get_report_url_returns is not documented
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
report/trainingsessions/filearea.php
(#21) Category report is not valid
report/trainingsessions/files_form.php
(#21) Category report is not valid
report/trainingsessions/gradesettings_form.php
(#21) Category report is not valid
(#32) Class TrainingsessionsGradeSettingsForm is not documented
(#36) Function TrainingsessionsGradeSettingsForm::definition is not documented
(#233) Function TrainingsessionsGradeSettingsForm::validation is not documented
(#34) Variable TrainingsessionsGradeSettingsForm::$linkablemodules is not documented
(#17) File-level phpdocs block does not have @copyright tag
(#22) Not recommended phpdocs tag @version used
report/trainingsessions/gradessettings.php
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
(#26) Not recommended phpdocs tag @version used
report/trainingsessions/index.php
(#21) Category report is not valid
(#17) File-level phpdocs block does not have @copyright tag
report/trainingsessions/lang/en/pro_additional_strings.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
report/trainingsessions/lang/en/report_trainingsessions.php
(#17) File-level phpdocs block does not have @copyright tag
report/trainingsessions/lang/fr/pro_additional_strings.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
report/trainingsessions/lang/fr/report_trainingsessions.php
(#20) Package report is not valid
(#17) File-level phpdocs block does not have @copyright tag
report/trainingsessions/lib.php
(#21) Category report is not valid
(#42) Function report_trainingsessions_page_type_list is not documented
(#77) Phpdocs for function report_trainingsessions_pluginfile has incomplete parameters list
(#108) Phpdocs for function report_trainingsessions_supports_feature has incomplete parameters list
(#55) Invalid phpdocs tag @private used
report/trainingsessions/lib/excellib.php
(#23) Package core is not valid
(#31) Class MoodleExcelWorkbookTS is not documented
(#43) Class MoodleExcelWorksheetTS is not documented
(#17) No one-line description found in phpdocs for file
(#47) Phpdocs for function MoodleExcelWorksheetTS::write_time has incomplete parameters list
report/trainingsessions/locallib.php
(#21) Category report is not valid
(#60) Class trainingsessions is not documented
(#64) Function trainingsessions::__construct is not documented
(#1564) Function trainingsessions::batch_input is not documented
(#2131) Function trainingsessions::get_workingdays_cols is not documented
(#2190) Function trainingsessions::updatefirst is not documented
(#2203) Function trainingsessions::updatelast is not documented
(#2216) Function trainingsessions::get_nonempty_groups is not documented
(#62) Variable trainingsessions::$instance is not documented
(#1384) There is no description in phpdocs for function compute_groups
(#145) Phpdocs for function trainingsessions::fill_structure_from_flexiblesections has incomplete parameters list
(#265) Phpdocs for function trainingsessions::fill_structure_from_sections has incomplete parameters list
(#342) Phpdocs for function trainingsessions::page_get_structure_from_page has incomplete parameters list
(#512) Phpdocs for function trainingsessions::format_time has incomplete parameters list
(#670) Phpdocs for function trainingsessions::add_graded_columns has incomplete parameters list
(#777) Phpdocs for function trainingsessions::add_graded_data has incomplete parameters list
(#843) Phpdocs for function trainingsessions::add_calculated_columns has incomplete parameters list
(#880) Phpdocs for function trainingsessions::add_calculated_data has incomplete parameters list
(#905) Phpdocs for function trainingsessions::compute_timegrade has incomplete parameters list
(#1088) Phpdocs for function trainingsessions::filter_unwanted_users has incomplete parameters list
(#1113) Phpdocs for function trainingsessions::back_office_get_ticket has incomplete parameters list
(#1134) Phpdocs for function trainingsessions::back_office_access has incomplete parameters list
(#1177) Phpdocs for function trainingsessions::count_sessions_in_course has incomplete parameters list
(#1213) Phpdocs for function trainingsessions::process_user_file has incomplete parameters list
(#1301) Phpdocs for function trainingsessions::process_group_file has incomplete parameters list
(#1386) Phpdocs for function trainingsessions::compute_groups has incomplete parameters list
(#1610) Phpdocs for function trainingsessions::plugin_require has incomplete parameters list
(#1639) Phpdocs for function trainingsessions::plugin_include has incomplete parameters list
(#1946) Phpdocs for function trainingsessions::process_bounds has incomplete parameters list
(#2060) Phpdocs for function trainingsessions::calculate_course_structure has incomplete parameters list
(#17) File-level phpdocs block does not have @copyright tag
(#23) Not recommended phpdocs tag @version used
(#1117) Not recommended phpdocs tag @global used
(#1117) Not recommended phpdocs tag @global used
report/trainingsessions/renderer.php
(#27) Class report_trainingsessions_renderer is not documented
(#85) Function report_trainingsessions_renderer::xls_userexport_button is not documented
(#29) There is no description in phpdocs for function tabs
(#112) There is no description in phpdocs for function single_button
(#31) Phpdocs for function report_trainingsessions_renderer::tabs has incomplete parameters list
(#114) Phpdocs for function report_trainingsessions_renderer::single_button has incomplete parameters list
(#17) File-level phpdocs block does not have @copyright tag
(#21) Not recommended phpdocs tag @version used
report/trainingsessions/renderers/csvrenderers.php
(#21) Category report is not valid
(#29) Class CsvRenderer is not documented
(#33) Function CsvRenderer::__construct is not documented
(#37) Function CsvRenderer::print_periodinfo is not documented
(#45) Function CsvRenderer::print_userinfo is not documented
(#69) Function CsvRenderer::print_header is not documented
(#85) Function CsvRenderer::print_course_structure is not documented
(#237) Function CsvRenderer::print_session_header is not documented
(#31) Variable CsvRenderer::$rt is not documented
(#149) Phpdocs for function CsvRenderer::print_global_raw has incomplete parameters list
(#199) Phpdocs for function CsvRenderer::print_row has incomplete parameters list
(#251) Phpdocs for function CsvRenderer::print_usersessions has incomplete parameters list
report/trainingsessions/renderers/htmlrenderers.php
(#19) Category report is not valid
(#33) Class HtmlRenderer is not documented
(#37) Function HtmlRenderer::__construct is not documented
(#723) Function HtmlRenderer::print_total_site_html is not documented
(#749) Function HtmlRenderer::print_pager is not documented
(#781) Function HtmlRenderer::print_progressionbar is not documented
(#35) Variable HtmlRenderer::$rt is not documented
(#17) No one-line description found in phpdocs for file
(#44) Phpdocs for function HtmlRenderer::print_allcourses_html has incomplete parameters list
(#138) Phpdocs for function HtmlRenderer::print_html has incomplete parameters list
(#341) Phpdocs for function HtmlRenderer::print_header_html has incomplete parameters list
(#489) Phpdocs for function HtmlRenderer::add_time_totalizers has incomplete parameters list
(#521) Phpdocs for function HtmlRenderer::add_times has incomplete parameters list
(#17) File-level phpdocs block does not have @copyright tag
report/trainingsessions/renderers/xlsrenderers.php
(#37) Package is not specified for class XlsRenderer. It is also not specified in file-level phpdocs
(#262) Category report is not valid
(#37) Class XlsRenderer is not documented
(#41) Function XlsRenderer::__construct is not documented
(#45) Function XlsRenderer::build_xls_format is not documented
(#476) Function XlsRenderer::count_header_rows is not documented
(#39) Variable XlsRenderer::$rt is not documented
(#166) Phpdocs for function XlsRenderer::init_worksheet has incomplete parameters list
(#257) Phpdocs for function XlsRenderer::print_header_xls has incomplete parameters list
(#534) Phpdocs for function XlsRenderer::print_xls has incomplete parameters list
(#663) Phpdocs for function XlsRenderer::print_usersessions has incomplete parameters list
(#678) Phpdocs for function XlsRenderer::print_sessions_xls has incomplete parameters list
(#785) Phpdocs for function XlsRenderer::print_allcourses_xls has incomplete parameters list
(#965) Phpdocs for function XlsRenderer::print_sumline_xls has incomplete parameters list
(#17) File-level phpdocs block does not have @copyright tag
(#17) File-level phpdocs block does not have @license tag
(#264) Not recommended phpdocs tag @version used
report/trainingsessions/selector_form.php
(#21) Category report is not valid
(#31) Class SelectorForm is not documented
(#36) Function SelectorForm::__construct is not documented
(#42) Function SelectorForm::definition is not documented
(#33) Variable SelectorForm::$courseid is not documented
(#34) Variable SelectorForm::$mode is not documented
(#17) File-level phpdocs block does not have @copyright tag
(#22) Not recommended phpdocs tag @version used
report/trainingsessions/settings.php
(#20) Package report is not valid
report/trainingsessions/task_form.php
(#19) Category report is not valid
(#28) Class Task_Form is not documented
(#30) Function Task_Form::definition is not documented
(#140) Function Task_Form::validation is not documented
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
report/trainingsessions/tasks/groupcsvreportonerow_batch_task.php
(#25) Category report is not valid
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
report/trainingsessions/tasks/groupcsvreportsummary_batch_task.php
(#25) Category report is not valid
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
report/trainingsessions/tasks/groupcsvreportworkingdays_batch_task.php
(#25) Category report is not valid
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
report/trainingsessions/tasks/groupxlsreportperuser_batch_task.php
(#25) Category report is not valid
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
report/trainingsessions/tasks/groupxlsreportsummary_batch_task.php
(#25) Category report is not valid
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
report/trainingsessions/tasks/groupxlsreportworkingdays_batch_task.php
(#25) Category report is not valid
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
report/trainingsessions/tasks/usercsvreportperuser_batch_task.php
(#25) Category report is not valid
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
report/trainingsessions/tasks/usercsvreportsessions_batch_task.php
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
(#17) File-level phpdocs block does not have @license tag
report/trainingsessions/tasks/userxlsreportallcourses_batch_task.php
(#25) Category report is not valid
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
report/trainingsessions/tasks/userxlsreportperuser_batch_task.php
(#25) Category report is not valid
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
report/trainingsessions/tasks/userxlsreportsessions_batch_task.php
(#25) Category report is not valid
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
report/trainingsessions/userreport.php
(#21) Category report is not valid
(#17) File-level phpdocs block does not have @copyright tag
report/trainingsessions/version.php
(#21) Category report is not valid
report/trainingsessions/xlib.php
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag

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 "eslint:amd" failed. Use --force to continue.

shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 20 warnings)

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

report/trainingsessions/templates/allcourses.mustache
(#1) Example context missing (@template section not found.)
report/trainingsessions/templates/coursereportbuttons.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 6: The “center” element is obsolete. Use CSS instead. (ttons --><center><div )
report/trainingsessions/templates/coursesummary.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 12: The “width” attribute on the “table” element is obsolete. Use CSS instead. (iv><br/><table class="coursesummary" width="100%"> <)
(#1) HTML Validation error, line 23: The “center” element is obsolete. Use CSS instead. (e><br/><center> )
report/trainingsessions/templates/pro_purchase_options.mustache
(#1) Example context missing (@template section not found.)
report/trainingsessions/templates/progressionbar.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 4: CSS: “width”: Parse Error. (onbar --><div class="report-trainingsessions-progress-outer" style="width: ;display: inline-block;margin: 10px 0"> <)
(#1) HTML Validation error, line 5: CSS: “width”: Parse Error. (x 0"> <div class="report-trainingsessions-progress-inner " style="width:%; background-image: url();" >&nbsp;)
report/trainingsessions/templates/sessionlist.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 14: End tag for “body” seen, but there were unclosed elements. (list --></body></html)
(#1) HTML Validation error, line 6: Unclosed element “div”. (nlist --><div id="trainingsessions-session-list">)
report/trainingsessions/templates/structure.mustache
(#1) Example context missing (@template section not found.)
report/trainingsessions/templates/userheader.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 6: The “center” element is obsolete. Use CSS instead. (eader --><center><div )
(#1) HTML Validation info, line 9: Empty heading. (ox"> <h1> </h1>)
(#1) HTML Validation error, line 11: The “width” attribute on the “table” element is obsolete. Use CSS instead. (/h1> <table width="100%" id="trainingsession-userinfo">)
(#1) HTML Validation error, line 38: End tag for “body” seen, but there were unclosed elements. (eader --></body></html)
(#1) HTML Validation error, line 6: Unclosed element “center”. (eader --><center><div )

Gherkin .feature problems

(0 errors, 0 warnings)

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