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

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

mod/ubicast/backup/moodle2/backup_ubicast_stepslib.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/ubicast/backup/moodle2/restore_ubicast_stepslib.php
(#23) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/ubicast/classes/event/course_module_instance_list_viewed.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/ubicast/classes/event/course_module_viewed.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/ubicast/db/install.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/ubicast/db/upgrade.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/ubicast/lib.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/ubicast/mod_form.php
(#28) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
mod/ubicast/view.php
(#32) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#35) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#38) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead

Javascript coding style problems

(0 errors, 3 warnings)

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

mod/ubicast/statics/media_selector.js
(#67) Identifier 'input_thumb' is not in camel case. (camelcase)
(#68) Identifier 'input_thumb' is not in camel case. (camelcase)
(#69) Identifier 'input_thumb' is not in camel case. (camelcase)

CSS problems

(3 errors, 0 warnings)

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

mod/ubicast/css/style_app.css
(#1) Expected newline before "}" (block-closing-brace-newline-before)
(#1) Expected newline after "{" (block-opening-brace-newline-after)
(#1) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)

PHPDocs style problems

(31 errors, 0 warnings)

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

mod/ubicast/backup/moodle2/backup_ubicast_activity_task.class.php
(#47) Phpdocs for function backup_ubicast_activity_task::encode_content_links has incomplete parameters list
mod/ubicast/backup/moodle2/backup_ubicast_stepslib.php
(#32) Function backup_ubicast_activity_structure_step::define_structure is not documented
mod/ubicast/backup/moodle2/restore_ubicast_activity_task.class.php
(#17) No one-line description found in phpdocs for file
(#27) No one-line description found in phpdocs for class restore_ubicast_activity_task
(#71) 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)]}
(#73) 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)]}
(#87) 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)]}
(#89) 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/ubicast/backup/moodle2/restore_ubicast_stepslib.php
(#34) Function restore_ubicast_activity_structure_step::define_structure is not documented
(#43) Function restore_ubicast_activity_structure_step::process_ubicast is not documented
(#56) Function restore_ubicast_activity_structure_step::after_execute is not documented
(#17) No one-line description found in phpdocs for file
mod/ubicast/classes/output/mobile.php
(#17) File-level phpdocs block does not have @copyright tag
(#17) File-level phpdocs block does not have @license tag
mod/ubicast/classes/privacy/provider.php
(#27) Class provider is not documented
mod/ubicast/db/install.php
(#27) Function xmldb_ubicast_install is not documented
mod/ubicast/db/mobile.php
(#17) File-level phpdocs block does not have @copyright tag
(#17) File-level phpdocs block does not have @license tag
mod/ubicast/db/upgrade.php
(#27) Function xmldb_ubicast_upgrade is not documented
mod/ubicast/lib.php
(#28) Function ubicast_supports is not documented
(#66) Function ubicast_get_extra_capabilities is not documented
(#71) Function ubicast_reset_userdata is not documented
(#76) Function ubicast_get_view_actions is not documented
(#81) Function ubicast_get_post_actions is not documented
(#86) Function ubicast_add_instance is not documented
(#99) Function ubicast_update_instance is not documented
(#114) Function ubicast_delete_instance is not documented
mod/ubicast/locallib.php
(#111) Function ubicast_display_media is not documented
(#36) Phpdocs for function ubicast_launch_tool has incomplete parameters list
mod/ubicast/mod_form.php
(#30) Class mod_ubicast_mod_form is not documented
(#31) Function mod_ubicast_mod_form::definition is not documented

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]


Missing changes in external functions or backup support for new detected tables or columns

(0 errors, 0 warnings)

This section shows potential problems detected when there are new database structures added in a patch and it is detected that nothing has been changed related with external functions (to be used by WS) or backup and restore. It must be checked that everything is correct and nothing is being missed in those areas. [More info]


grunt changes

(0 errors, 0 warnings)

This section shows files built by grunt and not commited [More info]


shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(1 errors, 0 warnings)

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

mod/ubicast/templates/mobile_view_page.mustache
(#1) Mustache syntax exception: Example context JSON is unparsable, fails with: Syntax error

Gherkin .feature problems

(0 errors, 0 warnings)

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