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

(10 errors, 15 warnings)

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

mod/gcanvas/ajax.php
(#61) File must end with a newline character
mod/gcanvas/backup/moodle2/backup_gcanvas_stepslib.php
(#30) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/gcanvas/backup/moodle2/restore_gcanvas_stepslib.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/gcanvas/classes/ajax.php
(#35) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#222) File must end with a newline character
mod/gcanvas/classes/event/course_module_viewed.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/gcanvas/classes/form/filepicker.php
(#87) File must end with a newline character
mod/gcanvas/classes/form/intro.php
(#62) File must end with a newline character
mod/gcanvas/classes/helper.php
(#33) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/gcanvas/classes/output/output_canvas.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/gcanvas/classes/output/output_canvas_attempts.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#167) File must end with a newline character
mod/gcanvas/classes/output/output_uploader.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#99) File must end with a newline character
mod/gcanvas/classes/privacy/provider.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#401) File must end with a newline character
mod/gcanvas/db/uninstall.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/gcanvas/db/upgrade.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/gcanvas/index.php
(#36) File must end with a newline character
mod/gcanvas/lang/nl/gcanvas.php
(#82) File must end with a newline character
mod/gcanvas/lib.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#186) Logical operator "or" is prohibited; use "||" instead
mod/gcanvas/renderer.php
(#29) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#129) File must end with a newline character
mod/gcanvas/view.php
(#48) 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, 0 warnings)

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

mod/gcanvas/amd/src/canvas.js
(#23) @package should be empty. (jsdoc/empty-tags)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(1 errors, 0 warnings)

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

mod/gcanvas/classes/helper.php
(#45) Constant helper::MOODLE_40 is not documented

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 "eslint:amd" 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

(0 errors, 0 warnings)

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