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

(12 errors, 5 warnings)

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

mod/reservation/classes/task/cron_task.php
(#214) Line exceeds 132 characters; contains 136 characters
(#261) Line exceeds 132 characters; contains 136 characters
mod/reservation/index.php
(#25) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
mod/reservation/renderer.php
(#256) global $OUTPUT cannot be used in renderers. Use $this->output.
(#272) global $OUTPUT cannot be used in renderers. Use $this->output.
(#275) global $OUTPUT cannot be used in renderers. Use $this->output.
(#281) global $OUTPUT cannot be used in renderers. Use $this->output.
(#283) global $OUTPUT cannot be used in renderers. Use $this->output.
(#287) global $OUTPUT cannot be used in renderers. Use $this->output.
(#302) global $OUTPUT cannot be used in renderers. Use $this->output.
(#309) global $OUTPUT cannot be used in renderers. Use $this->output.
(#360) global $OUTPUT cannot be used in renderers. Use $this->output.
(#389) global $OUTPUT cannot be used in renderers. Use $this->output.
(#500) global $PAGE cannot be used in renderers. Use $this->page.
(#563) global $PAGE cannot be used in renderers. Use $this->page.
mod/reservation/settings.php
(#155) Inline comments must start with a capital letter, digit or 3-dots sequence
(#155) This comment is 59% valid code; is this commented out code?

Javascript coding style problems

(0 errors, 4 warnings)

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

mod/reservation/amd/src/requests.js
(#135) The function binding is unnecessary. (no-extra-bind)
(#204) Unexpected @return tag; function has no return statement. (valid-jsdoc)
mod/reservation/amd/src/reservationedit.js
(#124) Expected to return a value at the end of function 'bind'. (consistent-return)
(#212) Expected to return a value at the end of function 'bind'. (consistent-return)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(4 errors, 0 warnings)

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

mod/reservation/backup/moodle2/restore_reservation_activity_task.class.php
(#85) Inline phpdocs tag {@link restore_logs_processor} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#87) Inline phpdocs tag {@link restore_log_rule} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#106) Inline phpdocs tag {@link restore_logs_processor} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#108) Inline phpdocs tag {@link restore_log_rule} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}

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

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

mod/reservation/amd/build/reservationedit.min.js
Uncommitted change detected.

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

(0 errors, 0 warnings)

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