Prechecker results: error


PHP lint problems

(0 errors, 0 warnings)

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


PHP coding style problems

(100 errors, 32 warnings)

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

mod/aspirelist/adminlib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#49) Line indented incorrectly; expected at least 12 spaces, found 11
(#86) Line indented incorrectly; expected at least 12 spaces, found 11
(#118) Line indented incorrectly; expected at least 12 spaces, found 11
(#150) Line indented incorrectly; expected at least 12 spaces, found 11
(#182) Line indented incorrectly; expected at least 12 spaces, found 11
mod/aspirelist/backup/moodle2/backup_aspirelist_activity_task.class.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#58) Commas (,) must be followed by white space.
(#60) Inline comments must end in full-stops, exclamation marks, or question marks
(#61) Expected 1 space before "="; 0 found
(#61) Expected 1 space after "="; 0 found
(#62) Expected 1 space before "="; 0 found
(#64) Inline comments must end in full-stops, exclamation marks, or question marks
(#65) Expected 1 space before "="; 0 found
(#65) Expected 1 space after "="; 0 found
(#66) Expected 1 space before "="; 0 found
mod/aspirelist/backup/moodle2/backup_aspirelist_stepslib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#35) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Inline comments must end in full-stops, exclamation marks, or question marks
(#43) Inline comments must end in full-stops, exclamation marks, or question marks
(#45) Inline comments must end in full-stops, exclamation marks, or question marks
(#49) Inline comments must end in full-stops, exclamation marks, or question marks
(#49) This comment is 50% valid code; is this commented out code?
(#51) Inline comments must end in full-stops, exclamation marks, or question marks
(#54) Inline comments must end in full-stops, exclamation marks, or question marks
mod/aspirelist/backup/moodle2/restore_aspirelist_activity_task.class.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#26) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Inline comments must end in full-stops, exclamation marks, or question marks
(#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
mod/aspirelist/backup/moodle2/restore_aspirelist_stepslib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#31) Expected MOODLE_INTERNAL check or config.php inclusion
(#38) Inline comments must end in full-stops, exclamation marks, or question marks
(#50) Inline comments must start with a capital letter, digit or 3-dots sequence
(#50) 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
(#57) Inline comments must end in full-stops, exclamation marks, or question marks
mod/aspirelist/classes/event/course_module_instance_list_viewed.php
(#2) The opening <?php tag must be followed by exactly one newline.
mod/aspirelist/classes/event/course_module_viewed.php
(#2) The opening <?php tag must be followed by exactly one newline.
mod/aspirelist/db/caches.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
mod/aspirelist/db/install.php
(#2) The opening <?php tag must be followed by exactly one newline.
mod/aspirelist/db/log.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#30) Expected 1 space before "=>"; 0 found
(#30) Expected 1 space after "=>"; 0 found
(#30) Expected 1 space before "=>"; 0 found
(#30) Expected 1 space after "=>"; 0 found
(#30) Expected 1 space before "=>"; 0 found
(#30) Expected 1 space after "=>"; 0 found
(#30) Expected 1 space before "=>"; 0 found
(#30) Expected 1 space after "=>"; 0 found
(#31) Expected 1 space before "=>"; 0 found
(#31) Expected 1 space after "=>"; 0 found
(#31) Expected 1 space before "=>"; 0 found
(#31) Expected 1 space after "=>"; 0 found
(#31) Expected 1 space before "=>"; 0 found
(#31) Expected 1 space after "=>"; 0 found
(#31) Expected 1 space before "=>"; 0 found
(#31) Expected 1 space after "=>"; 0 found
(#32) Expected 1 space before "=>"; 0 found
(#32) Expected 1 space after "=>"; 0 found
(#32) Expected 1 space before "=>"; 0 found
(#32) Expected 1 space after "=>"; 0 found
(#32) Expected 1 space before "=>"; 0 found
(#32) Expected 1 space after "=>"; 0 found
(#32) Expected 1 space before "=>"; 0 found
(#32) Expected 1 space after "=>"; 0 found
(#33) Expected 1 space before "=>"; 0 found
(#33) Expected 1 space after "=>"; 0 found
(#33) Expected 1 space before "=>"; 0 found
(#33) Expected 1 space after "=>"; 0 found
(#33) Expected 1 space before "=>"; 0 found
(#33) Expected 1 space after "=>"; 0 found
(#33) Expected 1 space before "=>"; 0 found
(#33) Expected 1 space after "=>"; 0 found
mod/aspirelist/db/upgrade.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#52) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#56) Functions must not contain multiple empty lines in a row; found 2 empty lines
mod/aspirelist/index.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#30) Expected 1 space before "=>"; 0 found
(#30) Expected 1 space after "=>"; 0 found
mod/aspirelist/lang/en/aspirelist.php
(#2) The opening <?php tag must be followed by exactly one newline.
mod/aspirelist/lib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#40) Closing brace must be on a line by itself
(#41) Closing brace must be on a line by itself
(#42) Closing brace must be on a line by itself
(#43) Closing brace must be on a line by itself
(#44) Closing brace must be on a line by itself
(#45) Closing brace must be on a line by itself
(#46) Closing brace must be on a line by itself
(#47) Closing brace must be on a line by itself
(#48) Closing brace must be on a line by itself
(#49) Closing brace must be on a line by itself
(#51) Closing brace must be on a line by itself
(#104) Expected 1 space before "=>"; 0 found
(#104) Expected 1 space after "=>"; 0 found
(#138) Expected 1 space before "=>"; 0 found
(#138) Expected 1 space after "=>"; 0 found
(#144) Expected 1 space before "=>"; 0 found
(#144) Expected 1 space after "=>"; 0 found
(#156) Variable "module_pagetype" must not contain underscores.
(#156) Expected 1 space before "=>"; 0 found
(#156) Expected 1 space after "=>"; 0 found
(#157) Variable "module_pagetype" must not contain underscores.
mod/aspirelist/locallib.php
(#2) The opening <?php tag must be followed by exactly one newline.
mod/aspirelist/mod_form.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#61) Expected 1 space before "=>"; 0 found
(#61) Expected 1 space after "=>"; 0 found
(#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
(#67) No space found before comment text; expected "// -------------------------------------------------------" but found "//-------------------------------------------------------"
(#70) Expected 1 space before "=>"; 0 found
(#70) Expected 1 space after "=>"; 0 found
(#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
(#81) No space found before comment text; expected "// -------------------------------------------------------" but found "//-------------------------------------------------------"
(#95) Inline comments must start with a capital letter, digit or 3-dots sequence
(#95) Inline comments must end in full-stops, exclamation marks, or question marks
(#95) No space found before comment text; expected "// -------------------------------------------------------" but found "//-------------------------------------------------------"
(#105) Inline comments must start with a capital letter, digit or 3-dots sequence
(#105) Inline comments must end in full-stops, exclamation marks, or question marks
(#105) No space found before comment text; expected "// -------------------------------------------------------" but found "//-------------------------------------------------------"
(#108) Inline comments must start with a capital letter, digit or 3-dots sequence
(#108) Inline comments must end in full-stops, exclamation marks, or question marks
(#108) No space found before comment text; expected "// -------------------------------------------------------" but found "//-------------------------------------------------------"
mod/aspirelist/renderer.php
(#2) The opening <?php tag must be followed by exactly one newline.
mod/aspirelist/settings.php
(#2) The opening <?php tag must be followed by exactly one newline.
mod/aspirelist/version.php
(#29) Inline comments must end in full-stops, exclamation marks, or question marks
mod/aspirelist/view.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#42) Expected 1 space before "=>"; 0 found
(#42) Expected 1 space after "=>"; 0 found

Javascript coding style problems

(0 errors, 0 warnings)

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


CSS problems

(0 errors, 5 warnings)

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

mod/aspirelist/styles.css
(#44) Use of !important
(#48) Use of !important
(#55) Use of !important
(#57) Use of !important
(#119) Use of !important

PHPDocs style problems

(29 errors, 19 warnings)

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

mod/aspirelist/adminlib.php
(#2) Empty line found after PHP open tag
mod/aspirelist/backup/moodle2/backup_aspirelist_activity_task.class.php
(#2) Empty line found after PHP open tag
(#31) Class backup_aspirelist_activity_task does not have @copyright tag
(#31) Class backup_aspirelist_activity_task does not have @license tag
mod/aspirelist/backup/moodle2/backup_aspirelist_stepslib.php
(#2) Empty line found after PHP open tag
(#33) Function backup_aspirelist_activity_structure_step::define_structure is not documented
(#28) Class backup_aspirelist_activity_structure_step does not have @copyright tag
(#28) Class backup_aspirelist_activity_structure_step does not have @license tag
mod/aspirelist/backup/moodle2/restore_aspirelist_activity_task.class.php
(#2) Empty line found after PHP open tag
(#18) No one-line description found in phpdocs for file
(#28) No one-line description found in phpdocs for class restore_aspirelist_activity_task
(#28) Class restore_aspirelist_activity_task does not have @copyright tag
(#28) Class restore_aspirelist_activity_task does not have @license tag
mod/aspirelist/backup/moodle2/restore_aspirelist_stepslib.php
(#2) Empty line found after PHP open tag
(#33) Function restore_aspirelist_activity_structure_step::define_structure is not documented
(#42) Function restore_aspirelist_activity_structure_step::process_aspirelist is not documented
(#56) Function restore_aspirelist_activity_structure_step::after_execute is not documented
(#18) No one-line description found in phpdocs for file
(#28) Class restore_aspirelist_activity_structure_step does not have @copyright tag
(#28) Class restore_aspirelist_activity_structure_step does not have @license tag
mod/aspirelist/classes/event/course_module_instance_list_viewed.php
(#2) Empty line found after PHP open tag
mod/aspirelist/classes/event/course_module_viewed.php
(#2) Empty line found after PHP open tag
mod/aspirelist/db/caches.php
(#2) Empty line found after PHP open tag
mod/aspirelist/db/install.php
(#2) Empty line found after PHP open tag
(#33) Function xmldb_aspirelist_install is not documented
mod/aspirelist/db/log.php
(#2) Empty line found after PHP open tag
mod/aspirelist/db/upgrade.php
(#2) Empty line found after PHP open tag
(#48) Function xmldb_aspirelist_upgrade is not documented
mod/aspirelist/index.php
(#2) Empty line found after PHP open tag
mod/aspirelist/lang/en/aspirelist.php
(#2) Empty line found after PHP open tag
mod/aspirelist/lib.php
(#2) Empty line found after PHP open tag
(#65) Phpdocs for function aspirelist_reset_userdata has incomplete parameters list
mod/aspirelist/locallib.php
(#2) Empty line found after PHP open tag
mod/aspirelist/mod_form.php
(#2) Empty line found after PHP open tag
(#112) Function mod_aspirelist_mod_form::setup_list_elements is not documented
(#156) Function mod_aspirelist_mod_form::setup_section_elements is not documented
(#193) Function mod_aspirelist_mod_form::setup_item_elements is not documented
(#213) Function mod_aspirelist_mod_form::validation is not documented
mod/aspirelist/renderer.php
(#2) Empty line found after PHP open tag
(#27) Class mod_aspirelist_renderer is not documented
(#84) Class resource_list is not documented
(#72) Function mod_aspirelist_renderer::render_resource_list is not documented
(#89) Function resource_list::__construct is not documented
(#85) Variable resource_list::$context is not documented
(#86) Variable resource_list::$aspirelist is not documented
(#87) Variable resource_list::$cm is not documented
mod/aspirelist/settings.php
(#2) Empty line found after PHP open tag
mod/aspirelist/view.php
(#2) Empty line found after PHP open 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]


Mustache template problems

(0 errors, 0 warnings)

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