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

(8 errors, 3 warnings)

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

mod/etherpadlite/index.php
(#84) Logical operator "or" is prohibited; use "||" instead
mod/etherpadlite/lib.php
(#41) Expected 2 space(s) before asterisk; 1 found
(#42) Expected 2 space(s) before asterisk; 1 found
(#43) Expected 2 space(s) before asterisk; 1 found
(#44) Expected 2 space(s) before asterisk; 1 found
(#45) Expected 2 space(s) before asterisk; 1 found
(#46) Expected 2 space(s) before asterisk; 1 found
(#47) Expected 2 space(s) before asterisk; 1 found
(#48) Expected 2 space(s) before asterisk; 1 found
(#452) Inline comments must start with a capital letter, digit or 3-dots sequence
(#452) This comment is 60% valid code; is this commented out code?

Javascript coding style problems

(3 errors, 2 warnings)

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

mod/etherpadlite/amd/src/modal_iframe.js
(#17) @package should be empty. (jsdoc/empty-tags)
(#27) Unexpected space before function parentheses. (space-before-function-paren)
(#27) 'event' is defined but never used. (no-unused-vars)
(#32) Unexpected space before function parentheses. (space-before-function-paren)
(#32) 'event' is defined but never used. (no-unused-vars)

CSS problems

(1 errors, 1 warnings)

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

mod/etherpadlite/styles.css
(#25) Invalid value for `padding-top` (csstree/validator)
(#54) Unexpected unit (length-zero-no-unit)

PHPDocs style problems

(93 errors, 11 warnings)

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

mod/etherpadlite/backup/moodle2/backup_etherpadlite_activity_task.class.php
(#17) No one-line description found in phpdocs for file
(#29) No one-line description found in phpdocs for class backup_etherpadlite_activity_task
(#50) Phpdocs for function backup_etherpadlite_activity_task::encode_content_links has incomplete parameters list
mod/etherpadlite/backup/moodle2/backup_etherpadlite_stepslib.php
(#30) Function backup_etherpadlite_activity_structure_step::define_structure is not documented
(#17) No one-line description found in phpdocs for file
mod/etherpadlite/backup/moodle2/restore_etherpadlite_activity_task.class.php
(#17) No one-line description found in phpdocs for file
(#29) No one-line description found in phpdocs for class restore_etherpadlite_activity_task
(#77) Inline phpdocs tag {@link restore_logs_processor} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#79) Inline phpdocs tag {@link restore_log_rule} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#96) Inline phpdocs tag {@link restore_logs_processor} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#98) Inline phpdocs tag {@link restore_log_rule} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
mod/etherpadlite/backup/moodle2/restore_etherpadlite_stepslib.php
(#29) Function restore_etherpadlite_activity_structure_step::define_structure is not documented
(#43) Function restore_etherpadlite_activity_structure_step::process_etherpadlite is not documented
(#106) Function restore_etherpadlite_activity_structure_step::process_etherpadlite_content is not documented
(#147) Function restore_etherpadlite_activity_structure_step::after_execute is not documented
(#17) No one-line description found in phpdocs for file
mod/etherpadlite/classes/client.php
(#31) Class client is not documented
(#45) Function client::__construct is not documented
(#85) Function client::get is not documented
(#89) Function client::post is not documented
(#93) Function client::call is not documented
(#123) Function client::handle_result is not documented
(#149) Function client::get_version is not documented
(#170) Function client::check_version is not documented
(#180) Function client::check_token is not documented
(#189) Function client::create_group is not documented
(#198) Function client::create_group_if_not_exists_for is not documented
(#209) Function client::delete_group is not documented
(#216) Function client::list_pads is not documented
(#223) Function client::create_group_pad is not documented
(#236) Function client::list_all_groups is not documented
(#244) Function client::create_author is not documented
(#255) Function client::create_author_if_not_exists_for is not documented
(#267) Function client::list_pads_of_author is not documented
(#274) Function client::get_author_name is not documented
(#286) Function client::create_session is not documented
(#299) Function client::delete_session is not documented
(#306) Function client::get_session_info is not documented
(#313) Function client::list_sessions_of_group is not documented
(#320) Function client::list_sessions_of_author is not documented
(#330) Function client::get_text is not documented
(#339) Function client::get_html is not documented
(#348) Function client::set_text is not documented
(#356) Function client::set_html is not documented
(#369) Function client::create_pad is not documented
(#377) Function client::get_revisions_count is not documented
(#384) Function client::pad_users_count is not documented
(#391) Function client::get_last_edited is not documented
(#398) Function client::delete_pad is not documented
(#405) Function client::get_readonly_id is not documented
(#416) Function client::list_authors_of_pad is not documented
(#423) Function client::set_public_status is not documented
(#434) Function client::get_public_status is not documented
(#441) Function client::set_password is not documented
(#449) Function client::is_password_protected is not documented
(#456) Function client::pad_users is not documented
(#463) Function client::send_clients_message is not documented
(#470) Function client::is_url_blocked is not documented
(#40) Variable client::$apikey is not documented
(#41) Variable client::$baseurl is not documented
(#42) Variable client::$curl is not documented
(#43) Variable client::$config is not documented
(#32) Constant client::DEFAULT_API_VERSION is not documented
(#34) Constant client::CODE_OK is not documented
(#35) Constant client::CODE_INVALID_PARAMETERS is not documented
(#36) Constant client::CODE_INTERNAL_ERROR is not documented
(#37) Constant client::CODE_INVALID_FUNCTION is not documented
(#38) Constant client::CODE_INVALID_API_KEY is not documented
mod/etherpadlite/classes/event/course_module_viewed.php
(#27) Class course_module_viewed is not documented
(#35) Function course_module_viewed::init is not documented
(#17) No one-line description found in phpdocs for file
mod/etherpadlite/classes/observer/group.php
(#256) Function group::delete_mgroup_pad_adhoc_task is not documented
(#229) There is no description in phpdocs for function get_next_runtime
mod/etherpadlite/classes/output/component/urlsettingsnote.php
(#27) Class urlsettingsnote is not documented
(#57) Function urlsettingsnote::export_for_template is not documented
(#28) Variable urlsettingsnote::$data is not documented
(#32) Variable urlsettingsnote::$msgtypes is not documented
(#29) Constant urlsettingsnote::MSGTYPE_INFO is not documented
(#30) Constant urlsettingsnote::MSGTYPE_WARNING is not documented
(#31) Constant urlsettingsnote::MSGTYPE_DANGER is not documented
(#17) No one-line description found in phpdocs for file
mod/etherpadlite/classes/output/renderer.php
(#27) Class renderer is not documented
(#29) Function renderer::render_etherpad is not documented
(#63) Function renderer::is_boost_based is not documented
(#17) No one-line description found in phpdocs for file
mod/etherpadlite/classes/task/delete_moodle_group_pad.php
(#35) Function delete_moodle_group_pad::execute is not documented
mod/etherpadlite/db/upgrade.php
(#45) Function xmldb_etherpadlite_upgrade is not documented
(#17) No one-line description found in phpdocs for file
mod/etherpadlite/lib.php
(#358) Function etherpadlite_gen_random_string is not documented
(#368) Function etherpadlite_guestsallowed is not documented
(#17) No one-line description found in phpdocs for file
(#271) There is no description in phpdocs for function etherpadlite_supports
(#46) Phpdocs for function etherpadlite_add_instance has incomplete parameters list
(#104) Phpdocs for function etherpadlite_update_instance has incomplete parameters list
(#183) Phpdocs for function etherpadlite_user_outline has incomplete parameters list
(#198) Phpdocs for function etherpadlite_user_complete has incomplete parameters list
(#210) Phpdocs for function etherpadlite_print_recent_activity has incomplete parameters list
(#306) Phpdocs for function etherpadlite_extend_settings_navigation has incomplete parameters list
mod/etherpadlite/locallib.php
(#25) Function mod_etherpadlite_delete_all_mgrouppads is not documented
(#37) Function mod_etherpadlite_add_mgrouppads is not documented
mod/etherpadlite/mod_form.php
(#51) Class mod_etherpadlite_mod_form is not documented
(#53) Function mod_etherpadlite_mod_form::definition is not documented
(#17) No one-line description found in phpdocs for file
mod/etherpadlite/version.php
(#17) No one-line description found in phpdocs for file

Update savepoints problems

(1 errors, 0 warnings)

This section shows problems detected with the handling of upgrade savepoints [More info]

mod/etherpadlite/db/upgrade.php
'return true;' not found

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

shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(1 errors, 3 warnings)

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

mod/etherpadlite/templates/content.mustache
(#1) Mustache syntax exception: Example context JSON is unparsable, fails with: Syntax error
mod/etherpadlite/templates/iframe.mustache
(#1) HTML Validation error, line 4: Bad value “” for attribute “src” on element “iframe”: Must be non-empty. (> <iframe class="border" style="height:500px;width:100%;min-width:400px;" id="etherpadiframe_1" src=""></ifra)
mod/etherpadlite/templates/iframe_legacy.mustache
(#1) HTML Validation error, line 3: Bad value “” for attribute “src” on element “iframe”: Must be non-empty. (d><body><iframe class="etherpadiframe" style="height:500px;width:100%;min-width:400px;" id="etherpadiframe_1" src=""></ifra)
mod/etherpadlite/templates/modal.mustache
(#1) HTML Validation error, line 19: Bad value “” for attribute “src” on element “iframe”: Must be non-empty. (> <iframe class="border" id="etherpadiframe2_1" src="" allowFullscreen></ifra)

Gherkin .feature problems

(0 errors, 0 warnings)

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