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

(258 errors, 0 warnings)

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

blocks/point_view/action/updatemodule.php
(#32) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#33) The closing parenthesis of a multi-line control structure must be on the line after the last expression
blocks/point_view/backup/moodle2/backup_point_view_block_task.class.php
(#33) Opening brace must not be followed by a blank line
(#45) Space after opening parenthesis of function call prohibited
(#45) Expected 0 spaces before closing parenthesis; 1 found
blocks/point_view/backup/moodle2/backup_point_view_stepslib.php
(#31) Opening brace must not be followed by a blank line
blocks/point_view/backup/moodle2/restore_point_view_block_task.class.php
(#33) Opening brace must not be followed by a blank line
(#45) Space after opening parenthesis of function call prohibited
(#45) Expected 0 spaces before closing parenthesis; 1 found
(#108) Function closing brace must go on the next line following the body; found 1 blank lines before brace
blocks/point_view/backup/moodle2/restore_point_view_stepslib.php
(#31) Opening brace must not be followed by a blank line
blocks/point_view/block_point_view.php
(#42) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#78) Blank line found at start of control structure
(#94) Parentheses must be used when instantiating a new class
(#101) Expected at least 1 space before "."; 0 found
(#101) Expected at least 1 space after "."; 0 found
(#101) Expected at least 1 space before "."; 0 found
(#101) Expected at least 1 space after "."; 0 found
(#116) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#117) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#122) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#126) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#129) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#131) Multi-line function call not indented correctly; expected 16 spaces but found 24
(#131) Only one argument is allowed per line in a multi-line function call
(#131) 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
(#133) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#138) Multi-line function call not indented correctly; expected 16 spaces but found 24
(#138) Closing parenthesis of a multi-line function call must be on a line by itself
(#146) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#148) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#161) Opening parenthesis of a multi-line function call must be the last content on the line
(#161) Only one argument is allowed per line in a multi-line function call
(#161) Only one argument is allowed per line in a multi-line function call
(#162) Multi-line function call not indented correctly; expected 16 spaces but found 24
(#162) Closing parenthesis of a multi-line function call must be on a line by itself
(#164) Blank line found at end of control structure
(#165) Blank line found at start of control structure
(#168) Blank line found at end of control structure
(#206) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#208) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#208) Blank line found at start of control structure
(#259) Opening parenthesis of a multi-line function call must be the last content on the line
(#260) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#260) Only one argument is allowed per line in a multi-line function call
(#260) Closing parenthesis of a multi-line function call must be on a line by itself
(#301) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#337) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#351) Blank line found at start of control structure
(#372) Blank line found at end of control structure
(#375) Blank line found at start of control structure
(#396) Blank line found at end of control structure
(#401) Function closing brace must go on the next line following the body; found 1 blank lines before brace
blocks/point_view/classes/event/reaction_added.php
(#33) Opening brace must not be followed by a blank line
(#65) 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 8 spaces but found 16
(#66) Closing parenthesis of a multi-line function call must be on a line by itself
blocks/point_view/classes/event/reaction_removed.php
(#33) Opening brace must not be followed by a blank line
(#65) 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 8 spaces but found 16
(#66) Closing parenthesis of a multi-line function call must be on a line by itself
blocks/point_view/classes/event/reaction_updated.php
(#33) Opening brace must not be followed by a blank line
(#65) 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 8 spaces but found 16
(#66) Closing parenthesis of a multi-line function call must be on a line by itself
blocks/point_view/classes/module_form.php
(#62) Opening parenthesis of a multi-line function call must be the last content on the line
(#62) Only one argument is allowed per line in a multi-line function call
(#63) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#63) Only one argument is allowed per line in a multi-line function call
(#64) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#69) Opening parenthesis of a multi-line function call must be the last content on the line
(#70) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#70) Closing parenthesis of a multi-line function call must be on a line by itself
(#73) Opening parenthesis of a multi-line function call must be the last content on the line
(#73) Only one argument is allowed per line in a multi-line function call
(#73) Only one argument is allowed per line in a multi-line function call
(#74) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#81) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#82) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#86) Space after opening parenthesis of function call prohibited
(#86) Expected 0 spaces before closing parenthesis; 1 found
blocks/point_view/classes/observer.php
(#32) Opening brace must not be followed by a blank line
(#59) Function closing brace must go on the next line following the body; found 1 blank lines before brace
blocks/point_view/classes/privacy/provider.php
(#43) The interface names in a "class implements" statement should be ordered alphabetically. Expected: \core_privacy\local\metadata\provider, \core_privacy\local\request\core_userlist_provider, \core_privacy\local\request\plugin\provider; Found: \core_privacy\local\request\core_userlist_provider, \core_privacy\local\metadata\provider, \core_privacy\local\request\plugin\provider
(#51) Opening brace must not be followed by a blank line
blocks/point_view/db/upgrade.php
(#79) Space after opening parenthesis of function call prohibited
(#79) Space found before comma in argument list
(#79) Expected no space between "true" and the comma. Found: 1 space
blocks/point_view/edit_form.php
(#39) Opening brace must not be followed by a blank line
(#55) Blank line found at start of control structure
(#78) Opening parenthesis of a multi-line function call must be the last content on the line
(#78) Only one argument is allowed per line in a multi-line function call
(#79) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#79) Closing parenthesis of a multi-line function call must be on a line by itself
(#91) Opening parenthesis of a multi-line function call must be the last content on the line
(#91) Only one argument is allowed per line in a multi-line function call
(#92) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#92) Closing parenthesis of a multi-line function call must be on a line by itself
(#113) Opening parenthesis of a multi-line function call must be the last content on the line
(#113) Only one argument is allowed per line in a multi-line function call
(#114) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#115) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#115) Only one argument is allowed per line in a multi-line function call
(#116) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#117) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#118) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#119) Multi-line function call not indented correctly; expected 16 spaces but found 24
(#119) Closing parenthesis of a multi-line function call must be on a line by itself
(#131) Blank line found at start of control structure
(#136) Opening parenthesis of a multi-line function call must be the last content on the line
(#136) Only one argument is allowed per line in a multi-line function call
(#137) Multi-line function call not indented correctly; expected 24 spaces but found 28
(#138) Multi-line function call not indented correctly; expected 24 spaces but found 28
(#138) Only one argument is allowed per line in a multi-line function call
(#139) Multi-line function call not indented correctly; expected 24 spaces but found 28
(#140) Multi-line function call not indented correctly; expected 24 spaces but found 28
(#141) Multi-line function call not indented correctly; expected 24 spaces but found 28
(#142) Multi-line function call not indented correctly; expected 20 spaces but found 28
(#142) 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
(#151) Only one argument is allowed per line in a multi-line function call
(#152) Multi-line function call not indented correctly; expected 16 spaces but found 24
(#152) Closing parenthesis of a multi-line function call must be on a line by itself
(#166) Opening parenthesis of a multi-line function call must be the last content on the line
(#166) Only one argument is allowed per line in a multi-line function call
(#167) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#167) Only one argument is allowed per line in a multi-line function call
(#167) Closing parenthesis of a multi-line function call must be on a line by itself
(#169) Opening parenthesis of a multi-line function call must be the last content on the line
(#169) Only one argument is allowed per line in a multi-line function call
(#170) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#170) Only one argument is allowed per line in a multi-line function call
(#170) Closing parenthesis of a multi-line function call must be on a line by itself
(#192) Opening parenthesis of a multi-line function call must be the last content on the line
(#192) Only one argument is allowed per line in a multi-line function call
(#192) Only one argument is allowed per line in a multi-line function call
(#192) Only one argument is allowed per line in a multi-line function call
(#193) Multi-line function call not indented correctly; expected 20 spaces but found 28
(#193) Closing parenthesis of a multi-line function call must be on a line by itself
(#203) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#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
(#252) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#252) Multi-line function declarations must define one parameter per line
(#252) Multi-line function declarations must define one parameter per line
(#253) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#253) Multi-line function declarations must define one parameter per line
(#253) Multi-line function declarations must define one parameter per line
(#253) Multi-line function declarations must define one parameter per line
(#253) Multi-line function declarations must define one parameter per line
(#253) Multi-line function declarations must define one parameter per line
(#253) The closing parenthesis of a multi-line function declaration must be on a new line
(#264) Opening parenthesis of a multi-line function call must be the last content on the line
(#264) Only one argument is allowed per line in a multi-line function call
(#264) Only one argument is allowed per line in a multi-line function call
(#265) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#265) Closing parenthesis of a multi-line function call must be on a line by itself
(#284) Opening parenthesis of a multi-line function call must be the last content on the line
(#284) Only one argument is allowed per line in a multi-line function call
(#285) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#285) Only one argument is allowed per line in a multi-line function call
(#286) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#291) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#295) Opening parenthesis of a multi-line function call must be the last content on the line
(#296) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#296) Closing parenthesis of a multi-line function call must be on a line by itself
(#299) Opening parenthesis of a multi-line function call must be the last content on the line
(#299) Only one argument is allowed per line in a multi-line function call
(#299) Only one argument is allowed per line in a multi-line function call
(#300) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#307) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#310) Space after opening parenthesis of function call prohibited
(#310) Expected 0 spaces before closing parenthesis; 1 found
(#312) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#320) Space after opening parenthesis of function call prohibited
(#320) Expected 0 spaces before closing parenthesis; 1 found
(#387) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#388) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#389) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#390) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#391) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#392) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#399) Blank line found at start of control structure
(#404) Opening parenthesis of a multi-line function call must be the last content on the line
(#405) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#406) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#413) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#418) Blank line found at end of control structure
(#432) Opening parenthesis of a multi-line function call must be the last content on the line
(#432) Only one argument is allowed per line in a multi-line function call
(#432) Only one argument is allowed per line in a multi-line function call
(#433) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#433) Only one argument is allowed per line in a multi-line function call
(#433) Only one argument is allowed per line in a multi-line function call
(#433) Closing parenthesis of a multi-line function call must be on a line by itself
(#481) Blank line found at start of control structure
(#508) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#514) Blank line found at start of control structure
(#518) Blank line found at start of control structure
(#528) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#577) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#586) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#588) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#599) Function closing brace must go on the next line following the body; found 1 blank lines before brace
blocks/point_view/externallib.php
(#72) Expected 0 spaces before closing parenthesis; newline found
(#79) The CASE body must start on the line following the statement
(#81) 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 16 spaces but found 24
(#82) Only one argument is allowed per line in a multi-line function call
(#82) Only one argument is allowed per line in a multi-line function call
(#82) Closing parenthesis of a multi-line function call must be on a line by itself
(#141) Long list syntax is not allowed
(#167) Multi-line function call not indented correctly; expected 12 spaces but found 16
blocks/point_view/lib.php
(#106) Expected 1 space after SWITCH keyword; 0 found
(#107) There must be no space before the colon in a CASE statement
blocks/point_view/locallib.php
(#42) Opening parenthesis of a multi-line function call must be the last content on the line
(#42) Only one argument is allowed per line in a multi-line function call
(#42) Only one argument is allowed per line in a multi-line function call
(#43) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#43) Closing parenthesis of a multi-line function call must be on a line by itself
(#63) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#101) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#103) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#137) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#138) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#179) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#180) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#192) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#193) Each line in a multi-line control structure must be indented at least once; expected at least 12 spaces, but found 8
(#194) Each line in a multi-line control structure must be indented at least once; expected at least 12 spaces, but found 8
(#194) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#203) Long list syntax is not allowed
(#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
(#209) Blank line found at start of control structure
(#278) Space after opening parenthesis of function call prohibited
(#278) Expected 0 spaces before closing parenthesis; 1 found
(#279) Blank line found at end of control structure
blocks/point_view/overview.php
(#100) Blank line found at start of control structure
(#102) Blank line found at start of control structure
(#120) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#129) Multi-line function call not indented correctly; expected 16 spaces but found 24
(#129) Closing parenthesis of a multi-line function call must be on a line by itself
(#170) Expected 1 space after FUNCTION keyword; 0 found
(#175) Opening parenthesis of a multi-line function call must be the last content on the line
(#176) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#177) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#178) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#182) Blank line found at end of control structure
(#205) Expected at least 1 space before "."; 0 found
(#233) Blank line found at start of control structure
(#276) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#277) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#278) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#279) Multi-line function call not indented correctly; expected 8 spaces but found 12
blocks/point_view/settings.php
(#29) Blank line found at start of control structure

Javascript coding style problems

(0 errors, 1 warnings)

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

blocks/point_view/amd/src/script_point_view.js
(#32) Read-only global 'MutationObserver' should not be modified. (no-global-assign)

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

(3 errors, 0 warnings)

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

blocks/point_view/amd/build/script_config_point_view.min.js.map
Uncommitted change detected.
blocks/point_view/amd/build/script_menu_point_view.min.js.map
Uncommitted change detected.
blocks/point_view/amd/build/script_point_view.min.js.map
Uncommitted change detected.

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]