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

(0 errors, 0 warnings)

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


Javascript coding style problems

(2 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
(#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

(91 errors, 0 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
(#30) No one-line description found in phpdocs for class backup_etherpadlite_activity_task
(#51) Phpdocs for function backup_etherpadlite_activity_task::encode_content_links has incomplete parameters list
(#30) Class backup_etherpadlite_activity_task does not have @copyright tag
(#30) Class backup_etherpadlite_activity_task does not have @license tag
mod/etherpadlite/backup/moodle2/backup_etherpadlite_settingslib.php
(#17) No one-line description found in phpdocs for file
mod/etherpadlite/backup/moodle2/backup_etherpadlite_stepslib.php
(#32) Function backup_etherpadlite_activity_structure_step::define_structure is not documented
(#17) No one-line description found in phpdocs for file
(#27) Class backup_etherpadlite_activity_structure_step does not have @copyright tag
(#27) Class backup_etherpadlite_activity_structure_step does not have @license tag
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
(#29) Class restore_etherpadlite_activity_task does not have @copyright tag
(#29) Class restore_etherpadlite_activity_task does not have @license tag
mod/etherpadlite/backup/moodle2/restore_etherpadlite_stepslib.php
(#31) Function restore_etherpadlite_activity_structure_step::define_structure is not documented
(#45) Function restore_etherpadlite_activity_structure_step::process_etherpadlite is not documented
(#79) Function restore_etherpadlite_activity_structure_step::process_etherpadlite_content is not documented
(#100) Function restore_etherpadlite_activity_structure_step::after_execute is not documented
(#17) No one-line description found in phpdocs for file
(#27) Class restore_etherpadlite_activity_structure_step does not have @copyright tag
(#27) Class restore_etherpadlite_activity_structure_step does not have @license tag
mod/etherpadlite/classes/client.php
(#33) Class client is not documented
(#46) Function client::__construct is not documented
(#61) Function client::get is not documented
(#65) Function client::post is not documented
(#69) Function client::call is not documented
(#99) Function client::handle_result is not documented
(#130) Function client::create_group is not documented
(#139) Function client::create_group_if_not_exists_for is not documented
(#150) Function client::delete_group is not documented
(#157) Function client::list_pads is not documented
(#164) Function client::create_group_pad is not documented
(#177) Function client::list_all_groups is not documented
(#185) Function client::create_author is not documented
(#196) Function client::create_author_if_not_exists_for is not documented
(#208) Function client::list_pads_of_author is not documented
(#215) Function client::get_author_name is not documented
(#227) Function client::create_session is not documented
(#240) Function client::delete_session is not documented
(#247) Function client::get_session_info is not documented
(#254) Function client::list_sessions_of_group is not documented
(#261) Function client::list_sessions_of_author is not documented
(#271) Function client::get_text is not documented
(#280) Function client::get_html is not documented
(#289) Function client::set_text is not documented
(#297) Function client::set_html is not documented
(#310) Function client::create_pad is not documented
(#318) Function client::get_revisions_count is not documented
(#325) Function client::pad_users_count is not documented
(#332) Function client::get_last_edited is not documented
(#339) Function client::delete_pad is not documented
(#346) Function client::get_readonly_id is not documented
(#357) Function client::list_authors_of_pad is not documented
(#364) Function client::set_public_status is not documented
(#375) Function client::get_public_status is not documented
(#382) Function client::set_password is not documented
(#390) Function client::is_password_protected is not documented
(#397) Function client::pad_users is not documented
(#404) Function client::send_clients_message is not documented
(#42) Variable client::$apikey is not documented
(#43) Variable client::$baseurl is not documented
(#44) Variable client::$curl is not documented
(#34) Constant client::API_VERSION is not documented
(#36) Constant client::CODE_OK is not documented
(#37) Constant client::CODE_INVALID_PARAMETERS is not documented
(#38) Constant client::CODE_INTERNAL_ERROR is not documented
(#39) Constant client::CODE_INVALID_FUNCTION is not documented
(#40) Constant client::CODE_INVALID_API_KEY is not documented
mod/etherpadlite/classes/event/course_module_viewed.php
(#29) Class course_module_viewed is not documented
(#37) Function course_module_viewed::init is not documented
(#17) No one-line description found in phpdocs for file
mod/etherpadlite/classes/output/renderer.php
(#29) Class renderer is not documented
(#31) Function renderer::render_etherpad is not documented
(#55) Function renderer::is_boost_based is not documented
(#17) No one-line description found in phpdocs for file
mod/etherpadlite/db/upgrade.php
(#47) Function xmldb_etherpadlite_upgrade is not documented
(#17) No one-line description found in phpdocs for file
mod/etherpadlite/lib.php
(#265) Function etherpadlite_gen_random_string is not documented
(#275) Function etherpadlite_guestsallowed is not documented
(#17) No one-line description found in phpdocs for file
(#227) There is no description in phpdocs for function etherpadlite_supports
(#46) Phpdocs for function etherpadlite_add_instance has incomplete parameters list
(#83) Phpdocs for function etherpadlite_update_instance has incomplete parameters list
(#139) Phpdocs for function etherpadlite_user_outline has incomplete parameters list
(#154) Phpdocs for function etherpadlite_user_complete has incomplete parameters list
(#166) Phpdocs for function etherpadlite_print_recent_activity has incomplete parameters list
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
(#21) Package mod_etheradlite 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]


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)