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

(73 errors, 2 warnings)

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

local/chunkupload/classes/chunkupload_form_element.php
(#53) Property name "$_helpbutton" should not be prefixed with an underscore to indicate visibility
(#59) Property name "$_options" should not be prefixed with an underscore to indicate visibility
(#290) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#290) Multi-line function declarations must define one parameter per line
(#290) Multi-line function declarations must define one parameter per line
(#290) Multi-line function declarations must define one parameter per line
(#291) Multi-line function declaration not indented correctly; expected 8 spaces but found 46
(#291) Incorrect spacing between argument "$newfilepath" and equals sign; expected 1 but found 0
(#291) Incorrect spacing between default value and equals sign for argument "$newfilepath"; expected 1 but found 0
(#291) The closing parenthesis of a multi-line function declaration must be on a new line
local/chunkupload/classes/local/chunkupload_file.php
(#36) Opening brace must not be followed by a blank line
(#98) The closing brace for the class must go on the next line after the body
local/chunkupload/classes/local/tests/testmform.php
(#42) Opening brace must not be followed by a blank line
(#52) Opening parenthesis of a multi-line function call must be the last content on the line
(#53) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#54) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#54) Closing parenthesis of a multi-line function call must be on a line by itself
(#56) Opening parenthesis of a multi-line function call must be the last content on the line
(#56) Only one argument is allowed per line in a multi-line function call
(#56) Only one argument is allowed per line in a multi-line function call
(#56) Only one argument is allowed per line in a multi-line function call
(#57) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#57) Closing parenthesis of a multi-line function call must be on a line by itself
local/chunkupload/classes/state_type.php
(#31) Opening brace must not be followed by a blank line
(#42) The closing brace for the class must go on the next line after the body
local/chunkupload/classes/task/cleanup_files.php
(#37) Opening brace must not be followed by a blank line
(#56) Opening parenthesis of a multi-line function call must be the last content on the line
(#56) Only one argument is allowed per line in a multi-line function call
(#57) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#57) Closing parenthesis of a multi-line function call must be on a line by itself
(#60) Opening parenthesis of a multi-line function call must be the last content on the line
(#60) Only one argument is allowed per line in a multi-line function call
(#61) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#61) Only one argument is allowed per line in a multi-line function call
(#62) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#62) Only one argument is allowed per line in a multi-line function call
(#62) Closing parenthesis of a multi-line function call must be on a line by itself
(#72) Opening parenthesis of a multi-line function call must be the last content on the line
(#72) Only one argument is allowed per line in a multi-line function call
(#73) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#73) Only one argument is allowed per line in a multi-line function call
(#74) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#74) Only one argument is allowed per line in a multi-line function call
(#74) Closing parenthesis of a multi-line function call must be on a line by itself
local/chunkupload/deleteupload_ajax.php
(#65) Blank line found at start of control structure
local/chunkupload/settings.php
(#29) Opening parenthesis of a multi-line function call must be the last content on the line
(#30) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#31) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#31) Only one argument is allowed per line in a multi-line function call
(#31) Only one argument is allowed per line in a multi-line function call
(#31) Closing parenthesis of a multi-line function call must be on a line by itself
(#32) Opening parenthesis of a multi-line function call must be the last content on the line
(#33) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#34) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#34) Only one argument is allowed per line in a multi-line function call
(#34) Only one argument is allowed per line in a multi-line function call
(#34) Closing parenthesis of a multi-line function call must be on a line by itself
(#35) Opening parenthesis of a multi-line function call must be the last content on the line
(#36) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#37) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#37) Only one argument is allowed per line in a multi-line function call
(#37) Only one argument is allowed per line in a multi-line function call
(#37) Closing parenthesis of a multi-line function call must be on a line by itself
(#38) Opening parenthesis of a multi-line function call must be the last content on the line
(#39) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#40) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#40) Only one argument is allowed per line in a multi-line function call
(#40) Only one argument is allowed per line in a multi-line function call
(#40) Closing parenthesis of a multi-line function call must be on a line by itself
local/chunkupload/tests/behat/behat_local_chunkupload.php
(#30) Useless alias "TableNode" found for import of "Behat\Gherkin\Node\TableNode"
(#40) Opening brace must not be followed by a blank line
(#50) Expected at least 1 space before "."; 0 found
(#55) The closing brace for the class must go on the next line after the body
local/chunkupload/tests/testupload.php
(#36) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#37) The closing parenthesis of a multi-line control structure must be on the line after the last expression

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]

local/chunkupload/templates/filepicker.mustache
(#1) HTML Validation info, line 2: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. (ad><body><input type="hidden" name="test" id="id_test" value="5313393439" class=""/><div)

Gherkin .feature problems

(0 errors, 0 warnings)

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