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

(6 errors, 10 warnings)

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

mod/securepdf/backup/moodle2/backup_securepdf_activity_task.class.php
(#62) The static declaration must come after the visibility declaration
mod/securepdf/backup/moodle2/backup_securepdf_stepslib.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/securepdf/backup/moodle2/restore_securepdf_activity_task.class.php
(#54) The static declaration must come after the visibility declaration
(#68) The static declaration must come after the visibility declaration
(#86) The static declaration must come after the visibility declaration
(#114) The static declaration must come after the visibility declaration
mod/securepdf/backup/moodle2/restore_securepdf_stepslib.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/securepdf/classes/event/course_module_instance_list_viewed.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/securepdf/classes/event/course_module_viewed.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/securepdf/classes/event/page_view.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/securepdf/classes/task/create_cache.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#30) Opening brace should be on the same line as the declaration for class create_cache
mod/securepdf/db/install.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/securepdf/db/upgrade.php
(#32) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/securepdf/lib.php
(#32) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/securepdf/locallib.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.

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

(25 errors, 10 warnings)

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

mod/securepdf/backup/moodle2/backup_securepdf_stepslib.php
(#33) Function backup_securepdf_activity_structure_step::define_structure is not documented
(#17) No one-line description found in phpdocs for file
mod/securepdf/backup/moodle2/restore_securepdf_activity_task.class.php
(#31) Class restore_securepdf_activity_task is not documented
(#17) No one-line description found in phpdocs for file
(#81) 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)]}
(#82) 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)]}
(#105) 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)]}
(#106) 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/securepdf/backup/moodle2/restore_securepdf_stepslib.php
(#17) No one-line description found in phpdocs for file
(#48) Phpdocs for function restore_securepdf_activity_structure_step::process_securepdf has incomplete parameters list
mod/securepdf/classes/event/course_module_instance_list_viewed.php
(#30) Class course_module_instance_list_viewed is not documented
mod/securepdf/classes/event/course_module_viewed.php
(#30) Class course_module_viewed is not documented
(#31) Function course_module_viewed::init is not documented
mod/securepdf/classes/event/page_view.php
(#20) Package securepdf is not valid
(#40) Function page_view::init is not documented
(#46) Function page_view::get_name is not documented
(#50) Function page_view::get_description is not documented
(#58) Function page_view::get_url is not documented
(#62) Function page_view::get_legacy_logdata is not documented
(#69) Function page_view::get_legacy_eventname is not documented
(#74) Function page_view::get_legacy_eventdata is not documented
mod/securepdf/classes/task/create_cache.php
(#29) Class create_cache is not documented
(#31) Function create_cache::execute is not documented
mod/securepdf/db/install.php
(#17) No one-line description found in phpdocs for file
mod/securepdf/index.php
(#17) No one-line description found in phpdocs for file
mod/securepdf/lib.php
(#137) Phpdocs for function securepdf_user_outline has incomplete parameters list
(#411) Phpdocs for function securepdf_reset_userdata has incomplete parameters list
(#251) Invalid phpdocs tag @catgory used
(#214) Inline phpdocs tag {@link get_array_of_activities()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#271) Inline phpdocs tag {@link file_browser::get_file_info_context_module()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
mod/securepdf/locallib.php
(#364) Function securepdf::check_imagick is not documented
(#399) Function securepdf::ishebrew is not documented
(#417) Function securepdf::mbstrrev is not documented
mod/securepdf/mod_form.php
(#34) Class mod_securepdf_mod_form is not documented
(#81) Phpdocs for function mod_securepdf_mod_form::data_preprocessing has incomplete parameters list

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

(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

(0 errors, 2 warnings)

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

mod/securepdf/templates/imageview.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 9: Attribute “galleryimg” not allowed on element “img” at this point. (</div><img src="data:image/png;base64, " alt="Page " galleryimg="no" onContextMenu="return false;"></bo)

Gherkin .feature problems

(0 errors, 0 warnings)

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