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

(113 errors, 103 warnings)

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

mod/vitero/adminlogin.php
(#37) Inline comments must end in full-stops, exclamation marks, or question marks
(#37) No space found before comment text; expected "// Load module:" but found "//Load module:"
(#41) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) No space found before comment text; expected "// Capability check" but found "//Capability check"
(#46) No space found before comment text; expected "// Create user if not exists, assign to team as teamleader" but found "//Create user if not exists, assign to team as teamleader"
(#47) Inline comments must end in full-stops, exclamation marks, or question marks
(#47) No space found before comment text; expected "// And get session code" but found "//And get session code"
mod/vitero/backup/moodle2/backup_vitero_activity_task.class.php
(#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) 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 end in full-stops, exclamation marks, or question marks
(#45) No space found before comment text; expected "// Phase 1: prevent duplicate" but found "//Phase 1: prevent duplicate"
(#47) Inline comments must end in full-stops, exclamation marks, or question marks
(#60) Inline comments must start with a capital letter, digit or 3-dots sequence
(#60) Inline comments must end in full-stops, exclamation marks, or question marks
mod/vitero/backup/moodle2/restore_vitero_stepslib.php
(#31) Expected MOODLE_INTERNAL check or config.php inclusion
(#38) Inline comments must end in full-stops, exclamation marks, or question marks
(#51) Inline comments must start with a capital letter, digit or 3-dots sequence
(#51) Inline comments must end in full-stops, exclamation marks, or question marks
(#53) Inline comments must start with a capital letter, digit or 3-dots sequence
(#53) Inline comments must end in full-stops, exclamation marks, or question marks
(#58) Inline comments must end in full-stops, exclamation marks, or question marks
mod/vitero/classes/soapclient.php
(#31) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
mod/vitero/db/install.php
(#32) Expected MOODLE_INTERNAL check or config.php inclusion
mod/vitero/db/log.php
(#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
(#38) Expected 1 space before "=>"; 0 found
(#38) Expected 1 space after "=>"; 0 found
(#38) Expected 1 space before "=>"; 0 found
(#38) Expected 1 space after "=>"; 0 found
(#38) Expected 1 space before "=>"; 0 found
(#38) Expected 1 space after "=>"; 0 found
(#38) Expected 1 space before "=>"; 0 found
(#38) Expected 1 space after "=>"; 0 found
mod/vitero/db/uninstall.php
(#29) Expected MOODLE_INTERNAL check or config.php inclusion
mod/vitero/db/upgrade.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
(#48) Inline comments must end in full-stops, exclamation marks, or question marks
(#51) Inline comments must end in full-stops, exclamation marks, or question marks
(#56) Inline comments must start with a capital letter, digit or 3-dots sequence
(#56) Inline comments must end in full-stops, exclamation marks, or question marks
mod/vitero/index.php
(#29) Inline comments must end in full-stops, exclamation marks, or question marks
(#29) 3 slashes comments are not allowed; use "// Comment." instead
(#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
mod/vitero/lib.php
(#37) Inline doc block comments are not allowed; use "// Comment." instead
(#39) Inline doc block comments are not allowed; use "// Comment." instead
(#48) Inline comments must start with a capital letter, digit or 3-dots sequence
(#48) No space found before comment text; expected "// define('VITERO_ULTIMATE_ANSWER', 42);" but found "//define('VITERO_ULTIMATE_ANSWER', 42);"
(#49) 80 slashes comments are not allowed; use "// Comment." instead
(#51) Inline comments must end in full-stops, exclamation marks, or question marks
(#51) 80 slashes comments are not allowed; use "// Comment." instead
(#62) Closing brace must be on a line by itself
(#63) Closing brace must be on a line by itself
(#64) Closing brace must be on a line by itself
(#65) Closing brace must be on a line by itself
(#86) Inline comments must end in full-stops, exclamation marks, or question marks
(#86) No space found before comment text; expected "// Append random number to the teamname" but found "//Append random number to the teamname"
(#89) Inline comments must start with a capital letter, digit or 3-dots sequence
(#89) Inline comments must end in full-stops, exclamation marks, or question marks
(#89) No space found before comment text; expected "// create team:" but found "//create team:"
(#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 "// create meeting:" but found "//create meeting:"
(#102) Empty CATCH statement detected
(#112) Inline comments must end in full-stops, exclamation marks, or question marks
(#148) Inline comments must start with a capital letter, digit or 3-dots sequence
(#148) Inline comments must end in full-stops, exclamation marks, or question marks
(#148) No space found before comment text; expected "// get old details:" but found "//get old details:"
(#154) Inline comments must start with a capital letter, digit or 3-dots sequence
(#154) No space found before comment text; expected "// update team name?" but found "//update team name?"
(#161) Inline comments must end in full-stops, exclamation marks, or question marks
(#161) No space found before comment text; expected "// Update calendar:" but found "//Update calendar:"
(#162) Expected 1 space after "=>"; newline found
(#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
(#184) No space found before comment text; expected "// update meeting:" but found "//update meeting:"
(#209) Inline comments must end in full-stops, exclamation marks, or question marks
(#221) Inline comments must start with a capital letter, digit or 3-dots sequence
(#221) Inline comments must end in full-stops, exclamation marks, or question marks
(#221) No space found before comment text; expected "// delete meeting, if no other activity links to this:" but found "//delete meeting, if no other activity links to this:"
(#228) Inline comments must start with a capital letter, digit or 3-dots sequence
(#228) Inline comments must end in full-stops, exclamation marks, or question marks
(#228) No space found before comment text; expected "// delete team:" but found "//delete team:"
(#273) Inline comments must end in full-stops, exclamation marks, or question marks
(#273) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#341) 80 slashes comments are not allowed; use "// Comment." instead
(#343) Inline comments must end in full-stops, exclamation marks, or question marks
(#343) 80 slashes comments are not allowed; use "// Comment." instead
(#397) Inline doc block comments are not allowed; use "// Comment." instead
(#398) Inline comments must start with a capital letter, digit or 3-dots sequence
(#398) Inline comments must end in full-stops, exclamation marks, or question marks
(#403) 80 slashes comments are not allowed; use "// Comment." instead
(#405) Inline comments must end in full-stops, exclamation marks, or question marks
(#405) 80 slashes comments are not allowed; use "// Comment." instead
(#437) 80 slashes comments are not allowed; use "// Comment." instead
(#439) Inline comments must end in full-stops, exclamation marks, or question marks
(#439) 80 slashes comments are not allowed; use "// Comment." instead
mod/vitero/locallib.php
(#187) Variable "known_errors" must not contain underscores.
(#189) Variable "known_errors" must not contain underscores.
(#206) Inline comments must end in full-stops, exclamation marks, or question marks
(#206) No space found before comment text; expected "// Does user exist in Vitero? If not, create:" but found "//Does user exist in Vitero? If not, create:"
(#213) Inline comments must end in full-stops, exclamation marks, or question marks
(#213) No space found before comment text; expected "// Assign to team, just in case" but found "//Assign to team, just in case"
(#218) Inline comments must end in full-stops, exclamation marks, or question marks
(#218) No space found before comment text; expected "// Assign role:" but found "//Assign role:"
(#223) Inline comments must end in full-stops, exclamation marks, or question marks
(#223) No space found before comment text; expected "// Create code:" but found "//Create code:"
(#234) Inline comments must end in full-stops, exclamation marks, or question marks
(#234) No space found before comment text; expected "// Upload avatar:" but found "//Upload avatar:"
(#276) Inline comments must start with a capital letter, digit or 3-dots sequence
(#276) Inline comments must end in full-stops, exclamation marks, or question marks
(#276) No space found before comment text; expected "// upload avatar:" but found "//upload avatar:"
(#343) Inline comments must end in full-stops, exclamation marks, or question marks
(#343) No space found before comment text; expected "// In case only one user exists" but found "//In case only one user exists"
(#624) Inline comments must end in full-stops, exclamation marks, or question marks
(#624) No space found before comment text; expected "// Get time zone" but found "//Get time zone"
(#647) Inline comments must end in full-stops, exclamation marks, or question marks
(#647) No space found before comment text; expected "// Delete team:" but found "//Delete team:"
(#667) Inline comments must end in full-stops, exclamation marks, or question marks
(#667) No space found before comment text; expected "// Get time zone" but found "//Get time zone"
mod/vitero/mod_form.php
(#47) Inline comments must start with a capital letter, digit or 3-dots sequence
(#47) No space found before comment text; expected "// -------------------------------------------------------------------------------" but found "//-------------------------------------------------------------------------------"
(#48) Inline comments must end in full-stops, exclamation marks, or question marks
(#51) Inline comments must end in full-stops, exclamation marks, or question marks
(#62) Inline comments must end in full-stops, exclamation marks, or question marks
(#65) Inline comments must start with a capital letter, digit or 3-dots sequence
(#65) No space found before comment text; expected "// -------------------------------------------------------------------------------" but found "//-------------------------------------------------------------------------------"
(#67) Inline comments must end in full-stops, exclamation marks, or question marks
(#87) Inline comments must end in full-stops, exclamation marks, or question marks
(#87) No space found before comment text; expected "// Direct login" but found "//Direct login"
(#92) Inline comments must start with a capital letter, digit or 3-dots sequence
(#92) No space found before comment text; expected "// -------------------------------------------------------------------------------" but found "//-------------------------------------------------------------------------------"
(#93) Inline comments must end in full-stops, exclamation marks, or question marks
(#95) Inline comments must start with a capital letter, digit or 3-dots sequence
(#95) No space found before comment text; expected "// -------------------------------------------------------------------------------" but found "//-------------------------------------------------------------------------------"
(#96) Inline comments must end in full-stops, exclamation marks, or question marks
(#100) Variable "default_values" must not contain underscores.
(#104) Inline comments must end in full-stops, exclamation marks, or question marks
(#104) No space found before comment text; expected "// Load or freeze room size" but found "//Load or freeze room size"
(#105) Variable "default_values" must not contain underscores.
(#107) Variable "default_values" must not contain underscores.
(#107) Variable "default_values" must not contain underscores.
(#117) Inline comments must end in full-stops, exclamation marks, or question marks
(#117) No space found before comment text; expected "// Freeze entire form if meeting is in the past:" but found "//Freeze entire form if meeting is in the past:"
(#118) Variable "default_values" must not contain underscores.
(#118) Variable "default_values" must not contain underscores.
(#118) Variable "default_values" must not contain underscores.
(#119) Variable "default_values" must not contain underscores.
(#119) Variable "default_values" must not contain underscores.
(#124) Inline comments must end in full-stops, exclamation marks, or question marks
(#124) No space found before comment text; expected "// Give id to administration button (or hide if activity hasn't been created yet)" but found "//Give id to administration button (or hide if activity hasn't been created yet)"
(#125) Variable "default_values" must not contain underscores.
(#127) Variable "default_values" must not contain underscores.
(#136) Variable "default_values" must not contain underscores.
(#142) Inline comments must start with a capital letter, digit or 3-dots sequence
(#142) Inline comments must end in full-stops, exclamation marks, or question marks
(#142) No space found before comment text; expected "// validate times:" but found "//validate times:"
mod/vitero/settings.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) No space found before comment text; expected "// --- general settings -----------------------------------------------------------------------------------" but found "//--- general settings -----------------------------------------------------------------------------------"
(#46) Line exceeds 132 characters; contains 135 characters
(#48) Inline comments must end in full-stops, exclamation marks, or question marks
(#48) No space found before comment text; expected "// Connection test:" but found "//Connection test:"
mod/vitero/version.php
(#35) Inline comments must end in full-stops, exclamation marks, or question marks
mod/vitero/view.php
(#29) Inline comments must start with a capital letter, digit or 3-dots sequence
(#29) Inline comments must end in full-stops, exclamation marks, or question marks
(#29) 3 slashes comments are not allowed; use "// Comment." instead
(#34) 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
(#51) Inline comments must end in full-stops, exclamation marks, or question marks
(#51) 3 slashes comments are not allowed; use "// Comment." instead
(#59) Inline comments must end in full-stops, exclamation marks, or question marks
(#59) No space found before comment text; expected "// Assign role" but found "//Assign role"
(#75) Inline comments must end in full-stops, exclamation marks, or question marks
(#80) Inline comments must end in full-stops, exclamation marks, or question marks
(#84) Inline comments must end in full-stops, exclamation marks, or question marks
(#84) No space found before comment text; expected "// Display times:" but found "//Display times:"
(#97) Inline comments must end in full-stops, exclamation marks, or question marks
(#97) No space found before comment text; expected "// Get session code:" but found "//Get session code:"
(#108) Inline comments must end in full-stops, exclamation marks, or question marks

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, 0 warnings)

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


PHPDocs style problems

(110 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
(#18) Package mod is not valid
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
(#33) Function restore_vitero_activity_structure_step::define_structure is not documented
(#42) Function restore_vitero_activity_structure_step::process_vitero is not documented
(#57) 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/singlesoapclient.php
(#29) Class mod_vitero_singlesoapclient is not documented
(#35) Function mod_vitero_singlesoapclient::getclient is not documented
(#53) Function mod_vitero_singlesoapclient::refreshclient is not documented
(#30) Variable mod_vitero_singlesoapclient::$client is not documented
(#17) No one-line description found in phpdocs for file
(#29) Package is not specified for class mod_vitero_singlesoapclient. It is also not specified in file-level phpdocs
mod/vitero/classes/soapclient.php
(#35) Class mod_vitero_soapclient is not documented
(#50) Function mod_vitero_soapclient::__construct is not documented
(#64) Function mod_vitero_soapclient::wssecurity_header is not documented
(#99) Function mod_vitero_soapclient::call is not documented
(#122) Function mod_vitero_soapclient::getlasterrorcode is not documented
(#133) Function mod_vitero_soapclient::get_soapfault is not documented
(#37) Variable mod_vitero_soapclient::$client is not documented
(#38) Variable mod_vitero_soapclient::$username is not documented
(#39) Variable mod_vitero_soapclient::$password is not documented
(#40) Variable mod_vitero_soapclient::$baseurl is not documented
(#41) Variable mod_vitero_soapclient::$debug is not documented
(#42) Variable mod_vitero_soapclient::$lastfault is not documented
(#26) Package mod is not valid
mod/vitero/conntest.php
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
(#18) Package mod is not valid
mod/vitero/db/access.php
(#42) Package mod is not valid
mod/vitero/db/install.php
(#17) No one-line description found in phpdocs for file
(#21) Package mod is not valid
mod/vitero/db/log.php
(#24) Package mod is not valid
mod/vitero/db/uninstall.php
(#17) No one-line description found in phpdocs for file
(#20) Package mod is not valid
mod/vitero/db/upgrade.php
(#27) Package mod is not valid
mod/vitero/index.php
(#29) Found comment starting with three or more slashes
(#23) Package mod is not valid
mod/vitero/lang/en/vitero.php
(#24) Package mod is not valid
mod/vitero/lib.php
(#49) Found comment starting with three or more slashes
(#51) Found comment starting with three or more slashes
(#341) Found comment starting with three or more slashes
(#343) Found comment starting with three or more slashes
(#403) Found comment starting with three or more slashes
(#405) Found comment starting with three or more slashes
(#437) Found comment starting with three or more slashes
(#439) Found comment starting with three or more slashes
(#77) Phpdocs for function vitero_add_instance has incomplete parameters list
(#138) Phpdocs for function vitero_update_instance has incomplete parameters list
(#234) Phpdocs for function vitero_user_outline has incomplete parameters list
(#265) Phpdocs for function vitero_print_recent_activity has incomplete parameters list
(#296) Phpdocs for function vitero_print_recent_mod_activity has incomplete parameters list
(#353) Phpdocs for function vitero_scale_used has incomplete parameters list
(#365) Phpdocs for function vitero_scale_used_anywhere has incomplete parameters list
(#446) Phpdocs for function vitero_extend_navigation has incomplete parameters list
(#334) Not recommended phpdocs tag @example used
(#397) Not recommended phpdocs tag @example used
(#297) Invalid inline phpdocs tag @see found
(#26) Package mod is not valid
mod/vitero/locallib.php
(#34) Function vitero_get_moodle_timezone is not documented
(#143) Function vitero_get_baseurl is not documented
(#166) Function vitero_time_unix_to_vitero is not documented
(#176) Function vitero_time_vitero_to_unix is not documented
(#185) Function vitero_errorstring is not documented
(#202) Function vitero_get_my_sessioncode is not documented
(#244) Function vitero_create_user is not documented
(#286) Function vitero_upload_avatar is not documented
(#321) Function vitero_get_all_users is not documented
(#356) Function vitero_get_userid_by_email is not documented
(#374) Function vitero_get_userid_by_username is not documented
(#393) Function vitero_add_user_to_team is not documented
(#419) Function vitero_assign_team_role is not documented
(#443) Function vitero_get_available_roomsizes is not documented
(#481) Function vitero_create_meeting_sessioncode is not documented
(#511) Function vitero_create_vms_sessioncode is not documented
(#539) Function vitero_create_team is not documented
(#572) Function vitero_update_team is not documented
(#598) Function vitero_delete_team is not documented
(#621) Function vitero_create_meeting is not documented
(#664) Function vitero_update_meeting is not documented
(#695) Function vitero_delete_meeting is not documented
(#717) Function vitero_connection_test is not documented
(#745) Function vitero_get_admin_loginurl is not documented
(#23) Package mod is not valid
mod/vitero/mod_form.php
(#100) Function mod_vitero_mod_form::set_data is not documented
(#139) Function mod_vitero_mod_form::validation is not documented
(#34) Class mod_vitero_mod_form does not have @copyright tag
(#34) Class mod_vitero_mod_form does not have @license tag
(#23) Package mod is not valid
mod/vitero/settings.php
(#20) Package mod is not valid
mod/vitero/version.php
(#24) Package mod is not valid
mod/vitero/view.php
(#29) Found comment starting with three or more slashes
(#51) Found comment starting with three or more slashes
(#23) Package mod is not valid

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]