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

(17 errors, 4 warnings)

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

mod/gcanvas/backup/moodle2/restore_gcanvas_activity_task.class.php
(#59) Expected 1 space before opening brace; found 0
(#86) Expected 1 space before opening brace; found 0
mod/gcanvas/classes/event/course_module_viewed.php
(#42) Expected 1 space before opening brace; found 0
(#53) Expected 1 space before opening brace; found 0
mod/gcanvas/classes/output/output_canvas_attempts.php
(#157) Expected 1 space before opening brace; found 0
mod/gcanvas/classes/output/output_uploader.php
(#75) Expected 1 space before opening brace; found 0
mod/gcanvas/privacy-test.php
(#40) "include" must be immediately followed by an open parenthesis
(#40) File is being unconditionally included; use "require" instead
(#67) Inline comments must end in full-stops, exclamation marks, or question marks
(#142) Line exceeds 132 characters; contains 162 characters
(#198) Inline comments must end in full-stops, exclamation marks, or question marks
(#198) This comment is 75% valid code; is this commented out code?
(#198) Line indented incorrectly; expected at least 12 spaces, found 11
mod/gcanvas/renderer.php
(#46) Expected 1 space before opening brace; found 0
(#47) global $PAGE cannot be used in renderers. Use $this->page.
(#49) global $PAGE cannot be used in renderers. Use $this->page.
(#57) global $PAGE cannot be used in renderers. Use $this->page.
(#57) global $PAGE cannot be used in renderers. Use $this->page.
(#59) global $PAGE cannot be used in renderers. Use $this->page.
(#61) global $PAGE cannot be used in renderers. Use $this->page.
(#65) global $PAGE cannot be used in renderers. Use $this->page.

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/Gruntfile.js
(#3) 'module' is not defined. (no-undef)

CSS problems

(5 errors, 0 warnings)

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

mod/gcanvas/styles.css
(#117) Expected single space before "{" (block-opening-brace-space-before)
(#121) Expected single space before "{" (block-opening-brace-space-before)
(#126) Unexpected !important (declaration-no-important)
(#130) Unexpected !important (declaration-no-important)
(#134) Unexpected !important (declaration-no-important)

PHPDocs style problems

(8 errors, 0 warnings)

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

mod/gcanvas/backup/moodle2/restore_gcanvas_activity_task.class.php
(#81) Inline phpdocs tag {@link restore_logs_processor} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#82) Inline phpdocs tag {@link restore_log_rule} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
mod/gcanvas/lib.php
(#117) Inline phpdocs tag {@link file_browser::get_file_info_context_module()} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#217) Inline phpdocs tag {@link settings_navigation} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#218) Inline phpdocs tag {@link navigation_node} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
mod/gcanvas/privacy-test.php
(#52) Function check_implements is not documented
(#17) No one-line description found in phpdocs for file
(#52) Package is not specified for function check_implements. It is also not specified in file-level phpdocs

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

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


Gherkin .feature problems

(1 errors, 0 warnings)

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

mod/gcanvas/tests/behat/add_a_modcanvas.feature
(#37) New line at EOF(end of file) is required