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

(32 errors, 0 warnings)

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

public/report/twgraph_lite/classes/privacy/provider.php
(#30) Opening brace must not be followed by a blank line
public/report/twgraph_lite/index.php
(#28) Space found before comma in argument list
(#28) Expected no space between "'id'" and the comma. Found: 1 space
(#28) Space found before comma in argument list
(#28) Expected no space between "$defaultuser" and the comma. Found: 1 space
(#52) Space found before comma in argument list
(#52) Expected no space between "$userid" and the comma. Found: 1 space
(#53) Expected at least 1 space before "."; 0 found
(#53) Expected at least 1 space after "."; 0 found
(#53) Expected at least 1 space before "."; 0 found
(#53) Expected at least 1 space after "."; 0 found
(#54) Space found before comma in argument list
(#54) Expected no space between "$userid" and the comma. Found: 1 space
(#54) Space found before comma in argument list
(#54) Expected no space between "false" and the comma. Found: 1 space
(#58) Space found before comma in argument list
(#58) Expected no space between "shortname" and the comma. Found: 1 space
(#58) Space found before comma in argument list
(#58) Expected no space between "true" and the comma. Found: 1 space
public/report/twgraph_lite/lib.php
(#65) Space before opening parenthesis of function call prohibited
(#65) Opening parenthesis of a multi-line function call must be the last content on the line
(#66) Only one argument is allowed per line in a multi-line function call
(#66) Only one argument is allowed per line in a multi-line function call
(#66) Only one argument is allowed per line in a multi-line function call
(#66) Only one argument is allowed per line in a multi-line function call
(#66) Closing parenthesis of a multi-line function call must be on a line by itself
(#108) Blank line found at end of control structure
(#110) Space before opening parenthesis of function call prohibited
(#110) Space found before comma in argument list
(#110) Expected no space between "]" and the comma. Found: 2 spaces
public/report/twgraph_lite/settings.php
(#33) Multi-line function call not indented correctly; expected 0 spaces but found 4
(#34) Expected 0 spaces before closing parenthesis; newline found

Javascript coding style problems

(13 errors, 0 warnings)

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

public/report/twgraph_lite/lib/js/lib2.js
(#1) 'resetz' is defined but never used. (no-unused-vars)
(#1) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#2) 'mc' is not defined. (no-undef)
(#2) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#3) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#4) 'toggle' is defined but never used. (no-unused-vars)
(#4) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#5) 'mc' is not defined. (no-undef)
(#5) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#6) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#7) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#8) 'mc' is not defined. (no-undef)
(#8) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)

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]

public/report/twgraph_lite/lib.php
(#52) Phpdocs for function report_twgraph_lite_myprofile_navigation 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
ENOENT: no such file or directory, stat 'public/report/twgraph_lite/chartjs/chartjs-adapter-date-fns.min.js' 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]

public/report/twgraph_lite/templates/graph.mustache
(#1) Example context missing (@template section not found.)
(#1) ESLint did not run

Gherkin .feature problems

(0 errors, 0 warnings)

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