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

(79 errors, 0 warnings)

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

public/local/differentiator/classes/differentiator.php
(#34) Opening brace must not be followed by a blank line
public/local/differentiator/classes/external/exporter/bool_dto.php
(#39) Opening brace must not be followed by a blank line
public/local/differentiator/classes/external/handlers.php
(#35) Expected at least 1 space before "."; 0 found
(#35) Expected at least 1 space after "."; 0 found
(#54) Multi-line function call not indented correctly; expected 12 spaces but found 13
(#89) Opening parenthesis of a multi-line function call must be the last content on the line
(#90) Multi-line function call not indented correctly; expected 56 spaces but found 60
(#90) Closing parenthesis of a multi-line function call must be on a line by itself
(#92) Only one argument is allowed per line in a multi-line function call
(#92) Only one argument is allowed per line in a multi-line function call
(#95) Only one argument is allowed per line in a multi-line function call
(#95) Only one argument is allowed per line in a multi-line function call
(#98) Only one argument is allowed per line in a multi-line function call
(#98) Only one argument is allowed per line in a multi-line function call
(#101) Only one argument is allowed per line in a multi-line function call
(#101) Only one argument is allowed per line in a multi-line function call
(#114) Opening parenthesis of a multi-line function call must be the last content on the line
public/local/differentiator/classes/external/learninggoal.php
(#37) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#38) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#50) Expected at least 1 space before "."; 0 found
(#50) Expected at least 1 space after "."; 0 found
(#175) Opening parenthesis of a multi-line function call must be the last content on the line
(#194) Opening parenthesis of a multi-line function call must be the last content on the line
(#194) Only one argument is allowed per line in a multi-line function call
(#195) Only one argument is allowed per line in a multi-line function call
(#196) Only one argument is allowed per line in a multi-line function call
(#197) Only one argument is allowed per line in a multi-line function call
(#198) Only one argument is allowed per line in a multi-line function call
(#199) Only one argument is allowed per line in a multi-line function call
(#200) Only one argument is allowed per line in a multi-line function call
(#201) Only one argument is allowed per line in a multi-line function call
(#202) Only one argument is allowed per line in a multi-line function call
(#203) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#203) Only one argument is allowed per line in a multi-line function call
(#203) Closing parenthesis of a multi-line function call must be on a line by itself
(#269) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#269) Multi-line function declarations must define one parameter per line
(#269) Multi-line function declarations must define one parameter per line
(#269) Multi-line function declarations must define one parameter per line
(#269) Multi-line function declarations must define one parameter per line
(#269) Multi-line function declarations must define one parameter per line
(#270) Multi-line function declarations must define one parameter per line
(#270) Multi-line function declarations must define one parameter per line
(#270) Multi-line function declarations must define one parameter per line
(#270) Multi-line function declarations must define one parameter per line
(#270) Multi-line function declarations must define one parameter per line
(#270) Multi-line function declarations must define one parameter per line
(#270) The closing parenthesis of a multi-line function declaration must be on a new line
(#338) Opening parenthesis of a multi-line function call must be the last content on the line
(#376) Opening parenthesis of a multi-line function call must be the last content on the line
(#394) Blank line found at start of control structure
(#426) Expected 1 blank line at end of file; 2 found
public/local/differentiator/classes/external/learninggoals.php
(#33) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#34) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#89) Opening parenthesis of a multi-line function call must be the last content on the line
(#105) Opening parenthesis of a multi-line function call must be the last content on the line
(#105) Only one argument is allowed per line in a multi-line function call
(#106) Only one argument is allowed per line in a multi-line function call
(#107) Only one argument is allowed per line in a multi-line function call
(#108) Only one argument is allowed per line in a multi-line function call
(#109) Only one argument is allowed per line in a multi-line function call
(#110) Only one argument is allowed per line in a multi-line function call
(#111) Only one argument is allowed per line in a multi-line function call
(#112) Only one argument is allowed per line in a multi-line function call
(#113) Only one argument is allowed per line in a multi-line function call
(#114) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#114) Only one argument is allowed per line in a multi-line function call
(#114) Closing parenthesis of a multi-line function call must be on a line by itself
public/local/differentiator/db/upgrade.php
(#36) Blank line found at start of control structure
(#2244) Blank line found at start of control structure
(#2291) Blank line found at start of control structure
(#4660) Blank line found at start of control structure
public/local/differentiator/index.php
(#55) Expected 0 spaces before closing parenthesis; newline found
public/local/differentiator/lib.php
(#111) Parentheses must be used when instantiating a new class
public/local/differentiator/settings.php
(#28) Opening parenthesis of a multi-line function call must be the last content on the line
(#29) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#30) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#30) Closing parenthesis of a multi-line function call must be on a line by itself
public/local/differentiator/tests/behat/behat_local_differentiator.php
(#50) Expected 1 blank line at end of file; 2 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/local/differentiator/amd/src/app-lazy.js
(#1) Parsing error: Unexpected token (1:0)
public/local/differentiator/vue/main.js
(#1) Parsing error: 'import' and 'export' may appear only with 'sourceType: module'
public/local/differentiator/vue/store.js
(#1) Parsing error: 'import' and 'export' may appear only with 'sourceType: module'
public/local/differentiator/vue/webpack.config.js
(#6) 'isDevServer' is assigned a value but never used. (no-unused-vars)
(#6) 'process' is not defined. (no-undef)
(#8) 'module' is not defined. (no-undef)
(#10) 'exports' is not defined. (no-undef)
(#13) '__dirname' is not defined. (no-undef)
(#103) 'exports' is not defined. (no-undef)
(#105) 'exports' is not defined. (no-undef)
(#105) 'exports' is not defined. (no-undef)
(#115) 'exports' is not defined. (no-undef)
(#129) 'exports' is not defined. (no-undef)

CSS problems

(0 errors, 0 warnings)

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


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 "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]