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

(20 errors, 73 warnings)

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

mod/mediagallery/backup/moodle2/backup_mediagallery_activity_task.class.php
(#57) The static declaration must come after the visibility declaration
mod/mediagallery/backup/moodle2/backup_mediagallery_stepslib.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/mediagallery/backup/moodle2/restore_mediagallery_activity_task.class.php
(#55) The static declaration must come after the visibility declaration
(#64) The static declaration must come after the visibility declaration
(#80) The static declaration must come after the visibility declaration
(#100) The static declaration must come after the visibility declaration
mod/mediagallery/backup/moodle2/restore_mediagallery_stepslib.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#57) Line exceeds 132 characters; contains 135 characters
(#58) Line exceeds 132 characters; contains 140 characters
mod/mediagallery/classes/base.php
(#19) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/mediagallery/classes/collection.php
(#19) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/mediagallery/classes/event/collection_deleted.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/mediagallery/classes/event/course_module_instance_list_viewed.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/mediagallery/classes/event/course_module_viewed.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/mediagallery/classes/event/gallery_created.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/mediagallery/classes/event/gallery_deleted.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/mediagallery/classes/event/gallery_updated.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/mediagallery/classes/event/gallery_viewed.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/mediagallery/classes/event/item_created.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/mediagallery/classes/event/item_deleted.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/mediagallery/classes/event/item_updated.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/mediagallery/classes/file_info.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/mediagallery/classes/file_info_area_gallery.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/mediagallery/classes/imagehelper.php
(#19) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/mediagallery/classes/item.php
(#19) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#297) Inline comments must end in full-stops, exclamation marks, or question marks
(#463) Line exceeds 132 characters; contains 159 characters
(#631) Line exceeds 132 characters; contains 149 characters
(#690) Line exceeds 132 characters; contains 152 characters
mod/mediagallery/classes/mcsearch.php
(#63) Line indented incorrectly; expected at least 13 spaces, found 12
(#64) Line indented incorrectly; expected at least 13 spaces, found 12
mod/mediagallery/classes/output/collection/renderable.php
(#19) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/mediagallery/classes/output/gallery/renderable.php
(#19) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/mediagallery/classes/output/searchresults/renderable.php
(#19) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/mediagallery/classes/privacy/provider.php
(#36) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#229) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#241) Line exceeds 132 characters; contains 135 characters
(#395) Whitespace found at end of line within string
(#431) Line exceeds 132 characters; contains 135 characters
(#434) Line indented incorrectly; expected at least 12 spaces, found 10
(#436) Line indented incorrectly; expected at least 12 spaces, found 10
(#438) Line exceeds 132 characters; contains 137 characters
mod/mediagallery/classes/privacy/subcontext_info.php
(#32) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/mediagallery/classes/quickform/limitedurl.php
(#26) Member variable "_hiddenLabel" must be all lower-case
(#33) Public method name "MoodleQuickForm_limitedurl::toHtml" must be in lower-case letters only
mod/mediagallery/classes/quickform/uploader.php
(#27) Variable "elementName" must be all lower-case
(#27) Variable "elementLabel" must be all lower-case
(#28) Variable "elementName" must be all lower-case
(#28) Variable "elementLabel" must be all lower-case
(#36) Public method name "MoodleQuickForm_uploader::MoodleQuickForm_uploader" must be in lower-case letters only
(#47) Public method name "MoodleQuickForm_uploader::toHtml" must be in lower-case letters only
mod/mediagallery/classes/quickform/uploader_standard.php
(#27) Public method name "MoodleQuickForm_uploader_standard::toHtml" must be in lower-case letters only
mod/mediagallery/classes/viewcontroller.php
(#20) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#166) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
mod/mediagallery/db/install.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/mediagallery/db/upgrade.php
(#23) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/mediagallery/gallery.php
(#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
(#54) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#105) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
mod/mediagallery/gallery_form.php
(#108) Line exceeds 132 characters; contains 138 characters
mod/mediagallery/index.php
(#77) Logical operator "or" is prohibited; use "||" instead
mod/mediagallery/item.php
(#37) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#46) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#59) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#168) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
mod/mediagallery/item_form.php
(#108) Line exceeds 132 characters; contains 135 characters
(#162) Logical operator "or" is prohibited; use "||" instead
(#162) Logical operator "or" is prohibited; use "||" instead
mod/mediagallery/lib.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#410) Logical operator "and" is prohibited; use "&&" instead
(#453) Logical operator "or" is prohibited; use "||" instead
mod/mediagallery/locallib.php
(#548) Line exceeds 132 characters; contains 135 characters
mod/mediagallery/mod_form.php
(#86) Line exceeds 132 characters; contains 139 characters
mod/mediagallery/tests/base_test.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#34) PHPUnit testcase name "mod_mediagallery_base_testcase" does not match file name "base_test"
(#34) PHPUnit class "mod_mediagallery_base_testcase" does not have any namespace. It is recommended to add it to the "mod_mediagallery" namespace, using more levels if needed, in order to match the code being tested
(#83) Test method test_collection_read_only() is missing any coverage information, own or at class level
(#101) Test method test_gallery_access_permissions() is missing any coverage information, own or at class level
mod/mediagallery/tests/collection_test.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#34) PHPUnit testcase name "mod_mediagallery_collection_testcase" does not match file name "collection_test"
(#34) PHPUnit class "mod_mediagallery_collection_testcase" does not have any namespace. It is recommended to add it to the "mod_mediagallery" namespace, using more levels if needed, in order to match the code being tested
(#83) Test method test_user_can_add_children() is missing any coverage information, own or at class level
mod/mediagallery/tests/generator/lib.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/mediagallery/tests/privacy_test.php
(#45) PHPUnit testcase name "mod_mediagallery_privacy_testcase" does not match file name "privacy_test"
(#45) PHPUnit class "mod_mediagallery_privacy_testcase" does not have any namespace. It is recommended to add it to the "mod_mediagallery" namespace, using more levels if needed, in order to match the code being tested
(#81) Test method test_get_contexts_for_userid() is missing any coverage information, own or at class level
(#125) Test method test_delete_data_for_all_users_in_context() is missing any coverage information, own or at class level
(#142) Test method test_delete_data_for_user() is missing any coverage information, own or at class level
(#180) Test method test_export_data_for_user() is missing any coverage information, own or at class level
(#200) Line exceeds 132 characters; contains 136 characters
(#216) Line exceeds 132 characters; contains 136 characters
mod/mediagallery/view.php
(#70) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#88) 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

(1 errors, 291 warnings)

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

mod/mediagallery/yui/src/base/js/base.js
(#1) Identifier 'mod_mediagallery' is not in camel case. (camelcase)
(#9) Identifier 'lbg_setup_ran' is not in camel case. (camelcase)
(#11) Extra space after key 'enablecomments'. (key-spacing)
(#12) Extra space after key 'enablelikes'. (key-spacing)
(#15) Extra space after key 'uri'. (key-spacing)
(#50) Identifier 'add_remove_collection_handler' is not in camel case. (camelcase)
(#50) Extra space after key 'add_remove_collection_handler'. (key-spacing)
(#58) Extra space after key 'title'. (key-spacing)
(#58) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#59) Extra space after key 'question'. (key-spacing)
(#59) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#60) Extra space after key 'yesLabel'. (key-spacing)
(#60) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#61) Extra space after key 'noLabel'. (key-spacing)
(#61) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#62) Extra space after key 'closeButtonTitle'. (key-spacing)
(#62) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#82) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#84) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#106) Identifier 'watch_delete_thebox' is not in camel case. (camelcase)
(#113) Extra space after key 'title'. (key-spacing)
(#113) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#114) Extra space after key 'yesLabel'. (key-spacing)
(#114) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#115) Extra space after key 'noLabel'. (key-spacing)
(#115) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#116) Extra space after key 'closeButtonTitle'. (key-spacing)
(#116) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#130) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#138) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#140) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#162) Identifier 'watch_editing_buttons' is not in camel case. (camelcase)
(#162) Extra space after key 'watch_editing_buttons'. (key-spacing)
(#168) Extra space after key 'title'. (key-spacing)
(#168) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#169) Extra space after key 'origquestion'. (key-spacing)
(#169) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#170) Extra space after key 'yesLabel'. (key-spacing)
(#170) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#171) Extra space after key 'noLabel'. (key-spacing)
(#171) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#172) Extra space after key 'closeButtonTitle'. (key-spacing)
(#172) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#188) ["class"] is better written in dot notation. (dot-notation)
(#197) Identifier 'watch_mediasize' is not in camel case. (camelcase)
(#228) Identifier 'add_gallery_info_modal' is not in camel case. (camelcase)
(#228) Extra space after key 'add_gallery_info_modal'. (key-spacing)
(#234) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#235) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#238) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#245) Extra space after key 'headerContent'. (key-spacing)
(#245) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#246) Extra space after key 'bodyContent'. (key-spacing)
(#247) Extra space after key 'modal'. (key-spacing)
(#256) Identifier 'add_item_info_modal' is not in camel case. (camelcase)
(#256) Extra space after key 'add_item_info_modal'. (key-spacing)
(#260) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#261) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#262) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#263) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#264) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#265) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#266) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#266) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#266) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#267) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#268) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#269) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#270) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#271) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#272) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#273) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#274) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#287) Extra space after key 'headerContent'. (key-spacing)
(#287) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#288) Extra space after key 'bodyContent'. (key-spacing)
(#289) Extra space after key 'modal'. (key-spacing)
(#298) Identifier 'delete_object' is not in camel case. (camelcase)
(#298) Extra space after key 'delete_object'. (key-spacing)
(#327) ["class"] is better written in dot notation. (dot-notation)
(#332) Extra space after key 'failure'. (key-spacing)
(#349) Identifier 'lbg_setup' is not in camel case. (camelcase)
(#349) Extra space after key 'lbg_setup'. (key-spacing)
(#353) Identifier 'lbg_setup_ran' is not in camel case. (camelcase)
(#358) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#380) Extra space after key 'sesskey'. (key-spacing)
(#381) Extra space after key 'm'. (key-spacing)
(#382) Extra space after key 'id'. (key-spacing)
(#383) Extra space after key 'class'. (key-spacing)
(#384) Extra space after key 'action'. (key-spacing)
(#391) Extra space after key 'success'. (key-spacing)
(#391) Unexpected space before function parentheses. (space-before-function-paren)
(#401) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#406) Identifier 'update_likes' is not in camel case. (camelcase)
(#406) Extra space after key 'update_likes'. (key-spacing)
(#410) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#413) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#417) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#419) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#425) Identifier 'lbg_change' is not in camel case. (camelcase)
(#425) Extra space after key 'lbg_change'. (key-spacing)
(#439) Extra space after key 'sesskey'. (key-spacing)
(#440) Extra space after key 'm'. (key-spacing)
(#441) Extra space after key 'id'. (key-spacing)
(#442) Extra space after key 'class'. (key-spacing)
(#443) Extra space after key 'action'. (key-spacing)
(#450) Extra space after key 'success'. (key-spacing)
(#450) Unexpected space before function parentheses. (space-before-function-paren)
(#455) Identifier 'client_id' is not in camel case. (camelcase)
(#455) Extra space after key 'client_id'. (key-spacing)
(#456) Extra space after key 'contextid'. (key-spacing)
(#457) Extra space after key 'itemid'. (key-spacing)
(#458) Extra space after key 'component'. (key-spacing)
(#459) Extra space after key 'commentarea'. (key-spacing)
(#467) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#469) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#481) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#498) Identifier 'lbg_embed_player' is not in camel case. (camelcase)
(#498) Extra space after key 'lbg_embed_player'. (key-spacing)
(#502) Extra space after key 'sesskey'. (key-spacing)
(#503) Extra space after key 'm'. (key-spacing)
(#504) Extra space after key 'class'. (key-spacing)
(#505) Extra space after key 'action'. (key-spacing)
(#506) Extra space after key 'id'. (key-spacing)
(#509) Extra space after key 'success'. (key-spacing)
(#509) Unexpected space before function parentheses. (space-before-function-paren)
(#530) Identifier 'load_flowplayer' is not in camel case. (camelcase)
(#530) Extra space after key 'load_flowplayer'. (key-spacing)
(#535) Identifier 'embed_function' is not in camel case. (camelcase)
(#541) Expected space(s) after "for". (keyword-spacing)
(#541) 'i' used outside of binding context. (block-scoped-var)
(#541) 'i' used outside of binding context. (block-scoped-var)
(#541) 'i' used outside of binding context. (block-scoped-var)
(#541) 'i' used outside of binding context. (block-scoped-var)
(#541) 'i' used outside of binding context. (block-scoped-var)
(#541) 'i' used outside of binding context. (block-scoped-var)
(#542) 'i' used outside of binding context. (block-scoped-var)
(#542) 'i' used outside of binding context. (block-scoped-var)
(#544) 'src' used outside of binding context. (block-scoped-var)
(#550) 'src' is already defined. (no-redeclare)
(#550) 'src' used outside of binding context. (block-scoped-var)
(#552) 'src' used outside of binding context. (block-scoped-var)
(#552) 'src' used outside of binding context. (block-scoped-var)
(#561) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#561) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#583) Identifier 'video_players' is not in camel case. (camelcase)
(#587) 'controls' is already defined. (no-redeclare)
(#597) A space is required after ','. (comma-spacing)
(#597) A space is required after ','. (comma-spacing)
(#621) Expected space(s) after "for". (keyword-spacing)
(#621) 'i' is already defined. (no-redeclare)
(#621) 'i' used outside of binding context. (block-scoped-var)
(#621) 'i' used outside of binding context. (block-scoped-var)
(#621) 'i' used outside of binding context. (block-scoped-var)
(#621) 'i' used outside of binding context. (block-scoped-var)
(#621) 'i' used outside of binding context. (block-scoped-var)
(#621) 'i' used outside of binding context. (block-scoped-var)
(#623) 'i' used outside of binding context. (block-scoped-var)
(#623) 'i' used outside of binding context. (block-scoped-var)
(#624) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#624) 'i' used outside of binding context. (block-scoped-var)
(#624) 'i' used outside of binding context. (block-scoped-var)
(#625) 'i' used outside of binding context. (block-scoped-var)
(#625) 'i' used outside of binding context. (block-scoped-var)
(#626) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#626) 'i' used outside of binding context. (block-scoped-var)
(#626) 'i' used outside of binding context. (block-scoped-var)
(#627) 'i' used outside of binding context. (block-scoped-var)
(#627) 'i' used outside of binding context. (block-scoped-var)
(#631) 'i' used outside of binding context. (block-scoped-var)
(#631) 'i' used outside of binding context. (block-scoped-var)
(#639) Expected space(s) after "for". (keyword-spacing)
(#639) 'i' is already defined. (no-redeclare)
(#639) 'i' used outside of binding context. (block-scoped-var)
(#639) 'i' used outside of binding context. (block-scoped-var)
(#639) 'i' used outside of binding context. (block-scoped-var)
(#639) 'i' used outside of binding context. (block-scoped-var)
(#639) 'i' used outside of binding context. (block-scoped-var)
(#639) 'i' used outside of binding context. (block-scoped-var)
(#640) 'i' used outside of binding context. (block-scoped-var)
(#640) 'i' used outside of binding context. (block-scoped-var)
(#655) Identifier 'audio_players' is not in camel case. (camelcase)
(#658) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#660) 'jsurl' used outside of binding context. (block-scoped-var)
(#662) This line has a length of 133. Maximum allowed is 132. (max-len)
(#662) 'jsurl' is already defined. (no-redeclare)
(#662) 'jsurl' used outside of binding context. (block-scoped-var)
(#665) A space is required after ','. (comma-spacing)
(#666) 'jsurl' used outside of binding context. (block-scoped-var)
(#666) 'jsurl' used outside of binding context. (block-scoped-var)
(#667) Identifier 'embed_function' is not in camel case. (camelcase)
(#668) Identifier 'embed_function' is not in camel case. (camelcase)
(#675) Identifier 'setup_sample_link' is not in camel case. (camelcase)
(#675) Extra space after key 'setup_sample_link'. (key-spacing)
(#677) Extra space after key 'title'. (key-spacing)
(#677) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#678) Extra space after key 'question'. (key-spacing)
(#679) Extra space after key 'yesLabel'. (key-spacing)
(#679) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#680) Extra space after key 'noLabel'. (key-spacing)
(#680) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#681) Extra space after key 'closeButtonTitle'. (key-spacing)
(#681) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#694) Extra space after key 'sesskey'. (key-spacing)
(#695) Extra space after key 'm'. (key-spacing)
(#696) Extra space after key 'class'. (key-spacing)
(#697) Extra space after key 'id'. (key-spacing)
(#698) Extra space after key 'action'. (key-spacing)
(#711) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#715) 'responsetext' used outside of binding context. (block-scoped-var)
(#720) Extra space after key 'failure'. (key-spacing)
(#720) Unexpected empty method 'failure'. (no-empty-function)
(#734) Extra space after key 'sesskey'. (key-spacing)
(#735) Extra space after key 'm'. (key-spacing)
(#736) Extra space after key 'class'. (key-spacing)
(#737) Extra space after key 'id'. (key-spacing)
(#738) Extra space after key 'action'. (key-spacing)
(#739) Extra space after key 'data[]'. (key-spacing)
(#752) Extra space after key 'failure'. (key-spacing)
(#752) Unexpected empty method 'failure'. (no-empty-function)
(#766) Identifier 'watch_resize' is not in camel case. (camelcase)
mod/mediagallery/yui/src/base/js/dragdrop.js
(#1) Identifier 'mod_mediagallery' is not in camel case. (camelcase)
(#4) Extra space after key 'CSS'. (key-spacing)
(#5) Extra space after key 'CONTAINER'. (key-spacing)
(#6) Extra space after key 'ITEMS'. (key-spacing)
(#7) Extra space after key 'CONTROLCONTAINER'. (key-spacing)
(#8) Extra space after key 'HANDLE'. (key-spacing)
(#9) Extra space after key 'HANDLELINK'. (key-spacing)
(#12) Extra space after key 'init'. (key-spacing)
(#19) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#19) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#25) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#122) Extra space after key 'save'. (key-spacing)
(#125) Extra space after key 'sesskey'. (key-spacing)
(#126) Extra space after key 'data'. (key-spacing)
(#127) Extra space after key 'class'. (key-spacing)
(#128) Extra space after key 'm'. (key-spacing)
(#129) Extra space after key 'id'. (key-spacing)
(#130) Extra space after key 'action'. (key-spacing)
mod/mediagallery/yui/src/mediabox/js/mediabox.js
(#23) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#24) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#27) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#28) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#29) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#72) Expected to return a value at the end of function. (consistent-return)
(#103) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#130) Extra space after key 'success'. (key-spacing)
(#130) Unexpected space before function parentheses. (space-before-function-paren)
(#140) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#212) Extra space after key 'changeitem'. (key-spacing)
(#256) Extra space after key 'success'. (key-spacing)
(#256) Unexpected space before function parentheses. (space-before-function-paren)
(#277) Identifier 'client_id' is not in camel case. (camelcase)
(#277) Extra space after key 'client_id'. (key-spacing)
(#278) Extra space after key 'contextid'. (key-spacing)
(#279) Extra space after key 'itemid'. (key-spacing)
(#280) Extra space after key 'component'. (key-spacing)
(#281) Extra space after key 'commentarea'. (key-spacing)
(#282) Extra space after key 'autostart'. (key-spacing)
(#292) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#294) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#330) Extra space after key 'disablenav'. (key-spacing)
(#334) Identifier 'embed_player' is not in camel case. (camelcase)
(#334) Extra space after key 'embed_player'. (key-spacing)
(#342) Extra space after key 'success'. (key-spacing)
(#342) Unexpected space before function parentheses. (space-before-function-paren)
(#358) Extra space after key 'enable'. (key-spacing)
(#368) Extra space after key 'enablenav'. (key-spacing)
(#375) Extra space after key 'keyboardaction'. (key-spacing)
(#395) Extra space after key 'repositionitem'. (key-spacing)
(#471) Extra space after key 'resizeoverlay'. (key-spacing)
(#471) Unexpected space before function parentheses. (space-before-function-paren)
(#478) Extra space after key 'sidebarwidth'. (key-spacing)
(#485) Extra space after key 'start'. (key-spacing)
(#511) Extra space after key 'setfullscreenimg'. (key-spacing)
(#522) Identifier 'setup_info_toggle' is not in camel case. (camelcase)
(#522) Extra space after key 'setup_info_toggle'. (key-spacing)
(#554) Extra space after key 'stop'. (key-spacing)
(#564) Identifier 'update_likes' is not in camel case. (camelcase)
(#564) Extra space after key 'update_likes'. (key-spacing)
(#568) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#571) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#575) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#577) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#584) Extra space after key 'NAME'. (key-spacing)
(#585) Extra space after key 'ATTRS'. (key-spacing)
(#587) Extra space after key 'value'. (key-spacing)
(#593) Extra space after key 'value'. (key-spacing)
(#599) Extra space after key 'value'. (key-spacing)
(#605) Extra space after key 'value'. (key-spacing)
(#619) Identifier 'mod_mediagallery' is not in camel case. (camelcase)
(#620) Identifier 'init_mediabox' is not in camel case. (camelcase)

CSS problems

(65 errors, 22 warnings)

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

mod/mediagallery/styles.css
(#710) Invalid value for `background-image` (csstree/validator)
(#206) Expected "#00CB00" to be "#00cb00" (color-hex-case)
(#210) Expected "#CB0000" to be "#cb0000" (color-hex-case)
(#241) Expected "#FFF" to be "#fff" (color-hex-case)
(#403) Expected "#4E443C" to be "#4e443c" (color-hex-case)
(#411) Expected "#F0EFE7" to be "#f0efe7" (color-hex-case)
(#412) Expected "#F0EFE7" to be "#f0efe7" (color-hex-case)
(#413) Expected "#F0EFE7" to be "#f0efe7" (color-hex-case)
(#454) Expected "#4E443C" to be "#4e443c" (color-hex-case)
(#461) Expected "#4E443C" to be "#4e443c" (color-hex-case)
(#462) Expected "#4E443C" to be "#4e443c" (color-hex-case)
(#463) Expected "#4E443C" to be "#4e443c" (color-hex-case)
(#467) Expected "#4E443C" to be "#4e443c" (color-hex-case)
(#471) Expected "#F0EFE7" to be "#f0efe7" (color-hex-case)
(#472) Expected "#F0EFE7" to be "#f0efe7" (color-hex-case)
(#473) Expected "#F0EFE7" to be "#f0efe7" (color-hex-case)
(#563) Expected "#FFF" to be "#fff" (color-hex-case)
(#79) Unexpected duplicate "width" (declaration-block-no-duplicate-properties)
(#709) Unexpected duplicate "background-image" (declaration-block-no-duplicate-properties)
(#710) Unexpected duplicate "background-image" (declaration-block-no-duplicate-properties)
(#711) Unexpected duplicate "background-image" (declaration-block-no-duplicate-properties)
(#709) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#710) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#711) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#100) Unexpected !important (declaration-no-important)
(#533) Unexpected !important (declaration-no-important)
(#547) Unexpected !important (declaration-no-important)
(#814) Unexpected !important (declaration-no-important)
(#815) Unexpected !important (declaration-no-important)
(#708) Expected single space after "," in a single-line function (function-comma-space-after)
(#708) Expected single space after "," in a single-line function (function-comma-space-after)
(#708) Expected single space after "," in a single-line function (function-comma-space-after)
(#708) Expected single space after "," in a single-line function (function-comma-space-after)
(#708) Expected single space after "," in a single-line function (function-comma-space-after)
(#708) Expected single space after "," in a single-line function (function-comma-space-after)
(#708) Expected single space after "," in a single-line function (function-comma-space-after)
(#708) Expected single space after "," in a single-line function (function-comma-space-after)
(#708) Expected single space after "," in a single-line function (function-comma-space-after)
(#709) Expected single space after "," in a single-line function (function-comma-space-after)
(#709) Expected single space after "," in a single-line function (function-comma-space-after)
(#709) Expected single space after "," in a single-line function (function-comma-space-after)
(#709) Expected single space after "," in a single-line function (function-comma-space-after)
(#709) Expected single space after "," in a single-line function (function-comma-space-after)
(#709) Expected single space after "," in a single-line function (function-comma-space-after)
(#709) Expected single space after "," in a single-line function (function-comma-space-after)
(#709) Expected single space after "," in a single-line function (function-comma-space-after)
(#709) Expected single space after "," in a single-line function (function-comma-space-after)
(#710) Expected single space after "," in a single-line function (function-comma-space-after)
(#710) Expected single space after "," in a single-line function (function-comma-space-after)
(#710) Expected single space after "," in a single-line function (function-comma-space-after)
(#710) Expected single space after "," in a single-line function (function-comma-space-after)
(#710) Expected single space after "," in a single-line function (function-comma-space-after)
(#710) Expected single space after "," in a single-line function (function-comma-space-after)
(#710) Expected single space after "," in a single-line function (function-comma-space-after)
(#710) Expected single space after "," in a single-line function (function-comma-space-after)
(#710) Expected single space after "," in a single-line function (function-comma-space-after)
(#711) Expected single space after "," in a single-line function (function-comma-space-after)
(#711) Expected single space after "," in a single-line function (function-comma-space-after)
(#711) Expected single space after "," in a single-line function (function-comma-space-after)
(#711) Expected single space after "," in a single-line function (function-comma-space-after)
(#711) Expected single space after "," in a single-line function (function-comma-space-after)
(#711) Expected single space after "," in a single-line function (function-comma-space-after)
(#711) Expected single space after "," in a single-line function (function-comma-space-after)
(#711) Expected single space after "," in a single-line function (function-comma-space-after)
(#711) Expected single space after "," in a single-line function (function-comma-space-after)
(#810) Expected single space after "," in a single-line function (function-comma-space-after)
(#810) Expected single space after "," in a single-line function (function-comma-space-after)
(#810) Expected single space after "," in a single-line function (function-comma-space-after)
(#13) Unexpected unit (length-zero-no-unit)
(#62) Unexpected unit (length-zero-no-unit)
(#63) Unexpected unit (length-zero-no-unit)
(#198) Unexpected unit (length-zero-no-unit)
(#609) Unexpected unit (length-zero-no-unit)
(#721) Unexpected unit (length-zero-no-unit)
(#599) Expected no more than 2 empty lines (max-empty-lines)
(#736) Expected single space after "," in a single-line list (value-list-comma-space-after)
(#736) Expected single space after "," in a single-line list (value-list-comma-space-after)
(#736) Expected single space after "," in a single-line list (value-list-comma-space-after)
(#736) Expected single space after "," in a single-line list (value-list-comma-space-after)
(#755) Expected single space after "," in a single-line list (value-list-comma-space-after)
(#755) Expected single space after "," in a single-line list (value-list-comma-space-after)
(#755) Expected single space after "," in a single-line list (value-list-comma-space-after)
(#755) Expected single space after "," in a single-line list (value-list-comma-space-after)
(#339) Expected indentation of 4 spaces (indentation)
(#340) Expected indentation of 4 spaces (indentation)
(#342) Expected indentation of 4 spaces (indentation)
(#343) Expected indentation of 4 spaces (indentation)

PHPDocs style problems

(159 errors, 112 warnings)

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

mod/mediagallery/backup/moodle2/backup_mediagallery_activity_task.class.php
(#30) No one-line description found in phpdocs for class backup_mediagallery_activity_task
mod/mediagallery/backup/moodle2/backup_mediagallery_stepslib.php
(#33) Function backup_mediagallery_activity_structure_step::define_structure is not documented
mod/mediagallery/backup/moodle2/restore_mediagallery_activity_task.class.php
(#30) No one-line description found in phpdocs for class restore_mediagallery_activity_task
(#76) 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)]}
(#78) 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)]}
(#92) 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)]}
(#94) 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/mediagallery/backup/moodle2/restore_mediagallery_stepslib.php
(#37) Function restore_mediagallery_activity_structure_step::define_structure is not documented
(#65) Function restore_mediagallery_activity_structure_step::process_mediagallery is not documented
(#87) Function restore_mediagallery_activity_structure_step::process_mediagallery_userfeedback is not documented
(#98) Function restore_mediagallery_activity_structure_step::process_mediagallery_gallery is not documented
(#114) Function restore_mediagallery_activity_structure_step::process_mediagallery_item is not documented
(#130) Function restore_mediagallery_activity_structure_step::process_mediagallery_ctag is not documented
(#145) Function restore_mediagallery_activity_structure_step::process_mediagallery_gtag is not documented
(#161) Function restore_mediagallery_activity_structure_step::process_mediagallery_itag is not documented
(#177) Function restore_mediagallery_activity_structure_step::after_execute is not documented
mod/mediagallery/classes/base.php
(#21) Class base is not documented
(#34) Function base::__construct is not documented
(#53) Function base::__get is not documented
(#60) Function base::__isset is not documented
(#82) Function base::delete is not documented
(#91) Function base::get_context is not documented
(#92) Function base::user_can_remove is not documented
(#113) Function base::set_tags is not documented
(#131) Function base::set_option is not documented
(#168) Function base::is_thebox_creator_or_agent is not documented
(#30) Variable base::$options is not documented
(#31) Variable base::$record is not documented
(#32) Variable base::$table is not documented
(#23) Constant base::POS_BOTTOM is not documented
(#24) Constant base::POS_TOP is not documented
(#25) Constant base::TYPE_AUDIO is not documented
(#26) Constant base::TYPE_IMAGE is not documented
(#27) Constant base::TYPE_VIDEO is not documented
(#28) Constant base::TYPE_ALL is not documented
(#64) Phpdocs for function base::create has incomplete parameters list
(#138) Phpdocs for function base::update has incomplete parameters list
(#97) Invalid phpdocs tag @returns used
(#106) Not recommended phpdocs tag @access used
(#194) Not recommended phpdocs tag @static used
(#195) Not recommended phpdocs tag @access used
(#21) Package is not specified for class base. It is also not specified in file-level phpdocs
mod/mediagallery/classes/collection.php
(#37) Function collection::__construct is not documented
(#65) Function collection::delete is not documented
(#109) Function collection::get_context is not documented
(#113) Function collection::get_my_galleries is not documented
(#235) Function collection::count_galleries is not documented
(#262) Function collection::get_public_galleries_by_contextid is not documented
(#299) Function collection::get_my_galleries_by_contextid is not documented
(#441) Function collection::was_deleted is not documented
(#445) Function collection::sync is not documented
(#494) Function collection::user_can_remove is not documented
(#547) Function collection::get_group_gallery_counts is not documented
(#27) Variable collection::$cm is not documented
(#28) Variable collection::$context is not documented
(#29) Variable collection::$options is not documented
(#32) Variable collection::$record is not documented
(#33) Variable collection::$submitted is not documented
(#34) Variable collection::$table is not documented
(#35) Variable collection::$deleted is not documented
(#21) No one-line description found in phpdocs for class collection
(#51) Phpdocs for function collection::create has incomplete parameters list
(#244) Phpdocs for function collection::get_galleries has incomplete parameters list
(#455) Phpdocs for function collection::get_userid_from_logs has incomplete parameters list
(#243) Not recommended phpdocs tag @access used
(#348) Not recommended phpdocs tag @access used
(#381) Not recommended phpdocs tag @access used
(#400) Not recommended phpdocs tag @access used
(#413) Not recommended phpdocs tag @access used
(#457) Not recommended phpdocs tag @access used
(#511) Not recommended phpdocs tag @access used
(#21) Package is not specified for class collection. It is also not specified in file-level phpdocs
mod/mediagallery/classes/event/collection_deleted.php
(#55) Function collection_deleted::get_description is not documented
(#60) Function collection_deleted::get_name is not documented
mod/mediagallery/classes/event/gallery_created.php
(#55) Function gallery_created::get_description is not documented
(#60) Function gallery_created::get_name is not documented
mod/mediagallery/classes/event/gallery_updated.php
(#55) Function gallery_updated::get_description is not documented
(#60) Function gallery_updated::get_name is not documented
mod/mediagallery/classes/event/gallery_viewed.php
(#55) Function gallery_viewed::get_description is not documented
(#60) Function gallery_viewed::get_name is not documented
mod/mediagallery/classes/event/item_created.php
(#55) Function item_created::get_description is not documented
(#60) Function item_created::get_name is not documented
mod/mediagallery/classes/event/item_deleted.php
(#55) Function item_deleted::get_description is not documented
(#60) Function item_deleted::get_name is not documented
mod/mediagallery/classes/event/item_updated.php
(#55) Function item_updated::get_description is not documented
(#60) Function item_updated::get_name is not documented
mod/mediagallery/classes/export_form.php
(#32) Class export_form is not documented
mod/mediagallery/classes/file_info.php
(#113) Phpdocs for function mod_mediagallery_file_info::get_filtered_children has incomplete parameters list
(#145) Phpdocs for function mod_mediagallery_file_info::get_non_empty_children has incomplete parameters list
(#156) Phpdocs for function mod_mediagallery_file_info::count_non_empty_children has incomplete parameters list
mod/mediagallery/classes/file_info_area_gallery.php
(#38) Function mod_mediagallery_file_info_area_gallery::__construct is not documented
(#36) Variable mod_mediagallery_file_info_area_gallery::$gallery is not documented
(#68) Phpdocs for function mod_mediagallery_file_info_area_gallery::get_non_empty_children has incomplete parameters list
mod/mediagallery/classes/form/search.php
(#23) Class search is not documented
(#24) Function search::definition is not documented
(#23) Package is not specified for class search. It is also not specified in file-level phpdocs
mod/mediagallery/classes/gallery.php
(#23) Class gallery is not documented
(#33) Function gallery::__construct is not documented
(#41) Function gallery::can_comment is not documented
(#51) Function gallery::can_like is not documented
(#59) Function gallery::copy is not documented
(#87) Function gallery::create is not documented
(#112) Function gallery::delete is not documented
(#174) Function gallery::get_collection is not documented
(#181) Function gallery::get_context is not documented
(#211) Function gallery::get_items is not documented
(#300) Function gallery::get_metainfo is not documented
(#305) Function gallery::has_items is not documented
(#343) Function gallery::moral_rights_asserted is not documented
(#360) Function gallery::sync is not documented
(#364) Function gallery::update_sortorder is not documented
(#401) Function gallery::user_can_contribute is not documented
(#458) Function gallery::user_can_remove is not documented
(#472) Function gallery::user_can_view is not documented
(#28) Variable gallery::$collection is not documented
(#29) Variable gallery::$context is not documented
(#30) Variable gallery::$items is not documented
(#31) Variable gallery::$table is not documented
(#25) Constant gallery::VIEW_CAROUSEL is not documented
(#26) Constant gallery::VIEW_GRID is not documented
(#137) There is no description in phpdocs for function download_items
(#138) Phpdocs for function gallery::download_items has incomplete parameters list
(#420) Phpdocs for function gallery::user_can_edit has incomplete parameters list
(#23) Package is not specified for class gallery. It is also not specified in file-level phpdocs
mod/mediagallery/classes/imagehelper.php
(#21) Class imagehelper is not documented
(#47) Function imagehelper::mirror is not documented
(#28) Not recommended phpdocs tag @static used
(#29) Not recommended phpdocs tag @access used
(#21) Package is not specified for class imagehelper. It is also not specified in file-level phpdocs
mod/mediagallery/classes/item.php
(#21) Class item is not documented
(#41) Function item::__construct is not documented
(#66) Function item::copy is not documented
(#98) Function item::create is not documented
(#131) Function item::create_from_archive is not documented
(#230) Function item::delete_all_by_gallery is not documented
(#258) Function item::generate_thumbnail is not documented
(#262) Function item::generate_image_by_type is not documented
(#307) Function item::get_image_resized is not documented
(#439) Function item::get_context is not documented
(#452) Function item::get_embed_url is not documented
(#469) Function item::get_file is not documented
(#484) Function item::get_stored_file_by_type is not documented
(#502) Function item::get_metainfo is not documented
(#520) Function item::get_structured_metainfo is not documented
(#576) Function item::get_youtube_videoid is not documented
(#591) Function item::get_source is not documented
(#601) Function item::get_image_url is not documented
(#643) Function item::get_box_url is not documented
(#647) Function item::get_image_url_by_type is not documented
(#704) Function item::get_like_count is not documented
(#713) Function item::get_socialinfo is not documented
(#750) Function item::get_userfeedback is not documented
(#755) Function item::file_icon is not documented
(#767) Function item::like is not documented
(#836) Function item::unlike is not documented
(#853) Function item::update is not documented
(#870) Function item::user_can_edit is not documented
(#896) Function item::user_can_remove is not documented
(#909) Function item::thebox_processed is not documented
(#23) Variable item::$context is not documented
(#24) Variable item::$gallery is not documented
(#25) Variable item::$table is not documented
(#26) Variable item::$tags is not documented
(#32) Variable item::$lowres is not documented
(#33) Variable item::$thumbnail is not documented
(#34) Variable item::$defaultvalues is not documented
(#202) Phpdocs for function item::delete has incomplete parameters list
(#28) Phpdocs for variable item::$file does not contain @var or incorrect
(#21) Package is not specified for class item. It is also not specified in file-level phpdocs
mod/mediagallery/classes/mcsearch.php
(#42) Function mcsearch::__construct is not documented
(#46) Function mcsearch::get_results is not documented
(#39) Variable mcsearch::$params is not documented
(#40) Variable mcsearch::$results is not documented
(#156) Not recommended phpdocs tag @access used
(#184) Not recommended phpdocs tag @access used
(#215) Not recommended phpdocs tag @access used
mod/mediagallery/classes/output/collection/renderable.php
(#21) Class renderable is not documented
(#44) Function renderable::__construct is not documented
(#23) Variable renderable::$collection is not documented
(#24) Variable renderable::$galleries is not documented
(#25) Variable renderable::$maxreached is not documented
(#26) Variable renderable::$normallycanadd is not documented
(#27) Variable renderable::$readonly is not documented
(#28) Variable renderable::$tags is not documented
(#29) Variable renderable::$timestamp is not documented
(#32) Variable renderable::$hassubmitted is not documented
(#33) Variable renderable::$isassessable is not documented
(#34) Variable renderable::$linkedassigncmid is not documented
(#35) Variable renderable::$submissionsopen is not documented
(#36) Variable renderable::$userorgrouphasgallery is not documented
(#39) Variable renderable::$id is not documented
(#40) Variable renderable::$mode is not documented
(#41) Variable renderable::$thumbnailsperpage is not documented
(#42) Variable renderable::$thumbnailsperrow is not documented
(#21) Package is not specified for class renderable. It is also not specified in file-level phpdocs
mod/mediagallery/classes/output/gallery/renderable.php
(#21) Class renderable is not documented
(#39) Function renderable::__construct is not documented
(#26) Variable renderable::$gallery is not documented
(#28) Variable renderable::$editing is not documented
(#29) Variable renderable::$page is not documented
(#30) Variable renderable::$mediasize is not documented
(#31) Variable renderable::$mediasizeclass is not documented
(#32) Variable renderable::$comments is not documented
(#33) Variable renderable::$syncstamp is not documented
(#34) Variable renderable::$options is not documented
(#35) Variable renderable::$nosample is not documented
(#36) Variable renderable::$focus is not documented
(#37) Variable renderable::$galleryview is not documented
(#22) Constant renderable::MEDIASIZE_SM is not documented
(#23) Constant renderable::MEDIASIZE_MD is not documented
(#24) Constant renderable::MEDIASIZE_LG is not documented
(#21) Package is not specified for class renderable. It is also not specified in file-level phpdocs
mod/mediagallery/classes/output/searchresults/renderable.php
(#21) Class renderable is not documented
(#29) Function renderable::__construct is not documented
(#23) Variable renderable::$results is not documented
(#24) Variable renderable::$pageurl is not documented
(#25) Variable renderable::$totalcount is not documented
(#26) Variable renderable::$page is not documented
(#27) Variable renderable::$perpage is not documented
(#21) Package is not specified for class renderable. It is also not specified in file-level phpdocs
mod/mediagallery/classes/privacy/provider.php
(#212) Function provider::export_gallery_data is not documented
(#246) Function provider::export_all_items is not documented
(#430) Function provider::export_user_preferences is not documented
(#533) Function provider::get_mediagallery_id_from_context is not documented
(#273) Phpdocs for function provider::export_all_items_in_gallery has incomplete parameters list
(#17) File-level phpdocs block does not have @copyright tag
mod/mediagallery/classes/privacy/subcontext_info.php
(#70) Phpdocs for function subcontext_info::get_item_area has incomplete parameters list
mod/mediagallery/classes/quickform/limitedurl.php
(#21) Class MoodleQuickForm_limitedurl is not documented
(#23) Variable MoodleQuickForm_limitedurl::$_helpbutton is not documented
(#26) Variable MoodleQuickForm_limitedurl::$_hiddenLabel is not documented
(#21) Package is not specified for class MoodleQuickForm_limitedurl. It is also not specified in file-level phpdocs
mod/mediagallery/classes/quickform/uploader.php
(#21) Class MoodleQuickForm_uploader is not documented
(#27) Function MoodleQuickForm_uploader::__construct is not documented
(#47) Function MoodleQuickForm_uploader::toHtml is not documented
(#23) Variable MoodleQuickForm_uploader::$_helpbutton is not documented
(#25) Variable MoodleQuickForm_uploader::$repo is not documented
(#21) Package is not specified for class MoodleQuickForm_uploader. It is also not specified in file-level phpdocs
mod/mediagallery/classes/quickform/uploader_standard.php
(#21) Class MoodleQuickForm_uploader_standard is not documented
(#27) Function MoodleQuickForm_uploader_standard::toHtml is not documented
(#23) Variable MoodleQuickForm_uploader_standard::$_helpbutton is not documented
(#25) Variable MoodleQuickForm_uploader_standard::$repo is not documented
(#21) Package is not specified for class MoodleQuickForm_uploader_standard. It is also not specified in file-level phpdocs
mod/mediagallery/classes/search_form.php
(#30) Class search_form is not documented
mod/mediagallery/classes/viewcontroller.php
(#22) Class viewcontroller is not documented
(#33) Function viewcontroller::__construct is not documented
(#45) Function viewcontroller::header is not documented
(#75) Function viewcontroller::action_search is not documented
(#113) Function viewcontroller::action_viewcollection is not documented
(#137) Function viewcontroller::action_viewgallery is not documented
(#24) Variable viewcontroller::$cm is not documented
(#25) Variable viewcontroller::$context is not documented
(#26) Variable viewcontroller::$course is not documented
(#27) Variable viewcontroller::$collection is not documented
(#28) Variable viewcontroller::$gallery is not documented
(#29) Variable viewcontroller::$options is not documented
(#30) Variable viewcontroller::$pageurl is not documented
(#31) Variable viewcontroller::$renderer is not documented
(#53) Not recommended phpdocs tag @access used
(#22) Package is not specified for class viewcontroller. It is also not specified in file-level phpdocs
mod/mediagallery/db/install.php
(#17) No one-line description found in phpdocs for file
mod/mediagallery/db/log.php
(#24) Package mod is not valid
mod/mediagallery/db/tag.php
(#17) File-level phpdocs block does not have @copyright tag
mod/mediagallery/db/upgrade.php
(#17) No one-line description found in phpdocs for file
mod/mediagallery/export.php
(#17) No one-line description found in phpdocs for file
mod/mediagallery/lib.php
(#236) Inline phpdocs tag {@link mediagallery_print_recent_mod_activity()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#348) 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/mediagallery/tests/privacy_test.php
(#53) Function mod_mediagallery_privacy_testcase::create_users is not documented
(#61) Function mod_mediagallery_privacy_testcase::create_gallery is not documented
(#72) Function mod_mediagallery_privacy_testcase::create_item is not documented
(#235) Phpdocs for function mod_mediagallery_privacy_testcase::create_userfeedback has incomplete parameters list
(#17) File-level phpdocs block 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 "gherkinlint" 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]


Gherkin .feature problems

(4 errors, 0 warnings)

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

mod/mediagallery/tests/behat/add_mediagallery.feature
(#69) Wrong indentation for "given", expected indentation level of 4, but got 3
(#70) Wrong indentation for "and", expected indentation level of 4, but got 3
(#71) Wrong indentation for "and", expected indentation level of 4, but got 3
(#72) Wrong indentation for "Step", expected indentation level of 4, but got 3