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

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

mod/lightboxgallery/classes/privacy/provider.php
(#128) Line exceeds 132 characters; contains 139 characters
(#129) Line exceeds 132 characters; contains 140 characters
mod/lightboxgallery/tests/privacy_test.php
(#180) Line exceeds 132 characters; contains 133 characters
(#194) Line exceeds 132 characters; contains 133 characters

Javascript coding style problems

(1 errors, 4 warnings)

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

mod/lightboxgallery/module.js
(#1) A function with a name starting with an uppercase letter should only be used as a constructor. (new-cap)
(#1) 'YUI' is not defined. (no-undef)
(#1) Unexpected space before function parentheses. (space-before-function-paren)
(#1) Statement inside of curly braces should be on next line. (brace-style)
(#1) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(186 errors, 3 warnings)

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

mod/lightboxgallery/backup/moodle2/backup_lightboxgallery_activity_task.class.php
(#29) Class backup_lightboxgallery_activity_task does not have @copyright tag
(#29) Class backup_lightboxgallery_activity_task does not have @license tag
mod/lightboxgallery/backup/moodle2/backup_lightboxgallery_stepslib.php
(#35) Function backup_lightboxgallery_activity_structure_step::define_structure is not documented
(#17) No one-line description found in phpdocs for file
(#30) Class backup_lightboxgallery_activity_structure_step does not have @copyright tag
(#30) Class backup_lightboxgallery_activity_structure_step does not have @license tag
(#18) Package moodlecore is not valid
mod/lightboxgallery/backup/moodle2/restore_lightboxgallery_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_lightboxgallery_activity_task
(#28) Class restore_lightboxgallery_activity_task does not have @copyright tag
(#28) Class restore_lightboxgallery_activity_task does not have @license tag
(#18) Package moodlecore is not valid
mod/lightboxgallery/backup/moodle2/restore_lightboxgallery_stepslib.php
(#35) Function restore_lightboxgallery_activity_structure_step::define_structure is not documented
(#55) Function restore_lightboxgallery_activity_structure_step::process_lightboxgallery is not documented
(#67) Function restore_lightboxgallery_activity_structure_step::process_lightboxgallery_comment is not documented
(#81) Function restore_lightboxgallery_activity_structure_step::process_lightboxgallery_image_meta is not documented
(#91) Function restore_lightboxgallery_activity_structure_step::after_execute is not documented
(#17) No one-line description found in phpdocs for file
(#30) Class restore_lightboxgallery_activity_structure_step does not have @copyright tag
(#30) Class restore_lightboxgallery_activity_structure_step does not have @license tag
(#18) Package moodlecore is not valid
mod/lightboxgallery/classes/gallery_page.php
(#17) File-level phpdocs block is not found
(#23) Class gallery_page is not documented
(#56) Function gallery_page::display_images is not documented
(#66) Function gallery_page::load_metadata is not documented
(#116) Function gallery_page::image_count is not documented
(#25) Variable gallery_page::$cm is not documented
(#26) Variable gallery_page::$editing is not documented
(#27) Variable gallery_page::$files is not documented
(#28) Variable gallery_page::$gallery is not documented
(#29) Variable gallery_page::$imagecount is not documented
(#30) Variable gallery_page::$metadata is not documented
(#31) Variable gallery_page::$page is not documented
(#32) Variable gallery_page::$pagefiles is not documented
(#33) Variable gallery_page::$pagethumbs is not documented
(#34) Variable gallery_page::$thumbnails is not documented
(#23) Package is not specified for class gallery_page. It is also not specified in file-level phpdocs
mod/lightboxgallery/classes/privacy/provider.php
(#252) Function provider::get_lightboxgallery_id_from_context is not documented
(#17) File-level phpdocs block does not have @copyright tag
(#37) Class provider does not have @copyright tag
mod/lightboxgallery/comment.php
(#17) File-level phpdocs block is not found
mod/lightboxgallery/comment_form.php
(#30) Class mod_lightboxgallery_comment_form is not documented
(#32) Function mod_lightboxgallery_comment_form::definition is not documented
mod/lightboxgallery/db/log.php
(#17) No one-line description found in phpdocs for file
mod/lightboxgallery/db/upgrade.php
(#42) Function xmldb_lightboxgallery_upgrade is not documented
mod/lightboxgallery/edit/base.class.php
(#17) File-level phpdocs block is not found
(#27) Class edit_base is not documented
(#37) Function edit_base::__construct is not documented
(#46) Function edit_base::processing is not documented
(#50) Function edit_base::enclose_in_form is not documented
(#62) Function edit_base::output is not documented
(#66) Function edit_base::process_form is not documented
(#29) Variable edit_base::$imageobj is not documented
(#31) Variable edit_base::$gallery is not documented
(#32) Variable edit_base::$image is not documented
(#33) Variable edit_base::$tab is not documented
(#34) Variable edit_base::$showthumb is not documented
(#35) Variable edit_base::$context is not documented
(#27) Package is not specified for class edit_base. It is also not specified in file-level phpdocs
(#22) Package mod_lighboxgallery is not valid
mod/lightboxgallery/edit/caption/caption.class.php
(#17) File-level phpdocs block is not found
(#19) Class edit_caption is not documented
(#21) Function edit_caption::__construct is not documented
(#25) Function edit_caption::output is not documented
(#31) Function edit_caption::process_form is not documented
(#19) Package is not specified for class edit_caption. It is also not specified in file-level phpdocs
mod/lightboxgallery/edit/crop/crop.class.php
(#17) File-level phpdocs block is not found
(#21) Class edit_crop is not documented
(#23) Function edit_crop::__construct is not documented
(#27) Function edit_crop::output is not documented
(#69) Function edit_crop::process_form is not documented
(#21) Package is not specified for class edit_crop. It is also not specified in file-level phpdocs
mod/lightboxgallery/edit/delete/delete.class.php
(#17) File-level phpdocs block is not found
(#19) Class edit_delete is not documented
(#21) Function edit_delete::__construct is not documented
(#25) Function edit_delete::output is not documented
(#33) Function edit_delete::process_form is not documented
(#19) Package is not specified for class edit_delete. It is also not specified in file-level phpdocs
mod/lightboxgallery/edit/flip/flip.class.php
(#17) File-level phpdocs block is not found
(#22) Class edit_flip is not documented
(#24) Function edit_flip::__construct is not documented
(#28) Function edit_flip::output is not documented
(#37) Function edit_flip::process_form is not documented
(#22) Package is not specified for class edit_flip. It is also not specified in file-level phpdocs
mod/lightboxgallery/edit/resize/resize.class.php
(#17) File-level phpdocs block is not found
(#19) Class edit_resize is not documented
(#25) Function edit_resize::__construct is not documented
(#32) Function edit_resize::output is not documented
(#58) Function edit_resize::process_form is not documented
(#21) Variable edit_resize::$strresize is not documented
(#22) Variable edit_resize::$strscale is not documented
(#23) Variable edit_resize::$resizeoptions is not documented
(#19) Package is not specified for class edit_resize. It is also not specified in file-level phpdocs
mod/lightboxgallery/edit/rotate/rotate.class.php
(#17) File-level phpdocs block is not found
(#19) Class edit_rotate is not documented
(#21) Function edit_rotate::__construct is not documented
(#25) Function edit_rotate::output is not documented
(#35) Function edit_rotate::process_form is not documented
(#19) Package is not specified for class edit_rotate. It is also not specified in file-level phpdocs
mod/lightboxgallery/edit/tag/import.php
(#17) File-level phpdocs block is not found
mod/lightboxgallery/edit/tag/tag.class.php
(#17) File-level phpdocs block is not found
(#19) Class edit_tag is not documented
(#21) Function edit_tag::__construct is not documented
(#25) Function edit_tag::output is not documented
(#78) Function edit_tag::process_form is not documented
(#19) Package is not specified for class edit_tag. It is also not specified in file-level phpdocs
mod/lightboxgallery/edit/thumbnail/thumbnail.class.php
(#17) File-level phpdocs block is not found
(#19) Class edit_thumbnail is not documented
(#21) Function edit_thumbnail::__construct is not documented
(#25) Function edit_thumbnail::output is not documented
(#53) Function edit_thumbnail::process_form is not documented
(#19) Package is not specified for class edit_thumbnail. It is also not specified in file-level phpdocs
mod/lightboxgallery/imageadd.php
(#20) Package mod_lightworkgallery is not valid
mod/lightboxgallery/imageadd_form.php
(#17) File-level phpdocs block is not found
(#33) Function mod_lightboxgallery_imageadd_form::definition is not documented
(#65) Function mod_lightboxgallery_imageadd_form::validation is not documented
(#91) Function mod_lightboxgallery_imageadd_form::can_resize is not documented
mod/lightboxgallery/imageclass.php
(#17) File-level phpdocs block is not found
(#59) Function lightboxgallery_image::__construct is not documented
(#89) Function lightboxgallery_image::add_tag is not documented
(#101) Function lightboxgallery_image::create_thumbnail is not documented
(#119) Function lightboxgallery_image::create_index is not documented
(#147) Function lightboxgallery_image::delete_file is not documented
(#162) Function lightboxgallery_image::delete_tag is not documented
(#168) Function lightboxgallery_image::delete_thumbnail is not documented
(#175) Function lightboxgallery_image::flip_image is not documented
(#195) Function lightboxgallery_image::get_editing_options is not documented
(#218) Function lightboxgallery_image::get_image_caption is not documented
(#238) Function lightboxgallery_image::get_image_display_html is not documented
(#278) Function lightboxgallery_image::get_image_flipped is not documented
(#301) Function lightboxgallery_image::get_image_resized is not documented
(#331) Function lightboxgallery_image::get_image_rotated is not documented
(#338) Function lightboxgallery_image::get_image_url is not documented
(#342) Function lightboxgallery_image::get_tags is not documented
(#364) Function lightboxgallery_image::get_thumbnail is not documented
(#375) Function lightboxgallery_image::get_thumbnail_url is not documented
(#379) Function lightboxgallery_image::output_by_mimetype is not documented
(#393) Function lightboxgallery_image::resize_image is not documented
(#418) Function lightboxgallery_image::rotate_image is not documented
(#439) Function lightboxgallery_image::set_caption is not documented
(#457) Function lightboxgallery_image::set_stored_file is not documented
(#36) Variable lightboxgallery_image::$cm is not documented
(#37) Variable lightboxgallery_image::$cmid is not documented
(#38) Variable lightboxgallery_image::$context is not documented
(#39) Variable lightboxgallery_image::$gallery is not documented
(#40) Variable lightboxgallery_image::$imageurl is not documented
(#43) Variable lightboxgallery_image::$metadata is not documented
(#52) Variable lightboxgallery_image::$tags is not documented
(#53) Variable lightboxgallery_image::$thumbnail is not documented
(#54) Variable lightboxgallery_image::$thumburl is not documented
(#56) Variable lightboxgallery_image::$height is not documented
(#57) Variable lightboxgallery_image::$width is not documented
mod/lightboxgallery/index.php
(#21) Package mod_lightworkgallery is not valid
mod/lightboxgallery/lang/de/lightboxgallery.php
(#18) No one-line description found in phpdocs for file
mod/lightboxgallery/lib.php
(#37) Function lightboxgallery_supports is not documented
(#202) Function lightboxgallery_get_recent_mod_activity is not documented
(#262) Function lightboxgallery_print_recent_mod_activity is not documented
(#351) Function lightboxgallery_get_view_actions is not documented
(#355) Function lightboxgallery_get_post_actions is not documented
(#165) Phpdocs for function lightboxgallery_user_complete has incomplete parameters list
(#284) Phpdocs for function lightboxgallery_print_recent_activity has incomplete parameters list
(#339) Phpdocs for function lightboxgallery_get_participants has incomplete parameters list
(#505) Phpdocs for function mod_lightboxgallery_core_calendar_provide_event_action has incomplete parameters list
mod/lightboxgallery/locallib.php
(#101) Function lightboxgallery_config_defaults is not documented
(#116) Function lightboxgallery_edit_types is not documented
(#135) Function lightboxgallery_print_tags is not documented
(#162) Function lightboxgallery_resize_options is not documented
(#166) Function lightboxgallery_index_thumbnail is not documented
(#209) Function lightboxgallery_content_file_info::get_parent is not documented
(#215) Function lightboxgallery_content_file_info::get_visible_name is not documented
(#46) Phpdocs for function lightboxgallery_add_images has incomplete parameters list
(#205) Class lightboxgallery_content_file_info does not have @copyright tag
(#205) Class lightboxgallery_content_file_info does not have @license tag
(#51) Not recommended phpdocs tag @access used
mod/lightboxgallery/mod_form.php
(#34) Class mod_lightboxgallery_mod_form is not documented
(#36) Function mod_lightboxgallery_mod_form::definition is not documented
(#116) Function mod_lightboxgallery_mod_form::data_preprocessing is not documented
(#124) Function mod_lightboxgallery_mod_form::get_perpage_options is not documented
(#133) Function mod_lightboxgallery_mod_form::get_autoresize_options is not documented
mod/lightboxgallery/rsslib.php
(#134) Function lightboxgallery_rss_feeds is not documented
(#193) Function lightboxgallery_rss_get_sql is not documented
(#206) Function lightboxgallery_rss_header is not documented
(#17) File-level phpdocs block does not have @copyright tag
(#31) Not recommended phpdocs tag @global used
(#31) Not recommended phpdocs tag @global used
mod/lightboxgallery/tests/generator/lib.php
(#38) Function mod_lightboxgallery_generator::create_instance is not documented
mod/lightboxgallery/tests/privacy_test.php
(#208) Function mod_lightboxgallery_privacy_testcase::assert_exported_comments is not documented
(#17) File-level phpdocs block does not have @copyright tag
(#37) Class mod_lightboxgallery_privacy_testcase does not have @copyright tag

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

(0 errors, 0 warnings)

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