Prechecker results: error


Overview

(0 errors, 0 warnings)

This section shows the general problems detected when processing the code [More info]


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

(4 errors, 1 warnings)

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

mod/randomactivity/backup/moodle2/restore_randomactivity_activity_task.class.php
(#24) Space before opening parenthesis of function call prohibited
mod/randomactivity/classes/external/activity_pool_utility.php
(#32) Incorrect @package tag for class activity_pool_utility. Expected mod_randomactivity, found report_certaintyquizzes.
mod/randomactivity/lib.php
(#122) Expected 1 space after SWITCH keyword; 0 found
mod/randomactivity/locallib.php
(#24) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#283) Expected 1 space after "=>"; 2 found

Javascript coding style problems

(0 errors, 1 warnings)

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

mod/randomactivity/amd/src/orderabletable.js
(#67) Comments should not begin with a lowercase character. (capitalized-comments)

CSS problems

(1 errors, 0 warnings)

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

mod/randomactivity/styles.css
(#142) Unexpected URL scheme "data:" (function-url-scheme-disallowed-list)

PHPDocs style problems

(0 errors, 0 warnings)

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


Update savepoints problems

(0 errors, 0 warnings)

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


Third party library modification problems

(0 errors, 0 warnings)

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


grunt changes

(1 errors, 1 warnings)

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

Problems running grunt
Task "stylelint:css" failed. Use --force to continue.

shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 1 warnings)

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

mod/randomactivity/templates/addactivities.mustache
(#1) HTML Validation info, line 16: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. ( <input id="activity-search" class="form-control" type="text" autocomplete="off"/><span )
(#1) HTML Validation info, line 29: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. ( <input type="checkbox" id="cm7" class="mr-2"/> )
(#1) HTML Validation info, line 30: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. (activity"><img class="activityicon" alt="" src="http://localhost/theme/image.php/boost/quiz/1617710167/icon"/>Exerci)
(#1) HTML Validation error, line 31: Bad value “true” for attribute “hidden” on element “div”. ( <div hidden="true" aria-hidden="true"></div>)
(#1) HTML Validation info, line 31: Attribute “aria-hidden” is unnecessary for elements that have attribute “hidden”. ( <div hidden="true" aria-hidden="true"></div>)

Gherkin .feature problems

(0 errors, 0 warnings)

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