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

(55 errors, 0 warnings)

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

local/graidy/classes/external/course/get_course_content.php
(#45) Opening brace must not be followed by a blank line
local/graidy/classes/external/course/get_course_info.php
(#47) Opening brace must not be followed by a blank line
(#225) Expected 0 spaces before closing parenthesis; 1 found
(#254) Long list syntax is not allowed
local/graidy/classes/external/mod/quiz/get_graderinfo_by_attempt.php
(#47) Opening brace must not be followed by a blank line
local/graidy/classes/output/renderer.php
(#72) Opening parenthesis of a multi-line function call must be the last content on the line
(#90) Expected 0 spaces before closing parenthesis; 1 found
local/graidy/classes/privacy/provider.php
(#35) Opening brace must not be followed by a blank line
local/graidy/classes/settings/admin_setting_custom_configcheckbox.php
(#34) Opening brace must not be followed by a blank line
(#68) Incorrect spacing between argument "$query" and equals sign; expected 1 but found 0
(#68) Incorrect spacing between default value and equals sign for argument "$query"; expected 1 but found 0
local/graidy/classes/settings/admin_setting_custom_webservicesoverview.php
(#38) Opening brace must not be followed by a blank line
(#47) Incorrect spacing between argument "$query" and equals sign; expected 1 but found 0
(#47) Incorrect spacing between default value and equals sign for argument "$query"; expected 1 but found 0
(#69) Opening parenthesis of a multi-line function call must be the last content on the line
(#69) Only one argument is allowed per line in a multi-line function call
(#70) Multi-line function call not indented correctly; expected 8 spaces but found 24
(#70) Closing parenthesis of a multi-line function call must be on a line by itself
(#82) Opening parenthesis of a multi-line function call must be the last content on the line
(#82) Only one argument is allowed per line in a multi-line function call
(#83) Multi-line function call not indented correctly; expected 8 spaces but found 24
(#83) Closing parenthesis of a multi-line function call must be on a line by itself
(#101) Opening parenthesis of a multi-line function call must be the last content on the line
(#101) Only one argument is allowed per line in a multi-line function call
(#102) Multi-line function call not indented correctly; expected 8 spaces but found 24
(#102) Closing parenthesis of a multi-line function call must be on a line by itself
(#111) Opening parenthesis of a multi-line function call must be the last content on the line
(#111) Only one argument is allowed per line in a multi-line function call
(#112) Multi-line function call not indented correctly; expected 8 spaces but found 24
(#112) Closing parenthesis of a multi-line function call must be on a line by itself
(#115) Opening parenthesis of a multi-line function call must be the last content on the line
(#115) Only one argument is allowed per line in a multi-line function call
(#116) Multi-line function call not indented correctly; expected 8 spaces but found 24
(#116) Closing parenthesis of a multi-line function call must be on a line by itself
(#124) Opening parenthesis of a multi-line function call must be the last content on the line
(#124) Only one argument is allowed per line in a multi-line function call
(#125) Multi-line function call not indented correctly; expected 8 spaces but found 24
(#125) Closing parenthesis of a multi-line function call must be on a line by itself
(#133) Opening parenthesis of a multi-line function call must be the last content on the line
(#133) Only one argument is allowed per line in a multi-line function call
(#134) Multi-line function call not indented correctly; expected 8 spaces but found 24
(#134) Closing parenthesis of a multi-line function call must be on a line by itself
(#142) Opening parenthesis of a multi-line function call must be the last content on the line
(#142) Only one argument is allowed per line in a multi-line function call
(#143) Multi-line function call not indented correctly; expected 8 spaces but found 24
(#143) Closing parenthesis of a multi-line function call must be on a line by itself
(#151) Opening parenthesis of a multi-line function call must be the last content on the line
(#151) Only one argument is allowed per line in a multi-line function call
(#152) Multi-line function call not indented correctly; expected 8 spaces but found 24
(#152) Closing parenthesis of a multi-line function call must be on a line by itself
local/graidy/iframe.php
(#38) Expected at least 1 space after "."; 0 found
local/graidy/lib.php
(#42) Expected 1 space between the comma and "// Change to your actual service shortname.". Found: 2 spaces
(#81) Expected 1 space between the comma and "// Change to your actual service shortname.". Found: 2 spaces
(#117) Whitespace found at end of line within string
(#167) Expected 1 space between the comma and "// Change to your actual service shortname.". Found: 2 spaces

Javascript coding style problems

(0 errors, 0 warnings)

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


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

(0 errors, 0 warnings)

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


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]