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

(353 errors, 0 warnings)

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

public/blocks/completion_progress/backup/moodle2/restore_completion_progress_block_task.class.php
(#32) Opening brace must not be followed by a blank line
(#73) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#73) Opening parenthesis of a multi-line function call must be the last content on the line
(#74) Multi-line function call not indented correctly; expected 24 spaces but found 32
(#74) Closing parenthesis of a multi-line function call must be on a line by itself
(#74) The closing parenthesis of a multi-line control structure must be on the line after the last expression
public/blocks/completion_progress/block_completion_progress.php
(#34) Opening brace must not be followed by a blank line
(#123) Parentheses must be used when instantiating a new class
(#138) Blank line found at end of control structure
(#185) Expected at least 1 space before "."; 0 found
(#185) Expected at least 1 space after "."; 0 found
(#185) Expected at least 1 space before "."; 0 found
(#185) Expected at least 1 space after "."; 0 found
(#207) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#209) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#212) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#214) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#365) The closing brace for the class must go on the next line after the body
public/blocks/completion_progress/classes/completion_progress.php
(#149) Expected at least 1 space before "."; 0 found
(#149) Expected at least 1 space after "."; 0 found
(#503) Expected at least 1 space before "."; 0 found
(#503) Expected at least 1 space after "."; 0 found
(#503) Expected at least 1 space before "."; 0 found
(#503) Expected at least 1 space after "."; 0 found
(#577) Expected at least 1 space before "."; 0 found
(#577) Expected at least 1 space after "."; 0 found
(#577) Expected at least 1 space before "."; 0 found
(#577) Expected at least 1 space after "."; 0 found
(#577) Expected at least 1 space before "."; 0 found
(#577) Expected at least 1 space after "."; 0 found
(#577) Expected at least 1 space before "."; 0 found
(#577) Expected at least 1 space after "."; 0 found
(#660) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#661) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#710) Expected at least 1 space before "."; 0 found
(#710) Expected at least 1 space after "."; 0 found
(#736) Expected at least 1 space before "."; 0 found
(#736) Expected at least 1 space after "."; 0 found
(#759) Expected at least 1 space before "."; 0 found
(#759) Expected at least 1 space after "."; 0 found
(#776) Expected at least 1 space before "."; 0 found
(#776) Expected at least 1 space after "."; 0 found
(#802) Expected at least 1 space before "."; 0 found
(#802) Expected at least 1 space after "."; 0 found
(#831) The closing brace for the class must go on the next line after the body
public/blocks/completion_progress/classes/output/renderer.php
(#150) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#162) Expected at least 1 space before "."; 0 found
(#162) Expected at least 1 space after "."; 0 found
(#179) Expected at least 1 space before "."; 0 found
(#179) Expected at least 1 space after "."; 0 found
(#179) Expected at least 1 space before "."; 0 found
(#179) Expected at least 1 space after "."; 0 found
(#179) Expected at least 1 space before "."; 0 found
(#179) Expected at least 1 space after "."; 0 found
(#179) Expected at least 1 space before "."; 0 found
(#179) Expected at least 1 space after "."; 0 found
(#179) Expected at least 1 space before "."; 0 found
(#179) Expected at least 1 space after "."; 0 found
(#183) Blank line found at end of control structure
(#186) Blank line found at end of control structure
(#193) Blank line found at end of control structure
(#208) Expected at least 1 space before "."; 0 found
(#208) Expected at least 1 space after "."; 0 found
(#208) Expected at least 1 space before "."; 0 found
(#208) Expected at least 1 space after "."; 0 found
(#212) Expected at least 1 space before "."; 0 found
(#212) Expected at least 1 space after "."; 0 found
(#212) Expected at least 1 space before "."; 0 found
(#212) Expected at least 1 space after "."; 0 found
(#215) Expected at least 1 space before "."; 0 found
(#215) Expected at least 1 space after "."; 0 found
(#215) Expected at least 1 space before "."; 0 found
(#215) Expected at least 1 space after "."; 0 found
(#231) Expected at least 1 space before "."; 0 found
(#231) Expected at least 1 space after "."; 0 found
(#231) Expected at least 1 space before "."; 0 found
(#231) Expected at least 1 space after "."; 0 found
(#231) Expected at least 1 space before "."; 0 found
(#231) Expected at least 1 space after "."; 0 found
(#239) Expected at least 1 space before "."; 0 found
(#239) Expected at least 1 space after "."; 0 found
(#239) Expected at least 1 space before "."; 0 found
(#239) Expected at least 1 space after "."; 0 found
(#239) Expected at least 1 space before "."; 0 found
(#239) Expected at least 1 space after "."; 0 found
(#239) Expected at least 1 space before "."; 0 found
(#239) Expected at least 1 space after "."; 0 found
(#263) Expected at least 1 space before "."; 0 found
(#263) Expected at least 1 space after "."; 0 found
(#263) Expected at least 1 space before "."; 0 found
(#263) Expected at least 1 space after "."; 0 found
(#263) Expected at least 1 space before "."; 0 found
(#263) Expected at least 1 space after "."; 0 found
(#263) Expected at least 1 space before "."; 0 found
(#263) Expected at least 1 space after "."; 0 found
(#263) Expected at least 1 space before "."; 0 found
(#263) Expected at least 1 space after "."; 0 found
(#269) Opening parenthesis of a multi-line function call must be the last content on the line
(#270) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#270) Closing parenthesis of a multi-line function call must be on a line by itself
(#283) Expected at least 1 space before "."; 0 found
(#283) Expected at least 1 space after "."; 0 found
(#286) Expected at least 1 space before "."; 0 found
(#286) Expected at least 1 space after "."; 0 found
(#289) Expected at least 1 space before "."; 0 found
(#289) Expected at least 1 space after "."; 0 found
(#292) Expected at least 1 space after "."; 0 found
(#302) Expected at least 1 space before "."; 0 found
(#302) Expected at least 1 space after "."; 0 found
public/blocks/completion_progress/classes/privacy/provider.php
(#33) Opening brace must not be followed by a blank line
public/blocks/completion_progress/classes/table/overview.php
(#33) Expected at least 1 space before "."; 0 found
(#33) Expected at least 1 space after "."; 0 found
(#132) Opening parenthesis of a multi-line function call must be the last content on the line
(#132) Only one argument is allowed per line in a multi-line function call
(#132) Only one argument is allowed per line in a multi-line function call
(#132) Only one argument is allowed per line in a multi-line function call
(#133) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#133) Closing parenthesis of a multi-line function call must be on a line by itself
(#196) Opening parenthesis of a multi-line function call must be the last content on the line
(#196) Only one argument is allowed per line in a multi-line function call
(#197) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#197) Closing parenthesis of a multi-line function call must be on a line by itself
public/blocks/completion_progress/css.php
(#30) Expected at least 1 space before "."; 0 found
(#30) Expected at least 1 space after "."; 0 found
public/blocks/completion_progress/edit_form.php
(#30) Expected at least 1 space before "."; 0 found
(#30) Expected at least 1 space after "."; 0 found
(#60) Opening parenthesis of a multi-line function call must be the last content on the line
(#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
(#61) Closing parenthesis of a multi-line function call must be on a line by itself
(#62) Opening parenthesis of a multi-line function call must be the last content on the line
(#63) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#63) Closing parenthesis of a multi-line function call must be on a line by itself
(#98) Opening parenthesis of a multi-line function call must be the last content on the line
(#98) Only one argument is allowed per line in a multi-line function call
(#99) Multi-line function call not indented correctly; expected 16 spaces but found 31
(#99) Expected at least 1 space before "."; 0 found
(#99) Expected at least 1 space after "."; 0 found
(#99) Expected at least 1 space before "."; 0 found
(#100) Expected at least 1 space before "."; 0 found
(#101) Multi-line function call not indented correctly; expected 12 spaces but found 31
(#101) Closing parenthesis of a multi-line function call must be on a line by itself
(#107) Opening parenthesis of a multi-line function call must be the last content on the line
(#107) Only one argument is allowed per line in a multi-line function call
(#108) Multi-line function call not indented correctly; expected 8 spaces but found 27
(#108) Closing parenthesis of a multi-line function call must be on a line by itself
(#132) Opening parenthesis of a multi-line function call must be the last content on the line
(#132) Only one argument is allowed per line in a multi-line function call
(#133) Multi-line function call not indented correctly; expected 8 spaces but found 27
(#133) Closing parenthesis of a multi-line function call must be on a line by itself
(#158) Expected at least 1 space before "."; 0 found
(#158) Expected at least 1 space after "."; 0 found
(#158) Expected at least 1 space before "."; 0 found
(#158) Expected at least 1 space after "."; 0 found
public/blocks/completion_progress/overview.php
(#30) Expected at least 1 space before "."; 0 found
(#30) Expected at least 1 space after "."; 0 found
(#31) Expected at least 1 space before "."; 0 found
(#31) Expected at least 1 space after "."; 0 found
(#83) Opening parenthesis of a multi-line function call must be the last content on the line
(#84) Multi-line function call not indented correctly; expected 0 spaces but found 4
(#84) Closing parenthesis of a multi-line function call must be on a line by itself
(#195) Opening parenthesis of a multi-line function call must be the last content on the line
(#195) 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
(#195) Only one argument is allowed per line in a multi-line function call
(#196) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#196) 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
(#196) Closing parenthesis of a multi-line function call must be on a line by itself
(#199) Opening parenthesis of a multi-line function call must be the last content on the line
(#199) 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
(#199) Only one argument is allowed per line in a multi-line function call
(#200) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#200) 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
(#200) Closing parenthesis of a multi-line function call must be on a line by itself
(#205) Expected at least 1 space before "."; 0 found
(#205) Expected at least 1 space after "."; 0 found
(#233) Opening parenthesis of a multi-line function call must be the last content on the line
(#234) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#234) Closing parenthesis of a multi-line function call must be on a line by itself
(#237) Opening parenthesis of a multi-line function call must be the last content on the line
(#238) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#238) Closing parenthesis of a multi-line function call must be on a line by itself
(#256) Expected at least 1 space before "."; 0 found
(#256) Expected at least 1 space after "."; 0 found
(#256) Expected at least 1 space before "."; 0 found
(#256) Expected at least 1 space after "."; 0 found
(#258) Expected at least 1 space before "."; 0 found
(#258) Expected at least 1 space after "."; 0 found
(#258) Expected at least 1 space before "."; 0 found
(#258) Expected at least 1 space after "."; 0 found
public/blocks/completion_progress/settings.php
(#29) Blank line found at start of control structure
(#32) 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 4 spaces but found 8
(#36) Closing parenthesis of a multi-line function call must be on a line by itself
(#37) Expected 0 spaces before closing parenthesis; newline found
(#44) Opening parenthesis of a multi-line function call must be the last content on the line
(#48) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#48) Closing parenthesis of a multi-line function call must be on a line by itself
(#49) Expected 0 spaces before closing parenthesis; newline found
(#55) Opening parenthesis of a multi-line function call must be the last content on the line
(#59) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#59) Closing parenthesis of a multi-line function call must be on a line by itself
(#60) Expected 0 spaces before closing parenthesis; newline found
(#62) Opening parenthesis of a multi-line function call must be the last content on the line
(#66) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#66) Closing parenthesis of a multi-line function call must be on a line by itself
(#70) Opening parenthesis of a multi-line function call must be the last content on the line
(#74) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#74) Closing parenthesis of a multi-line function call must be on a line by itself
(#78) Opening parenthesis of a multi-line function call must be the last content on the line
(#82) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#82) Closing parenthesis of a multi-line function call must be on a line by itself
(#86) 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 4 spaces but found 8
(#90) Closing parenthesis of a multi-line function call must be on a line by itself
(#94) Opening parenthesis of a multi-line function call must be the last content on the line
(#97) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#97) Closing parenthesis of a multi-line function call must be on a line by itself
(#98) Expected 0 spaces before closing parenthesis; newline found
(#99) Opening parenthesis of a multi-line function call must be the last content on the line
(#102) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#102) Closing parenthesis of a multi-line function call must be on a line by itself
(#103) Expected 0 spaces before closing parenthesis; newline found
(#104) Opening parenthesis of a multi-line function call must be the last content on the line
(#107) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#107) Closing parenthesis of a multi-line function call must be on a line by itself
(#108) Expected 0 spaces before closing parenthesis; newline found
(#109) Opening parenthesis of a multi-line function call must be the last content on the line
(#113) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#113) Closing parenthesis of a multi-line function call must be on a line by itself
(#114) Expected 0 spaces before closing parenthesis; newline found
public/blocks/completion_progress/tests/assign_completion_test.php
(#30) Expected at least 1 space before "."; 0 found
(#30) Expected at least 1 space after "."; 0 found
(#31) Expected at least 1 space before "."; 0 found
(#31) Expected at least 1 space after "."; 0 found
(#127) Expected 1 space between the comma and "// The student must receive a grade to complete.". Found: 6 spaces
(#145) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#145) Only one argument is allowed per line in a multi-line function call
(#145) Only one argument is allowed per line in a multi-line function call
(#145) Closing parenthesis of a multi-line function call must be on a line by itself
(#182) Expected 1 space between the comma and "// Submission alone is enough to trigger completion.". Found: 8 spaces
(#189) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#189) Only one argument is allowed per line in a multi-line function call
(#189) Only one argument is allowed per line in a multi-line function call
(#189) Closing parenthesis of a multi-line function call must be on a line by itself
(#248) Expected 1 space between the comma and "// The student must receive a grade to complete.". Found: 6 spaces
(#269) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#269) Only one argument is allowed per line in a multi-line function call
(#269) Only one argument is allowed per line in a multi-line function call
(#269) Closing parenthesis of a multi-line function call must be on a line by itself
(#289) Blank line found at end of control structure
(#365) Opening parenthesis of a multi-line function call must be the last content on the line
(#368) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#368) Closing parenthesis of a multi-line function call must be on a line by itself
(#370) Opening parenthesis of a multi-line function call must be the last content on the line
(#371) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#371) Only one argument is allowed per line in a multi-line function call
(#371) Closing parenthesis of a multi-line function call must be on a line by itself
public/blocks/completion_progress/tests/general_test.php
(#31) Expected at least 1 space before "."; 0 found
(#31) Expected at least 1 space after "."; 0 found
(#32) Expected at least 1 space before "."; 0 found
(#32) Expected at least 1 space after "."; 0 found
(#89) Opening parenthesis of a multi-line function call must be the last content on the line
(#89) Only one argument is allowed per line in a multi-line function call
(#90) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#90) Only one argument is allowed per line in a multi-line function call
(#90) Only one argument is allowed per line in a multi-line function call
(#90) Only one argument is allowed per line in a multi-line function call
(#90) Only one argument is allowed per line in a multi-line function call
(#90) Closing parenthesis of a multi-line function call must be on a line by itself
(#245) Expected 1 space between the comma and "// Non-default.". Found: 4 spaces
(#264) Expected 1 space between the comma and "// Non-default.". Found: 4 spaces
(#272) Parentheses must be used when instantiating a new class
public/blocks/completion_progress/tests/generator/lib.php
(#34) Opening brace must not be followed by a blank line
public/blocks/completion_progress/tests/overview_test.php
(#31) Expected at least 1 space before "."; 0 found
(#31) Expected at least 1 space after "."; 0 found
(#32) Expected at least 1 space before "."; 0 found
(#32) Expected at least 1 space after "."; 0 found
(#97) Opening parenthesis of a multi-line function call must be the last content on the line
(#97) Only one argument is allowed per line in a multi-line function call
(#98) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#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
(#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
(#98) Closing parenthesis of a multi-line function call must be on a line by itself
(#145) Expected 1 space between the comma and "// Non-default.". Found: 4 spaces
(#173) Expected at least 1 space before "."; 0 found
(#173) Expected at least 1 space after "."; 0 found
(#173) Expected at least 1 space before "."; 0 found
(#173) Expected at least 1 space after "."; 0 found
(#174) Expected at least 1 space before "."; 0 found
(#174) Expected at least 1 space after "."; 0 found
(#174) Expected at least 1 space before "."; 0 found
(#174) Expected at least 1 space after "."; 0 found
(#190) Expected at least 1 space before "."; 0 found
(#190) Expected at least 1 space after "."; 0 found
(#190) Expected at least 1 space before "."; 0 found
(#190) Expected at least 1 space after "."; 0 found
(#191) Expected at least 1 space before "."; 0 found
(#191) Expected at least 1 space after "."; 0 found
(#191) Expected at least 1 space before "."; 0 found
(#191) Expected at least 1 space after "."; 0 found
(#204) Expected at least 1 space before "."; 0 found
(#204) Expected at least 1 space after "."; 0 found
(#204) Expected at least 1 space before "."; 0 found
(#204) Expected at least 1 space after "."; 0 found
(#205) Expected at least 1 space before "."; 0 found
(#205) Expected at least 1 space after "."; 0 found
(#205) Expected at least 1 space before "."; 0 found
(#205) Expected at least 1 space after "."; 0 found
(#206) Expected at least 1 space before "."; 0 found
(#206) Expected at least 1 space after "."; 0 found
(#206) Expected at least 1 space before "."; 0 found
(#206) Expected at least 1 space after "."; 0 found
(#207) Expected at least 1 space before "."; 0 found
(#207) Expected at least 1 space after "."; 0 found
(#207) Expected at least 1 space before "."; 0 found
(#207) Expected at least 1 space after "."; 0 found
(#234) Expected 1 space between the comma and "// Non-default.". Found: 4 spaces
(#273) Expected at least 1 space before "."; 0 found
(#273) Expected at least 1 space after "."; 0 found
(#273) Expected at least 1 space before "."; 0 found
(#273) Expected at least 1 space after "."; 0 found
(#274) Expected at least 1 space before "."; 0 found
(#274) Expected at least 1 space after "."; 0 found
(#274) Expected at least 1 space before "."; 0 found
(#274) Expected at least 1 space after "."; 0 found
(#275) Expected at least 1 space before "."; 0 found
(#275) Expected at least 1 space after "."; 0 found
(#275) Expected at least 1 space before "."; 0 found
(#275) Expected at least 1 space after "."; 0 found
public/blocks/completion_progress/tests/quiz_completion_test.php
(#30) Expected at least 1 space before "."; 0 found
(#30) Expected at least 1 space after "."; 0 found
(#31) Expected at least 1 space before "."; 0 found
(#31) Expected at least 1 space after "."; 0 found
(#79) Expected 1 space between the comma and "// One question.". Found: 2 spaces
(#83) Expected 1 space between the comma and "// Student must receive a grade to complete.". Found: 6 spaces
(#162) Expected 1 space between the comma and "// One question.". Found: 2 spaces
(#166) Expected 1 space between the comma and "// Student must receive a grade to complete.". Found: 6 spaces
(#257) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#257) Only one argument is allowed per line in a multi-line function call
(#257) Only one argument is allowed per line in a multi-line function call
(#257) Closing parenthesis of a multi-line function call must be on a line by itself
public/blocks/completion_progress/tests/workshop_completion_test.php
(#30) Expected at least 1 space before "."; 0 found
(#30) Expected at least 1 space after "."; 0 found
(#31) Expected at least 1 space before "."; 0 found
(#31) Expected at least 1 space after "."; 0 found
(#58) Expected 1 space between the comma and "// The student must receive a grade to complete.". Found: 6 spaces
(#112) Expected 1 space between the comma and "// The student must receive a grade to complete.". Found: 6 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]