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

(97 errors, 35 warnings)

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

mod/vitero/adminlogin.php
(#23) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#25) "require_once" must be immediately followed by an open parenthesis
(#26) "require_once" must be immediately followed by an open parenthesis
(#27) "require_once" must be immediately followed by an open parenthesis
(#28) "require_once" must be immediately followed by an open parenthesis
mod/vitero/backup/moodle2/backup_vitero_activity_task.class.php
(#26) "require_once" must be immediately followed by an open parenthesis
(#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
(#57) Inline comments must end in full-stops, exclamation marks, or question marks
(#58) Expected 1 space before "="; 0 found
(#58) Expected 1 space after "="; 0 found
(#59) Expected 1 space before "="; 0 found
(#61) Inline comments must end in full-stops, exclamation marks, or question marks
(#62) Expected 1 space before "="; 0 found
(#62) Expected 1 space after "="; 0 found
(#63) Expected 1 space before "="; 0 found
mod/vitero/backup/moodle2/backup_vitero_stepslib.php
(#34) Inline comments must end in full-stops, exclamation marks, or question marks
(#39) Inline comments must end in full-stops, exclamation marks, or question marks
(#42) 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
mod/vitero/backup/moodle2/restore_vitero_activity_task.class.php
(#26) "require_once" must be immediately followed by an open parenthesis
(#26) Inline comments must end in full-stops, exclamation marks, or question marks
mod/vitero/backup/moodle2/restore_vitero_stepslib.php
(#32) Expected MOODLE_INTERNAL check or config.php inclusion
(#39) Inline comments must end in full-stops, exclamation marks, or question marks
mod/vitero/classes/local/user_updated.php
(#59) "require_once" must be immediately followed by an open parenthesis
mod/vitero/conntest.php
(#23) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#25) "require_once" must be immediately followed by an open parenthesis
(#26) "require_once" must be immediately followed by an open parenthesis
(#27) "require_once" must be immediately followed by an open parenthesis
mod/vitero/db/install.php
(#31) Expected MOODLE_INTERNAL check or config.php inclusion
mod/vitero/db/log.php
(#34) Expected 1 space before "=>"; 0 found
(#34) Expected 1 space after "=>"; 0 found
(#34) Expected 1 space before "=>"; 0 found
(#34) Expected 1 space after "=>"; 0 found
(#34) Expected 1 space before "=>"; 0 found
(#34) Expected 1 space after "=>"; 0 found
(#34) Expected 1 space before "=>"; 0 found
(#34) Expected 1 space after "=>"; 0 found
(#35) Expected 1 space before "=>"; 0 found
(#35) Expected 1 space after "=>"; 0 found
(#35) Expected 1 space before "=>"; 0 found
(#35) Expected 1 space after "=>"; 0 found
(#35) Expected 1 space before "=>"; 0 found
(#35) Expected 1 space after "=>"; 0 found
(#35) Expected 1 space before "=>"; 0 found
(#35) Expected 1 space after "=>"; 0 found
(#36) Expected 1 space before "=>"; 0 found
(#36) Expected 1 space after "=>"; 0 found
(#36) Expected 1 space before "=>"; 0 found
(#36) Expected 1 space after "=>"; 0 found
(#36) Expected 1 space before "=>"; 0 found
(#36) Expected 1 space after "=>"; 0 found
(#36) Expected 1 space before "=>"; 0 found
(#36) Expected 1 space after "=>"; 0 found
(#37) Expected 1 space before "=>"; 0 found
(#37) Expected 1 space after "=>"; 0 found
(#37) Expected 1 space before "=>"; 0 found
(#37) Expected 1 space after "=>"; 0 found
(#37) Expected 1 space before "=>"; 0 found
(#37) Expected 1 space after "=>"; 0 found
(#37) Expected 1 space before "=>"; 0 found
(#37) Expected 1 space after "=>"; 0 found
mod/vitero/db/uninstall.php
(#28) Expected MOODLE_INTERNAL check or config.php inclusion
mod/vitero/db/upgrade.php
(#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
(#50) Inline comments must end in full-stops, exclamation marks, or question marks
(#98) Whitespace found at end of line
mod/vitero/index.php
(#28) Inline comments must end in full-stops, exclamation marks, or question marks
(#28) 3 slashes comments are not allowed; use "// Comment." instead
(#30) "require_once" must be immediately followed by an open parenthesis
(#31) "require_once" must be immediately followed by an open parenthesis
(#35) Inline comments must start with a capital letter, digit or 3-dots sequence
(#35) Inline comments must end in full-stops, exclamation marks, or question marks
mod/vitero/lib.php
(#32) "require_once" must be immediately followed by an open parenthesis
(#36) Inline doc block comments are not allowed; use "// Comment." instead
(#37) "require_once" must be immediately followed by an open parenthesis
(#38) Inline doc block comments are not allowed; use "// Comment." instead
(#39) "require_once" must be immediately followed by an open parenthesis
(#70) Closing brace must be on a line by itself
(#71) Closing brace must be on a line by itself
(#72) Closing brace must be on a line by itself
(#73) Closing brace must be on a line by itself
(#110) Empty CATCH statement detected
(#120) Inline comments must end in full-stops, exclamation marks, or question marks
(#170) Expected 1 space after "=>"; newline found
(#217) Inline comments must end in full-stops, exclamation marks, or question marks
(#281) Inline comments must end in full-stops, exclamation marks, or question marks
(#281) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#349) 80 slashes comments are not allowed; use "// Comment." instead
(#351) Inline comments must end in full-stops, exclamation marks, or question marks
(#351) 80 slashes comments are not allowed; use "// Comment." instead
(#402) "require_once" must be immediately followed by an open parenthesis
(#404) Inline doc block comments are not allowed; use "// Comment." instead
(#405) Inline comments must start with a capital letter, digit or 3-dots sequence
(#405) Inline comments must end in full-stops, exclamation marks, or question marks
(#410) 80 slashes comments are not allowed; use "// Comment." instead
(#412) Inline comments must end in full-stops, exclamation marks, or question marks
(#412) 80 slashes comments are not allowed; use "// Comment." instead
(#444) 80 slashes comments are not allowed; use "// Comment." instead
(#446) Inline comments must end in full-stops, exclamation marks, or question marks
(#446) 80 slashes comments are not allowed; use "// Comment." instead
mod/vitero/locallib.php
(#191) Variable "known_errors" must not contain underscores.
(#193) Variable "known_errors" must not contain underscores.
(#213) Expected "if (...) {\n"; found "if(...) {\n"
mod/vitero/mod_form.php
(#31) "require_once" must be immediately followed by an open parenthesis
(#46) Inline comments must start with a capital letter, digit or 3-dots sequence
(#46) No space found before comment text; expected "// -------------------------------------------------------------------------------" but found "//-------------------------------------------------------------------------------"
(#64) Inline comments must start with a capital letter, digit or 3-dots sequence
(#64) No space found before comment text; expected "// -------------------------------------------------------------------------------" but found "//-------------------------------------------------------------------------------"
(#91) Inline comments must start with a capital letter, digit or 3-dots sequence
(#91) No space found before comment text; expected "// -------------------------------------------------------------------------------" but found "//-------------------------------------------------------------------------------"
(#94) Inline comments must start with a capital letter, digit or 3-dots sequence
(#94) No space found before comment text; expected "// -------------------------------------------------------------------------------" but found "//-------------------------------------------------------------------------------"
(#99) Variable "default_values" must not contain underscores.
(#104) Variable "default_values" must not contain underscores.
(#106) Variable "default_values" must not contain underscores.
(#106) Variable "default_values" must not contain underscores.
(#117) Variable "default_values" must not contain underscores.
(#117) Variable "default_values" must not contain underscores.
(#117) Variable "default_values" must not contain underscores.
(#118) Variable "default_values" must not contain underscores.
(#118) Variable "default_values" must not contain underscores.
(#124) Variable "default_values" must not contain underscores.
(#126) Variable "default_values" must not contain underscores.
(#135) Variable "default_values" must not contain underscores.
mod/vitero/settings.php
(#45) Line exceeds 132 characters; contains 135 characters
mod/vitero/version.php
(#34) Inline comments must end in full-stops, exclamation marks, or question marks
mod/vitero/view.php
(#28) Inline comments must start with a capital letter, digit or 3-dots sequence
(#28) Inline comments must end in full-stops, exclamation marks, or question marks
(#28) 3 slashes comments are not allowed; use "// Comment." instead
(#30) "require_once" must be immediately followed by an open parenthesis
(#31) "require_once" must be immediately followed by an open parenthesis

Javascript coding style problems

(0 errors, 0 warnings)

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


CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(89 errors, 2 warnings)

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

mod/vitero/adminlogin.php
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
mod/vitero/backup/moodle2/backup_vitero_activity_task.class.php
(#17) No one-line description found in phpdocs for file
(#28) No one-line description found in phpdocs for class backup_vitero_activity_task
(#48) Phpdocs for function backup_vitero_activity_task::encode_content_links has incomplete parameters list
(#28) Class backup_vitero_activity_task does not have @copyright tag
(#28) Class backup_vitero_activity_task does not have @license tag
(#18) Package mod is not valid
mod/vitero/backup/moodle2/backup_vitero_stepslib.php
(#33) Function backup_vitero_activity_structure_step::define_structure is not documented
(#28) Class backup_vitero_activity_structure_step does not have @copyright tag
(#28) Class backup_vitero_activity_structure_step does not have @license tag
(#20) Package mod is not valid
mod/vitero/backup/moodle2/restore_vitero_activity_task.class.php
(#17) No one-line description found in phpdocs for file
(#28) No one-line description found in phpdocs for class restore_vitero_activity_task
(#28) Class restore_vitero_activity_task does not have @copyright tag
(#28) Class restore_vitero_activity_task does not have @license tag
(#18) Package moodlecore is not valid
mod/vitero/backup/moodle2/restore_vitero_stepslib.php
(#34) Function restore_vitero_activity_structure_step::define_structure is not documented
(#46) Function restore_vitero_activity_structure_step::process_vitero is not documented
(#60) Function restore_vitero_activity_structure_step::after_execute is not documented
(#17) No one-line description found in phpdocs for file
(#28) Class restore_vitero_activity_structure_step does not have @copyright tag
(#28) Class restore_vitero_activity_structure_step does not have @license tag
(#18) Package moodlecore is not valid
mod/vitero/classes/event/course_module_viewed.php
(#50) Function course_module_viewed::get_objectid_mapping is not documented
mod/vitero/classes/local/singlesoapclient.php
(#35) Class singlesoapclient is not documented
(#45) Function singlesoapclient::getclient is not documented
(#64) Function singlesoapclient::refreshclient is not documented
mod/vitero/classes/local/soapclient.php
(#43) Class soapclient is not documented
(#69) Function soapclient::__construct is not documented
(#85) Function soapclient::wssecurity_header is not documented
(#121) Function soapclient::call is not documented
(#158) Function soapclient::get_soapfault is not documented
(#37) Package mod is not valid
mod/vitero/classes/local/user_deleted.php
(#33) Class user_deleted is not documented
(#35) Function user_deleted::observe_user_deleted is not documented
mod/vitero/classes/local/user_updated.php
(#33) Class user_updated is not documented
(#35) Function user_updated::observe_user_updated is not documented
mod/vitero/conntest.php
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
mod/vitero/db/install.php
(#17) No one-line description found in phpdocs for file
mod/vitero/db/uninstall.php
(#17) No one-line description found in phpdocs for file
mod/vitero/index.php
(#28) Found comment starting with three or more slashes
mod/vitero/lib.php
(#349) Found comment starting with three or more slashes
(#351) Found comment starting with three or more slashes
(#410) Found comment starting with three or more slashes
(#412) Found comment starting with three or more slashes
(#444) Found comment starting with three or more slashes
(#446) Found comment starting with three or more slashes
(#85) Phpdocs for function vitero_add_instance has incomplete parameters list
(#146) Phpdocs for function vitero_update_instance has incomplete parameters list
(#242) Phpdocs for function vitero_user_outline has incomplete parameters list
(#273) Phpdocs for function vitero_print_recent_activity has incomplete parameters list
(#304) Phpdocs for function vitero_print_recent_mod_activity has incomplete parameters list
(#361) Phpdocs for function vitero_scale_used has incomplete parameters list
(#373) Phpdocs for function vitero_scale_used_anywhere has incomplete parameters list
(#453) Phpdocs for function vitero_extend_navigation has incomplete parameters list
(#342) Not recommended phpdocs tag @example used
(#404) Not recommended phpdocs tag @example used
(#305) Invalid inline phpdocs tag @see found
mod/vitero/locallib.php
(#37) Function vitero_get_moodle_timezone is not documented
(#147) Function vitero_get_baseurl is not documented
(#170) Function vitero_time_unix_to_vitero is not documented
(#180) Function vitero_time_vitero_to_unix is not documented
(#189) Function vitero_errorstring is not documented
(#207) Function vitero_get_my_sessioncode is not documented
(#254) Function vitero_create_user is not documented
(#332) Function vitero_upload_avatar is not documented
(#381) Function vitero_get_all_users is not documented
(#417) Function vitero_get_remuserid_by_email is not documented
(#484) Function vitero_get_userid_by_username is not documented
(#504) Function vitero_add_user_to_team is not documented
(#531) Function vitero_assign_team_role is not documented
(#556) Function vitero_get_available_roomsizes is not documented
(#595) Function vitero_create_meeting_sessioncode is not documented
(#626) Function vitero_create_vms_sessioncode is not documented
(#655) Function vitero_create_team is not documented
(#689) Function vitero_update_team is not documented
(#716) Function vitero_delete_team is not documented
(#740) Function vitero_create_meeting is not documented
(#784) Function vitero_update_meeting is not documented
(#816) Function vitero_delete_meeting is not documented
(#839) Function vitero_connection_test is not documented
(#869) Function vitero_get_admin_loginurl is not documented
(#297) Phpdocs for function vitero_update_remote_details has incomplete parameters list
(#432) Phpdocs for function vitero_get_remuserid_by_id has incomplete parameters list
mod/vitero/mod_form.php
(#99) Function mod_vitero_mod_form::set_data is not documented
(#138) Function mod_vitero_mod_form::validation is not documented
(#33) Class mod_vitero_mod_form does not have @copyright tag
(#33) Class mod_vitero_mod_form does not have @license tag
mod/vitero/view.php
(#28) Found comment starting with three or more slashes

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]

.eslintignore
Uncommitted change detected.
.stylelintignore
Uncommitted change detected.

shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 0 warnings)

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