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

(26 errors, 52 warnings)

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

mod/hvp/backup/moodle2/backup_hvp_activity_task.class.php
(#71) The static declaration must come after the visibility declaration
mod/hvp/backup/moodle2/restore_hvp_activity_task.class.php
(#60) The static declaration must come after the visibility declaration
(#72) The static declaration must come after the visibility declaration
(#88) The static declaration must come after the visibility declaration
(#108) The static declaration must come after the visibility declaration
mod/hvp/classes/admin_setting_html.php
(#17) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#30) Line exceeds 132 characters; contains 145 characters
(#71) Line indented incorrectly; expected at least 12 spaces, found 10
(#76) File must end with a newline character
mod/hvp/classes/content_hub_service.php
(#21) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/hvp/classes/content_user_data.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/hvp/classes/curl.php
(#30) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/hvp/classes/editor_ajax.php
(#149) Public method name "editor_ajax::getTranslations" must be in lower-case letters only
(#149) Variable "language_code" must not contain underscores.
(#155) Variable "parsedLib" must be all lower-case
(#167) Variable "parsedLib" must be all lower-case
(#168) Variable "parsedLib" must be all lower-case
(#169) Variable "parsedLib" must be all lower-case
(#170) Variable "language_code" must not contain underscores.
mod/hvp/classes/editor_framework.php
(#176) Line indented incorrectly; expected at least 16 spaces, found 15
(#331) Public method name "editor_framework::getAvailableLanguages" must be in lower-case letters only
(#331) Variable "machineName" must be all lower-case
(#331) Variable "majorVersion" must be all lower-case
(#331) Variable "minorVersion" must be all lower-case
(#343) Variable "machineName" must be all lower-case
(#344) Variable "majorVersion" must be all lower-case
(#345) Variable "minorVersion" must be all lower-case
mod/hvp/classes/event.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/hvp/classes/event/attempt_submitted.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#37) Opening brace should be on the same line as the declaration for class attempt_submitted
mod/hvp/classes/event/course_module_instance_list_viewed.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#37) Opening brace should be on the same line as the declaration for class course_module_instance_list_viewed
mod/hvp/classes/event/course_module_viewed.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#37) Opening brace should be on the same line as the declaration for class course_module_viewed
mod/hvp/classes/mobile_auth.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/hvp/classes/output/mobile.php
(#19) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#50) 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
mod/hvp/classes/privacy/provider.php
(#31) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#52) Method name "_get_metadata" should not be prefixed with an underscore to indicate visibility
(#120) Method name "_get_contexts_for_userid" should not be prefixed with an underscore to indicate visibility
(#179) Method name "_export_user_data" should not be prefixed with an underscore to indicate visibility
(#382) Method name "_delete_data_for_all_users_in_context" should not be prefixed with an underscore to indicate visibility
(#414) Method name "_delete_data_for_user" should not be prefixed with an underscore to indicate visibility
mod/hvp/classes/results.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/hvp/classes/task/look_for_updates.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/hvp/classes/task/remove_old_auth_tokens.php
(#29) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/hvp/classes/task/remove_old_log_entries.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/hvp/classes/task/remove_tmpfiles.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/hvp/classes/view_assets.php
(#29) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#345) 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/hvp/classes/xapi_result.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/hvp/content_hub_registration.php
(#54) File must end with a newline character
mod/hvp/db/install.php
(#17) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/hvp/db/upgrade.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#544) Line exceeds 132 characters; contains 135 characters
mod/hvp/embed.php
(#45) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#49) 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/hvp/grade.php
(#33) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#36) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#56) 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/hvp/index.php
(#36) 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/hvp/renderer.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/hvp/review.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
(#56) 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/hvp/share.php
(#33) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#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
(#63) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#66) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#90) Line exceeds 132 characters; contains 137 characters
(#90) Line exceeds 132 characters; contains 137 characters
(#90) Line exceeds 132 characters; contains 137 characters
(#90) Line exceeds 132 characters; contains 137 characters
mod/hvp/view.php
(#33) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#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
(#74) Line exceeds 132 characters; contains 147 characters

Javascript coding style problems

(4 errors, 2 warnings)

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

mod/hvp/amd/src/contenthubregistration.js
(#1) Unexpected space before function parentheses. (space-before-function-paren)
(#3) Unexpected space before function parentheses. (space-before-function-paren)
(#5) 'H5PSettings' is not defined. (no-undef)
(#7) 'H5PHub' is not defined. (no-undef)
mod/hvp/editor.js
(#26) Parsing error: The keyword 'const' is reserved
mod/hvp/xapi-collector.js
(#62) Parsing error: Unexpected token iFrames

CSS problems

(14 errors, 11 warnings)

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

mod/hvp/styles.css
(#2) Expected "#E5E5E5" to be "#e5e5e5" (color-hex-case)
(#19) Expected "#32373C" to be "#32373c" (color-hex-case)
(#26) Expected "#E1E1E1" to be "#e1e1e1" (color-hex-case)
(#30) Expected "#E1E1E1" to be "#e1e1e1" (color-hex-case)
(#35) Expected "#F9F9F9" to be "#f9f9f9" (color-hex-case)
(#85) Expected indentation of 4 spaces (indentation)
mod/hvp/view.css
(#74) Expected empty line before at-rule (at-rule-empty-line-before)
(#75) Expected newline before "}" (block-closing-brace-newline-before)
(#76) Expected newline before "}" (block-closing-brace-newline-before)
(#75) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#76) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#75) Expected newline after "{" (block-opening-brace-newline-after)
(#76) Expected newline after "{" (block-opening-brace-newline-after)
(#75) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#76) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#21) Expected "#333333" to be "#333" (color-hex-length)
(#2) Expected single space before "!" (declaration-bang-space-before)
(#75) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#76) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#2) Unexpected !important (declaration-no-important)
mod/hvp/xapi-custom-report.css
(#2) Expected "#FFF" to be "#fff" (color-hex-case)
(#3) Expected "#C9C9C9" to be "#c9c9c9" (color-hex-case)
(#5) Expected "#5C5C5C" to be "#5c5c5c" (color-hex-case)
(#35) Expected "#F3F3F3" to be "#f3f3f3" (color-hex-case)
(#36) Expected "#DFDFDF" to be "#dfdfdf" (color-hex-case)

PHPDocs style problems

(252 errors, 4 warnings)

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

mod/hvp/backup/moodle2/restore_hvp_activity_task.class.php
(#84) Inline phpdocs tag {@link restore_logs_processor} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#86) Inline phpdocs tag {@link restore_log_rule} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#100) Inline phpdocs tag {@link restore_logs_processor} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#102) Inline phpdocs tag {@link restore_log_rule} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
mod/hvp/backup/moodle2/restore_hvp_stepslib.php
(#61) Phpdocs for function restore_hvp_activity_structure_step::process_hvp has incomplete parameters list
(#85) Phpdocs for function restore_hvp_activity_structure_step::process_content_user_data has incomplete parameters list
(#185) Phpdocs for function restore_hvp_libraries_structure_step::process_hvp_library has incomplete parameters list
(#220) Phpdocs for function restore_hvp_libraries_structure_step::process_hvp_library_translation has incomplete parameters list
(#249) Phpdocs for function restore_hvp_libraries_structure_step::process_hvp_library_dependency has incomplete parameters list
(#297) Phpdocs for function restore_hvp_libraries_structure_step::get_library_id has incomplete parameters list
(#336) Phpdocs for function restore_hvp_libraries_structure_step::update_missing_dependencies has incomplete parameters list
mod/hvp/classes/admin_setting_html.php
(#19) Package is not specified for class admin_setting_html. It is also not specified in file-level phpdocs
(#25) Variable admin_setting_html::$hubinfo is not documented
(#19) No one-line description found in phpdocs for class admin_setting_html
(#30) Phpdocs for function admin_setting_html::__construct has incomplete parameters list
(#54) Phpdocs for function admin_setting_html::write_setting has incomplete parameters list
(#63) Phpdocs for function admin_setting_html::output_html has incomplete parameters list
mod/hvp/classes/content_user_data.php
(#75) Phpdocs for function content_user_data::store_data has incomplete parameters list
(#125) Phpdocs for function content_user_data::fetch_existing_data has incomplete parameters list
(#140) Phpdocs for function content_user_data::get_user_data has incomplete parameters list
(#164) Phpdocs for function content_user_data::save_user_data has incomplete parameters list
(#210) Phpdocs for function content_user_data::delete_user_data has incomplete parameters list
(#230) Phpdocs for function content_user_data::load_pre_loaded_user_data has incomplete parameters list
mod/hvp/classes/curl.php
(#41) There is no description in phpdocs for function post
(#50) There is no description in phpdocs for function put
(#41) Phpdocs for function curl::post has incomplete parameters list
(#50) Phpdocs for function curl::put has incomplete parameters list
(#42) Invalid phpdocs tag @inheritdoc used
(#51) Invalid phpdocs tag @inheritdoc used
mod/hvp/classes/editor_ajax.php
(#49) Function editor_ajax::getLatestLibraryVersions is not documented
(#87) Function editor_ajax::getContentTypeCache is not documented
(#109) Function editor_ajax::getAuthorsRecentlyUsedLibraries is not documented
(#136) Function editor_ajax::validateEditorToken is not documented
(#31) No one-line description found in phpdocs for class editor_ajax
mod/hvp/classes/editor_framework.php
(#55) Function editor_framework::getLanguage is not documented
(#83) Function editor_framework::keepFile is not documented
(#106) Function editor_framework::getLibraries is not documented
(#220) Function editor_framework::alterLibraryFiles is not documented
(#254) Function editor_framework::saveFileTemporarily is not documented
(#293) Function editor_framework::markFileForCleanup is not documented
(#313) Function editor_framework::removeTemporarilySavedFiles is not documented
(#33) No one-line description found in phpdocs for class editor_framework
mod/hvp/classes/event.php
(#29) Class event is not documented
(#66) Function event::saveStats is not documented
(#30) Variable event::$user is not documented
(#17) No one-line description found in phpdocs for file
(#32) There is no description in phpdocs for function __construct
(#32) Phpdocs for function event::__construct has incomplete parameters list
(#33) Invalid phpdocs tag @inheritdoc used
(#63) Invalid phpdocs tag @inheritdoc used
mod/hvp/classes/event/attempt_submitted.php
(#39) There is no description in phpdocs for function init
(#40) Invalid phpdocs tag @inheritDoc used
(#33) Invalid inline phpdocs tag @copyright found
mod/hvp/classes/event/course_module_instance_list_viewed.php
(#21) Invalid inline phpdocs tag @copyright found
(#33) Invalid inline phpdocs tag @copyright found
mod/hvp/classes/event/course_module_viewed.php
(#21) Invalid inline phpdocs tag @copyright found
(#33) Invalid inline phpdocs tag @copyright found
mod/hvp/classes/file_storage.php
(#49) Function file_storage::saveLibrary is not documented
(#76) Function file_storage::saveContent is not documented
(#101) Function file_storage::deleteContent is not documented
(#110) Function file_storage::cloneContent is not documented
(#120) Function file_storage::getTmpPath is not documented
(#135) Function file_storage::exportContent is not documented
(#150) Function file_storage::exportLibrary is not documented
(#165) Function file_storage::saveExport is not documented
(#194) Function file_storage::getExportFile is not documented
(#209) Function file_storage::deleteExport is not documented
(#224) Function file_storage::hasExport is not documented
(#238) Function file_storage::cacheAssets is not documented
(#301) Function file_storage::getCachedAssets is not documented
(#333) Function file_storage::deleteCachedAssets is not documented
(#351) Function file_storage::getContent is not documented
(#382) Function file_storage::saveFile is not documented
(#419) Function file_storage::cloneContentFile is not documented
(#470) Function file_storage::getContentFile is not documented
(#483) Function file_storage::removeContentFile is not documented
(#500) Function file_storage::readFileTree is not documented
(#539) Function file_storage::exportFileTree is not documented
(#575) Function file_storage::deleteFileTree is not documented
(#606) Function file_storage::getFile is not documented
(#633) Function file_storage::getFilepath is not documented
(#644) Function file_storage::getFilename is not documented
(#658) Function file_storage::fileExists is not documented
(#671) Function file_storage::hasWriteAccess is not documented
(#697) Function file_storage::moveContentDirectory is not documented
(#744) Function file_storage::moveFile is not documented
(#806) Function file_storage::moveFileTree is not documented
(#834) Function file_storage::hasPresave is not documented
(#848) Function file_storage::getUpgradeScript is not documented
(#871) Function file_storage::saveFileFromZip is not documented
(#37) Invalid phpdocs tag @SuppressWarnings(PHPMD.TooManyPublicMethods) used
(#38) Invalid phpdocs tag @SuppressWarnings(PHPMD.ExcessiveClassComplexity) used
(#107) Invalid phpdocs tag @inheritdoc used
(#348) Invalid phpdocs tag @inheritdoc used
(#651) Not recommended phpdocs tag @method used
mod/hvp/classes/framework.php
(#153) Function framework::getPlatformInfo is not documented
(#167) Function framework::fetchExternalData is not documented
(#284) Function framework::setLibraryTutorialUrl is not documented
(#297) Function framework::setErrorMessage is not documented
(#307) Function framework::setInfoMessage is not documented
(#354) Function framework::printMessages is not documented
(#366) Function framework::getMessages is not documented
(#685) Function framework::getH5pPath is not documented
(#695) Function framework::getLibraryFileUrl is not documented
(#705) Function framework::getUploadedH5pFolderPath is not documented
(#723) Function framework::getUploadedH5pPath is not documented
(#737) Function framework::loadLibraries is not documented
(#758) Function framework::setUnsupportedLibraries is not documented
(#766) Function framework::getUnsupportedLibraries is not documented
(#774) Function framework::getAdminUrl is not documented
(#782) Function framework::getLibraryId is not documented
(#821) Function framework::isPatchedLibrary is not documented
(#850) Function framework::isInDevMode is not documented
(#858) Function framework::mayUpdateLibraries is not documented
(#891) Function framework::getLibraryUsage is not documented
(#922) Function framework::getLibraryContentCount is not documented
(#953) Function framework::saveLibraryData is not documented
(#1052) Function framework::pathsToCsv is not documented
(#1067) Function framework::lockDependencyStorage is not documented
(#1075) Function framework::unlockDependencyStorage is not documented
(#1083) Function framework::deleteLibrary is not documented
(#1103) Function framework::saveLibraryDependencies is not documented
(#1127) Function framework::updateContent is not documented
(#1182) Function framework::insertContent is not documented
(#1190) Function framework::resetContentUserData is not documented
(#1205) Function framework::getWhitelist is not documented
(#1213) Function framework::copyLibraryUsage is not documented
(#1231) Function framework::loadLibrarySemantics is not documented
(#1249) Function framework::alterLibrarySemantics is not documented
(#1262) Function framework::loadContent is not documented
(#1367) Function framework::loadContentDependencies is not documented
(#1406) Function framework::getOption is not documented
(#1418) Function framework::setOption is not documented
(#1426) Function framework::updateContentFields is not documented
(#1443) Function framework::deleteLibraryDependencies is not documented
(#1453) Function framework::deleteContentData is not documented
(#1470) Function framework::deleteLibraryUsage is not documented
(#1480) Function framework::saveLibraryUsage is not documented
(#1507) Function framework::loadLibrary is not documented
(#1559) Function framework::clearFilteredParameters is not documented
(#1578) Function framework::getNumNotFiltered is not documented
(#1591) Function framework::getNumContent is not documented
(#1604) Function framework::isContentSlugAvailable is not documented
(#1614) Function framework::saveCachedAssets is not documented
(#1630) Function framework::deleteCachedAssets is not documented
(#1654) Function framework::getLibraryStats is not documented
(#1680) Function framework::getNumAuthors is not documented
(#1694) Function framework::afterExportCreated is not documented
(#1705) Function framework::hasPermission is not documented
(#1746) Function framework::replaceContentTypeCache is not documented
(#1782) Function framework::loadAddons is not documented
(#1819) Function framework::getLibraryConfig is not documented
(#1828) Function framework::libraryHasUpgrade is not documented
(#1854) Function framework::replaceContentHubMetadataCache is not documented
(#1881) Function framework::getContentHubMetadataCache is not documented
(#1896) Function framework::getContentHubMetadataChecked is not documented
(#1916) Function framework::setContentHubMetadataChecked is not documented
(#370) Phpdocs for function framework::t has incomplete parameters list
(#41) Invalid phpdocs tag @SuppressWarnings(PHPMD) used
(#164) Invalid phpdocs tag @inheritdoc used
(#755) Invalid phpdocs tag @inheritdoc used
(#779) Invalid phpdocs tag @inheritdoc used
(#1100) Invalid phpdocs tag @inheritdoc used
(#1124) Invalid phpdocs tag @inheritdoc used
(#1179) Invalid phpdocs tag @inheritdoc used
(#1187) Invalid phpdocs tag @inheritdoc used
(#1202) Invalid phpdocs tag @inheritdoc used
(#1210) Invalid phpdocs tag @inheritdoc used
(#1228) Invalid phpdocs tag @inheritdoc used
(#1246) Invalid phpdocs tag @inheritdoc used
(#1403) Invalid phpdocs tag @inheritdoc used
(#1477) Invalid phpdocs tag @inheritdoc used
(#1691) Invalid phpdocs tag @inheritdoc used
(#1851) Invalid phpdocs tag @inheritdoc used
(#1878) Invalid phpdocs tag @inheritdoc used
(#1893) Invalid phpdocs tag @inheritdoc used
(#1913) Invalid phpdocs tag @inheritdoc used
(#1699) Not recommended phpdocs tag @method used
(#673) Inline phpdocs tag not enclosed with curly brackets @see found
mod/hvp/classes/mobile_auth.php
(#29) Class mobile_auth is not documented
(#31) Constant mobile_auth::VALID_TIME is not documented
(#83) Phpdocs for function mobile_auth::has_valid_token has incomplete parameters list
mod/hvp/classes/output/mobile.php
(#24) Package is not specified for class mobile. It is also not specified in file-level phpdocs
(#24) Class mobile is not documented
(#26) Function mobile::mobile_course_view is not documented
mod/hvp/classes/privacy/provider.php
(#33) Package is not specified for class provider. It is also not specified in file-level phpdocs
(#220) Phpdocs for function provider::get_exportable_content_user_data has incomplete parameters list
(#266) Phpdocs for function provider::get_exportable_xapi_results has incomplete parameters list
(#347) Phpdocs for function provider::get_exportable_events has incomplete parameters list
(#17) File-level phpdocs block does not have @copyright tag
(#17) File-level phpdocs block does not have @license tag
mod/hvp/classes/results.php
(#39) Variable results::$contentid is not documented
(#42) Variable results::$offset is not documented
(#42) Variable results::$limit is not documented
(#42) Variable results::$orderby is not documented
(#42) Variable results::$orderdir is not documented
(#42) Variable results::$filters is not documented
(#119) Phpdocs for function results::get_human_readable_results has incomplete parameters list
(#371) Phpdocs for function results::get_sql_results has incomplete parameters list
mod/hvp/classes/task/look_for_updates.php
(#36) Function look_for_updates::get_name is not documented
(#40) Function look_for_updates::execute is not documented
mod/hvp/classes/task/remove_old_auth_tokens.php
(#39) Function remove_old_auth_tokens::get_name is not documented
(#43) Function remove_old_auth_tokens::execute is not documented
mod/hvp/classes/task/remove_old_log_entries.php
(#36) Function remove_old_log_entries::get_name is not documented
(#40) Function remove_old_log_entries::execute is not documented
mod/hvp/classes/task/remove_tmpfiles.php
(#36) Function remove_tmpfiles::get_name is not documented
(#40) Function remove_tmpfiles::execute is not documented
mod/hvp/classes/user_grades.php
(#36) Function user_grades::handle_ajax is not documented
mod/hvp/classes/view_assets.php
(#48) Function view_assets::__construct is not documented
(#245) Function view_assets::getcontent is not documented
(#37) Variable view_assets::$cm is not documented
(#38) Variable view_assets::$course is not documented
(#39) Variable view_assets::$core is not documented
(#40) Variable view_assets::$content is not documented
(#41) Variable view_assets::$jsrequires is not documented
(#42) Variable view_assets::$cssrequires is not documented
(#44) Variable view_assets::$settings is not documented
(#45) Variable view_assets::$embedtype is not documented
(#46) Variable view_assets::$files is not documented
(#119) Phpdocs for function view_assets::getexportsettings has incomplete parameters list
(#146) Phpdocs for function view_assets::getembedcode has incomplete parameters list
(#171) Phpdocs for function view_assets::getresizecode has incomplete parameters list
mod/hvp/db/install.php
(#19) Package is not specified for function xmldb_hvp_install. It is also not specified in file-level phpdocs
(#17) File-level phpdocs block is not found
(#19) Function xmldb_hvp_install is not documented
mod/hvp/db/mobile.php
(#17) File-level phpdocs block is not found
mod/hvp/db/upgrade.php
(#343) Function hvp_upgrade_2018090300 is not documented
(#484) Function hvp_upgrade_2020080400 is not documented
(#498) Function hvp_upgrade_2020080401 is not documented
(#510) Function hvp_upgrade_2020082800 is not documented
(#537) Function hvp_upgrade_2020112600 is not documented
mod/hvp/lang/en/hvp.php
(#17) File-level phpdocs block is not found
mod/hvp/lib.php
(#44) Inline phpdocs tag {@link plugin_supports()} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
mod/hvp/locallib.php
(#36) Phpdocs for function hvp_get_core_settings has incomplete parameters list
(#289) Phpdocs for function hvp_restrict_library has incomplete parameters list
(#304) Phpdocs for function hvp_content_upgrade_progress has incomplete parameters list
(#481) Phpdocs for function hvp_send_notification has incomplete parameters list
(#516) Phpdocs for function hvp_send_confirmation has incomplete parameters list
(#648) Phpdocs for function hvp_attempt_submitted_handler has incomplete parameters list
(#670) Phpdocs for function hvp_update_hub_status has incomplete parameters list
(#694) Phpdocs for function hvp_create_hub_export_url has incomplete parameters list
(#303) Not recommended phpdocs tag @method used
(#406) Not recommended phpdocs tag @method used
(#485) Inline phpdocs tag {@link message_send()} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#519) Inline phpdocs tag {@link message_send()} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
mod/hvp/mod_form.php
(#28) Class mod_hvp_mod_form is not documented
(#30) Function mod_hvp_mod_form::definition is not documented
(#173) Function mod_hvp_mod_form::data_preprocessing is not documented
(#436) Function mod_hvp_mod_form::add_completion_rules is not documented
(#126) Phpdocs for function mod_hvp_mod_form::set_display_options has incomplete parameters list
(#151) Phpdocs for function mod_hvp_mod_form::set_max_grade has incomplete parameters list
(#222) Phpdocs for function mod_hvp_mod_form::validate_upload has incomplete parameters list
(#273) Phpdocs for function mod_hvp_mod_form::validate_created has incomplete parameters list
mod/hvp/renderer.php
(#33) Invalid phpdocs tag @SuppressWarnings(PHPMD) used
mod/hvp/version.php
(#18) Package mod is not valid
(#17) No one-line description found in phpdocs for file

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, 2 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]

mod/hvp/db/upgrade.php
Database modifications (new tables or columns) detected in the patch without any change to some important areas.
No changes detected to external functions, that may affect apps and other web service integrations, please verify!

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

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

mod/hvp/templates/contact_site_administrator.mustache
(#1) Example context missing (@template section not found.)
mod/hvp/templates/content_hub_registration.mustache
(#1) Example context missing (@template section not found.)
mod/hvp/templates/content_hub_registration_box.mustache
(#1) Example context missing (@template section not found.)
mod/hvp/templates/hub_options.mustache
(#1) Example context missing (@template section not found.)
mod/hvp/templates/iframe_embedding_disabled.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 4: Attribute “core-link” not allowed on element “a” at this point. (dding" in <a href="/admin/settings.php?section=httpsecurity" core-link>Site A)
mod/hvp/templates/mobile_view_page.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 7: The “frameborder” attribute on the “iframe” element is obsolete. Use CSS instead. (te;"> <iframe src="/mod/hvp/embed.php?id=&user_id=&secret=" frameborder="0" allow="microphone; camera" allowfullscreen="allowfullscreen"> <)
mod/hvp/templates/review.mustache
(#1) Example context missing (@template section not found.)

Gherkin .feature problems

(0 errors, 0 warnings)

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