Prechecker results: error


PHP lint problems

(0 errors, 0 warnings)

This section shows php lint problems in the code detected by php -l [More info]


PHP coding style problems

(0 errors, 0 warnings)

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


CSS problems

(65 errors, 5 warnings)

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

mod/quiz/accessrule/quilgo/settings.css
(#6) Unexpected !important (declaration-no-important)
(#7) Unexpected !important (declaration-no-important)
(#11) Unexpected !important (declaration-no-important)
(#11) Unexpected unit (length-zero-no-unit)
(#2) Expected indentation of 4 spaces (indentation)
(#6) Expected indentation of 4 spaces (indentation)
(#7) Expected indentation of 4 spaces (indentation)
(#11) Expected indentation of 4 spaces (indentation)
mod/quiz/accessrule/quilgo/styles.css
(#42) Expected "#ffffff" to be "#fff" (color-hex-length)
(#2) Unexpected !important (declaration-no-important)
(#61) Unexpected !important (declaration-no-important)
(#81) Unexpected !important (declaration-no-important)
(#85) Unexpected !important (declaration-no-important)
(#20) Unexpected unit (length-zero-no-unit)
(#21) Unexpected unit (length-zero-no-unit)
(#22) Unexpected unit (length-zero-no-unit)
(#2) Expected indentation of 4 spaces (indentation)
(#6) Expected indentation of 4 spaces (indentation)
(#7) Expected indentation of 4 spaces (indentation)
(#8) Expected indentation of 4 spaces (indentation)
(#9) Expected indentation of 4 spaces (indentation)
(#10) Expected indentation of 4 spaces (indentation)
(#14) Expected indentation of 4 spaces (indentation)
(#15) Expected indentation of 4 spaces (indentation)
(#19) Expected indentation of 4 spaces (indentation)
(#20) Expected indentation of 4 spaces (indentation)
(#21) Expected indentation of 4 spaces (indentation)
(#22) Expected indentation of 4 spaces (indentation)
(#23) Expected indentation of 4 spaces (indentation)
(#24) Expected indentation of 4 spaces (indentation)
(#25) Expected indentation of 4 spaces (indentation)
(#26) Expected indentation of 4 spaces (indentation)
(#27) Expected indentation of 4 spaces (indentation)
(#28) Expected indentation of 4 spaces (indentation)
(#29) Expected indentation of 4 spaces (indentation)
(#33) Expected indentation of 4 spaces (indentation)
(#34) Expected indentation of 4 spaces (indentation)
(#35) Expected indentation of 4 spaces (indentation)
(#36) Expected indentation of 4 spaces (indentation)
(#37) Expected indentation of 4 spaces (indentation)
(#38) Expected indentation of 4 spaces (indentation)
(#39) Expected indentation of 4 spaces (indentation)
(#40) Expected indentation of 4 spaces (indentation)
(#41) Expected indentation of 4 spaces (indentation)
(#42) Expected indentation of 4 spaces (indentation)
(#43) Expected indentation of 4 spaces (indentation)
(#47) Expected indentation of 4 spaces (indentation)
(#48) Expected indentation of 4 spaces (indentation)
(#52) Expected indentation of 4 spaces (indentation)
(#53) Expected indentation of 4 spaces (indentation)
(#54) Expected indentation of 4 spaces (indentation)
(#55) Expected indentation of 4 spaces (indentation)
(#56) Expected indentation of 4 spaces (indentation)
(#57) Expected indentation of 4 spaces (indentation)
(#61) Expected indentation of 4 spaces (indentation)
(#65) Expected indentation of 4 spaces (indentation)
(#69) Expected indentation of 4 spaces (indentation)
(#70) Expected indentation of 4 spaces (indentation)
(#71) Expected indentation of 4 spaces (indentation)
(#72) Expected indentation of 4 spaces (indentation)
(#73) Expected indentation of 4 spaces (indentation)
(#74) Expected indentation of 4 spaces (indentation)
(#75) Expected indentation of 4 spaces (indentation)
(#76) Expected indentation of 4 spaces (indentation)
(#80) Expected indentation of 4 spaces (indentation)
(#82) Expected indentation of 4 spaces (indentation)
(#81) Expected indentation of 8 spaces (indentation)
(#84) Expected indentation of 4 spaces (indentation)
(#86) Expected indentation of 4 spaces (indentation)
(#85) Expected indentation of 8 spaces (indentation)

PHPDocs style problems

(37 errors, 0 warnings)

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

mod/quiz/accessrule/quilgo/classes/external.php
(#32) Class quizaccess_quilgo_external is not documented
(#34) Constant quizaccess_quilgo_external::REPORT_GENERATED_FAILED is not documented
(#35) Constant quizaccess_quilgo_external::REPORT_GENERATED_SUCCESS is not documented
(#36) Constant quizaccess_quilgo_external::REPORT_GENERATED_NOTREADY is not documented
mod/quiz/accessrule/quilgo/classes/form/api_config.php
(#34) Class api_config is not documented
mod/quiz/accessrule/quilgo/classes/http.php
(#26) Class http is not documented
mod/quiz/accessrule/quilgo/classes/observer.php
(#29) Class observer is not documented
(#33) Phpdocs for function observer::attempt_submitted has incomplete parameters list
mod/quiz/accessrule/quilgo/classes/plasmapi.php
(#32) Class plasmapi is not documented
mod/quiz/accessrule/quilgo/classes/report/report_list.php
(#37) Class report_list is not documented
(#278) Phpdocs for function report_list::show has incomplete parameters list
mod/quiz/accessrule/quilgo/db/install.php
(#17) No one-line description found in phpdocs for file
mod/quiz/accessrule/quilgo/db/uninstall.php
(#17) File-level phpdocs block is not found
mod/quiz/accessrule/quilgo/lib.php
(#34) Function is_plugin_configured is not documented
(#41) Function get_plasm_lib_url is not documented
(#45) Function get_plasm_config is not documented
(#54) Function get_quiz_data is not documented
(#67) Function is_use_tracking is not documented
(#75) Function get_report_url is not documented
(#84) Function get_attempt is not documented
(#95) Function get_attempt_session is not documented
(#106) Function show_error_log is not documented
(#112) Function dd is not documented
(#117) Function build_report_expires is not documented
(#125) Function register_site is not documented
(#24) Constant PLASM_URL is not documented
(#25) Constant PLASM_MAX_SHOTS_PER_QUIZ is not documented
(#26) Constant PLASM_REPORTS_EXPIRE_IN_DAYS is not documented
(#28) Constant CONFIG_API_TOKEN_NAME is not documented
(#29) Constant CONFIG_CLIENT_TOKEN_NAME is not documented
(#31) Constant REPORT_FILE_PATH is not documented
(#32) Constant API_SETTINGS_PATH is not documented
mod/quiz/accessrule/quilgo/rule.php
(#30) Class quizaccess_quilgo is not documented
(#34) Phpdocs for function quizaccess_quilgo::add_settings_form_fields has incomplete parameters list
(#234) Phpdocs for function quizaccess_quilgo::build_setup_error has incomplete parameters list
(#323) Phpdocs for function quizaccess_quilgo::build_consent_checkbox has incomplete parameters list
(#369) Phpdocs for function quizaccess_quilgo::add_preflight_check_form_fields has incomplete parameters list

Update savepoints problems

(0 errors, 0 warnings)

This section shows problems detected with the handling of upgrade savepoints [More info]


Third party library modification problems

(0 errors, 0 warnings)

This section shows problems detected with the modification of third party libraries [More info]


grunt changes

(1 errors, 1 warnings)

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

Problems running grunt
Failed to load config "airbnb-base" to extend from.

shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 8 warnings)

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

mod/quiz/accessrule/quilgo/templates/report-preview.mustache
(#1) HTML Validation error, line 5: Element “div” not allowed as child of element “small” in this context. (Suppressing further errors from this subtree.) (> <div class="flex-grow-1"> )
(#1) HTML Validation error, line 11: Element “div” not allowed as child of element “small” in this context. (Suppressing further errors from this subtree.) (> <div> )
(#1) HTML Validation error, line 21: Element “img” is missing required attribute “src”. (l></div><img class="w-100 quilgo-preview-image"></img>)
(#1) HTML Validation error, line 21: An “img” element must have an “alt” attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images. (l></div><img class="w-100 quilgo-preview-image"></img>)
(#1) HTML Validation error, line 21: Stray end tag “img”. (ew-image"></img></bo)
mod/quiz/accessrule/quilgo/templates/report.mustache
(#1) HTML Validation error, line 23: Bad value “” for attribute “src” on element “img”: Must be non-empty. (> <img class="quilgo-report-cover loadable-img" src=""></img>)
(#1) HTML Validation error, line 23: An “img” element must have an “alt” attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images. (> <img class="quilgo-report-cover loadable-img" src=""></img>)
(#1) HTML Validation error, line 23: Stray end tag “img”. (g" src=""></img> <)

Gherkin .feature problems

(0 errors, 0 warnings)

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