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

(580 errors, 0 warnings)

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

local/learningtools/classes/learningtools.php
(#29) Opening brace must not be followed by a blank line
local/learningtools/classes/output/general_action_bar.php
(#32) Opening brace must not be followed by a blank line
(#83) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#83) Multi-line function declarations must define one parameter per line
(#83) Multi-line function declarations must define one parameter per line
(#83) Multi-line function declarations must define one parameter per line
(#83) Multi-line function declarations must define one parameter per line
(#84) Multi-line function declarations must define one parameter per line
(#84) The closing parenthesis of a multi-line function declaration must be on a new line
(#111) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#112) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#113) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#114) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#115) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#116) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#117) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#118) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#119) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#120) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#121) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#170) Blank line found at start of control structure
(#179) Opening parenthesis of a multi-line function call must be the last content on the line
(#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
(#180) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#180) Closing parenthesis of a multi-line function call must be on a line by itself
(#184) Expected at least 1 space before "."; 0 found
(#184) Expected at least 1 space after "."; 0 found
(#299) Blank line found at end of control structure
local/learningtools/classes/plugininfo/ltool.php
(#33) Opening brace must not be followed by a blank line
(#66) Expected at least 1 space before "."; 0 found
(#66) Expected at least 1 space after "."; 0 found
(#66) Expected at least 1 space before "."; 0 found
(#66) Expected at least 1 space after "."; 0 found
(#103) Expected at least 1 space before "."; 0 found
(#108) The closing brace for the class must go on the next line after the body
local/learningtools/classes/privacy/provider.php
(#29) Opening brace must not be followed by a blank line
local/learningtools/learningtoolslist.php
(#26) Expected at least 1 space before "."; 0 found
(#26) Expected at least 1 space after "."; 0 found
(#76) Expected at least 1 space before "."; 0 found
(#76) Expected at least 1 space after "."; 0 found
(#76) Expected at least 1 space before "."; 0 found
(#76) Expected at least 1 space after "."; 0 found
(#77) Expected at least 1 space before "."; 0 found
(#77) Expected at least 1 space after "."; 0 found
(#77) Expected at least 1 space before "."; 0 found
(#77) Expected at least 1 space after "."; 0 found
(#93) Expected at least 1 space before "."; 0 found
(#93) Expected at least 1 space after "."; 0 found
(#122) Opening parenthesis of a multi-line function call must be the last content on the line
(#123) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#123) Closing parenthesis of a multi-line function call must be on a line by itself
(#123) Expected at least 1 space before "."; 0 found
(#128) Expected at least 1 space before "."; 0 found
(#128) Expected at least 1 space after "."; 0 found
(#128) Opening parenthesis of a multi-line function call must be the last content on the line
(#129) Multi-line function call not indented correctly; expected 12 spaces but found 8
(#130) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#130) Closing parenthesis of a multi-line function call must be on a line by itself
local/learningtools/lib.php
(#94) Parentheses must be used when instantiating a new class
(#103) Blank line found at end of control structure
(#109) Blank line found at end of control structure
(#127) Parentheses must be used when instantiating a new class
(#155) Incorrect spacing between argument "$userid" and equals sign; expected 1 but found 0
(#189) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#252) Blank line found at start of control structure
(#268) Blank line found at end of control structure
(#274) Expected 0 spaces after opening bracket; 1 found
(#274) Expected 0 spaces before closing bracket; 1 found
(#293) Expected at least 1 space before "."; 0 found
(#293) Expected at least 1 space after "."; 0 found
(#345) Expected at least 1 space before "."; 0 found
(#345) Expected at least 1 space after "."; 0 found
(#345) Expected at least 1 space before "."; 0 found
(#345) Expected at least 1 space after "."; 0 found
(#345) Expected at least 1 space before "."; 0 found
(#395) Expected 0 spaces before closing parenthesis; 1 found
(#416) Expected at least 1 space before "."; 0 found
(#416) Expected at least 1 space after "."; 0 found
(#416) Expected at least 1 space before "."; 0 found
(#416) Expected at least 1 space after "."; 0 found
(#416) Expected at least 1 space before "."; 0 found
(#419) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#420) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#425) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#426) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#453) Incorrect spacing between argument "$capability" and equals sign; expected 1 but found 0
(#453) Incorrect spacing between default value and equals sign for argument "$capability"; expected 1 but found 0
(#529) Expected 0 spaces before closing bracket; 1 found
(#533) Parentheses must be used when instantiating a new class
(#550) Expected 0 spaces before closing bracket; 1 found
(#563) Parentheses must be used when instantiating a new class
(#625) Opening parenthesis of a multi-line function call must be the last content on the line
(#625) Only one argument is allowed per line in a multi-line function call
(#625) Only one argument is allowed per line in a multi-line function call
(#625) Only one argument is allowed per line in a multi-line function call
(#625) Only one argument is allowed per line in a multi-line function call
(#626) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#626) Closing parenthesis of a multi-line function call must be on a line by itself
local/learningtools/ltool/bookmarks/classes/bookmarks.php
(#28) Expected at least 1 space before "."; 0 found
(#28) Expected at least 1 space after "."; 0 found
(#30) Expected at least 1 space before "."; 0 found
(#30) Expected at least 1 space after "."; 0 found
(#35) Opening brace must not be followed by a blank line
(#86) Expected at least 1 space before "."; 0 found
(#86) Expected at least 1 space after "."; 0 found
(#86) Expected at least 1 space before "."; 0 found
(#86) Expected at least 1 space after "."; 0 found
(#86) Expected at least 1 space before "."; 0 found
(#86) Expected at least 1 space after "."; 0 found
(#86) Expected at least 1 space before "."; 0 found
(#86) Expected at least 1 space after "."; 0 found
(#140) The closing brace for the class must go on the next line after the body
local/learningtools/ltool/bookmarks/classes/bookmarkstool_filter.php
(#30) Expected at least 1 space before "."; 0 found
(#30) Expected at least 1 space after "."; 0 found
(#34) Opening brace must not be followed by a blank line
(#228) Expected at least 1 space before "&&"; 0 found
(#315) Blank line found at start of control structure
(#342) Blank line found at end of control structure
(#349) Each PHP statement must be on a line by itself
(#368) The closing brace for the class must go on the next line after the body
local/learningtools/ltool/bookmarks/classes/bookmarkstool_table.php
(#36) Expected at least 1 space before "."; 0 found
(#36) Expected at least 1 space after "."; 0 found
(#37) Expected at least 1 space before "."; 0 found
(#42) Opening brace must not be followed by a blank line
(#180) Blank line found at start of control structure
(#202) Blank line found at end of control structure
(#210) Each PHP statement must be on a line by itself
local/learningtools/ltool/bookmarks/classes/event/ltbookmarks_created.php
(#30) Opening brace must not be followed by a blank line
(#73) The closing brace for the class must go on the next line after the body
local/learningtools/ltool/bookmarks/classes/event/ltbookmarks_deleted.php
(#31) Opening brace must not be followed by a blank line
local/learningtools/ltool/bookmarks/classes/event/ltbookmarks_viewed.php
(#31) Opening brace must not be followed by a blank line
local/learningtools/ltool/bookmarks/classes/event_observer.php
(#27) Expected at least 1 space before "."; 0 found
(#27) Expected at least 1 space after "."; 0 found
(#32) Opening brace must not be followed by a blank line
local/learningtools/ltool/bookmarks/classes/external.php
(#29) Expected at least 1 space before "."; 0 found
(#29) Expected at least 1 space after "."; 0 found
(#59) Expected at least 1 space before "."; 0 found
(#59) Expected at least 1 space after "."; 0 found
(#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 8 spaces but found 24
(#63) Closing parenthesis of a multi-line function call must be on a line by itself
local/learningtools/ltool/bookmarks/classes/privacy/provider.php
(#26) Header blocks must not contain blank lines
(#39) 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
(#42) Opening brace must not be followed by a blank line
(#62) There should be a comma after the last array item in a multi-line array.
(#126) Long list syntax is not allowed
(#198) Expected 1 space after FUNCTION keyword; 0 found
(#222) Expected at least 1 space before "."; 0 found
(#222) Expected at least 1 space after "."; 0 found
(#222) Expected at least 1 space before "."; 0 found
(#222) Expected at least 1 space after "."; 0 found
local/learningtools/ltool/bookmarks/db/install.php
(#30) Expected at least 1 space before "."; 0 found
local/learningtools/ltool/bookmarks/db/upgrade.php
(#34) Opening parenthesis of a multi-line function call must be the last content on the line
(#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) Only one argument is allowed per line in a multi-line function call
(#35) Only one argument is allowed per line in a multi-line function call
(#35) Only one argument is allowed per line in a multi-line function call
(#35) Only one argument is allowed per line in a multi-line function call
(#35) Closing parenthesis of a multi-line function call must be on a line by itself
(#39) Opening parenthesis of a multi-line function call must be the last content on the line
(#39) Only one argument is allowed per line in a multi-line function call
(#39) Only one argument is allowed per line in a multi-line function call
(#39) Only one argument is allowed per line in a multi-line function call
(#39) Only one argument is allowed per line in a multi-line function call
(#39) Only one argument is allowed per line in a multi-line function call
(#39) Only one argument is allowed per line in a multi-line function call
(#40) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#40) Closing parenthesis of a multi-line function call must be on a line by itself
local/learningtools/ltool/bookmarks/lib.php
(#28) Expected at least 1 space before "."; 0 found
(#51) Opening parenthesis of a multi-line function call must be the last content on the line
(#52) Only one argument is allowed per line in a multi-line function call
(#53) Only one argument is allowed per line in a multi-line function call
(#53) Closing parenthesis of a multi-line function call must be on a line by itself
(#58) Opening parenthesis of a multi-line function call must be the last content on the line
(#58) Only one argument is allowed per line in a multi-line function call
(#59) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#59) Only one argument is allowed per line in a multi-line function call
(#59) Only one argument is allowed per line in a multi-line function call
(#59) Closing parenthesis of a multi-line function call must be on a line by itself
(#78) Blank line found at start of control structure
(#84) Opening parenthesis of a multi-line function call must be the last content on the line
(#85) Only one argument is allowed per line in a multi-line function call
(#86) Only one argument is allowed per line in a multi-line function call
(#86) Closing parenthesis of a multi-line function call must be on a line by itself
(#116) Expected at least 1 space before "."; 0 found
(#122) Space found before comma in argument list
(#122) Expected no space between "$params" and the comma. Found: 1 space
(#172) Expected at least 1 space before "."; 0 found
(#172) Expected at least 1 space before "."; 0 found
(#259) Expected at least 1 space before "."; 0 found
(#326) Expected at least 1 space before "."; 0 found
(#326) Expected at least 1 space after "."; 0 found
(#326) Expected at least 1 space before "."; 0 found
local/learningtools/ltool/bookmarks/list.php
(#25) Expected at least 1 space before "."; 0 found
(#25) Expected at least 1 space after "."; 0 found
(#26) Expected at least 1 space before "."; 0 found
(#27) Expected at least 1 space before "."; 0 found
(#27) Expected at least 1 space after "."; 0 found
(#28) Expected at least 1 space before "."; 0 found
(#71) Blank line found at start of control structure
(#106) Blank line found at start of control structure
(#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) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#195) Only one argument is allowed per line in a multi-line function call
(#195) Closing parenthesis of a multi-line function call must be on a line by itself
(#198) Opening parenthesis of a multi-line function call must be the last content on the line
(#198) Only one argument is allowed per line in a multi-line function call
(#199) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#199) Only one argument is allowed per line in a multi-line function call
(#199) Closing parenthesis of a multi-line function call must be on a line by itself
(#206) Blank line found at start of control structure
(#222) Long list syntax is not allowed
(#223) Expected at least 1 space before "."; 0 found
local/learningtools/ltool/bookmarks/tests/ltool_bookmarks_test.php
(#30) Opening brace must not be followed by a blank line
(#135) Expected at least 1 space before "."; 0 found
(#135) Expected at least 1 space after "."; 0 found
(#148) Opening parenthesis of a multi-line function call must be the last content on the line
(#148) Only one argument is allowed per line in a multi-line function call
(#149) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#149) Closing parenthesis of a multi-line function call must be on a line by itself
local/learningtools/ltool/bookmarks/version.php
(#29) Expected 1 blank line at end of file; 3 found
local/learningtools/ltool/focus/classes/event_observer.php
(#27) Expected at least 1 space before "."; 0 found
(#27) Expected at least 1 space after "."; 0 found
(#32) Opening brace must not be followed by a blank line
local/learningtools/ltool/focus/classes/external.php
(#29) Expected at least 1 space before "."; 0 found
(#29) Expected at least 1 space after "."; 0 found
(#59) Opening parenthesis of a multi-line function call must be the last content on the line
(#60) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#60) Closing parenthesis of a multi-line function call must be on a line by itself
local/learningtools/ltool/focus/classes/focus.php
(#28) Expected at least 1 space before "."; 0 found
(#28) Expected at least 1 space after "."; 0 found
(#30) Expected at least 1 space before "."; 0 found
(#30) Expected at least 1 space after "."; 0 found
(#35) Opening brace must not be followed by a blank line
(#133) Expected 1 blank line at end of file; 2 found
local/learningtools/ltool/focus/classes/privacy/provider.php
(#29) Opening brace must not be followed by a blank line
local/learningtools/ltool/focus/db/install.php
(#31) Expected at least 1 space before "."; 0 found
(#32) Expected at least 1 space before "."; 0 found
local/learningtools/ltool/focus/lib.php
(#26) Expected at least 1 space before "."; 0 found
(#64) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#64) Opening parenthesis of a multi-line function call must be the last content on the line
(#64) Only one argument is allowed per line in a multi-line function call
(#64) Only one argument is allowed per line in a multi-line function call
(#65) Each line in a multi-line control structure must be indented at least once; expected at least 8 spaces, but found 4
(#65) Closing parenthesis of a multi-line function call must be on a line by itself
(#65) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#71) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#71) Opening parenthesis of a multi-line function call must be the last content on the line
(#71) Only one argument is allowed per line in a multi-line function call
(#71) Only one argument is allowed per line in a multi-line function call
(#72) Each line in a multi-line control structure must be indented at least once; expected at least 8 spaces, but found 4
(#72) Only one argument is allowed per line in a multi-line function call
(#72) Only one argument is allowed per line in a multi-line function call
(#72) Closing parenthesis of a multi-line function call must be on a line by itself
(#72) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#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 8 spaces but found 12
(#74) Only one argument is allowed per line in a multi-line function call
(#74) Only one argument is allowed per line in a multi-line function call
(#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
(#101) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#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
(#101) Only one argument is allowed per line in a multi-line function call
(#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
(#102) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#124) Expected at least 1 space before "."; 0 found
(#124) Expected at least 1 space after "."; 0 found
(#124) Expected at least 1 space before "."; 0 found
(#124) Expected at least 1 space after "."; 0 found
local/learningtools/ltool/focus/tests/behat/behat_focus.php
(#29) Useless alias "ExpectationException" found for import of "Behat\Mink\Exception\ExpectationException"
(#39) Opening brace must not be followed by a blank line
local/learningtools/ltool/focus/tests/ltool_focus_test.php
(#37) Expected at least 1 space before "."; 0 found
(#37) Expected at least 1 space after "."; 0 found
local/learningtools/ltool/note/classes/event/ltnote_created.php
(#30) Opening brace must not be followed by a blank line
(#72) The closing brace for the class must go on the next line after the body
local/learningtools/ltool/note/classes/event/ltnote_deleted.php
(#30) Opening brace must not be followed by a blank line
local/learningtools/ltool/note/classes/event/ltnote_edited.php
(#31) Opening brace must not be followed by a blank line
local/learningtools/ltool/note/classes/event/ltnote_viewed.php
(#31) Opening brace must not be followed by a blank line
local/learningtools/ltool/note/classes/event_observer.php
(#27) Expected at least 1 space before "."; 0 found
(#27) Expected at least 1 space after "."; 0 found
(#32) Opening brace must not be followed by a blank line
local/learningtools/ltool/note/classes/external.php
(#28) Expected at least 1 space before "."; 0 found
(#28) Expected at least 1 space after "."; 0 found
(#57) Expected at least 1 space before "."; 0 found
(#57) Expected at least 1 space after "."; 0 found
(#59) Opening parenthesis of a multi-line function call must be the last content on the line
(#60) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#60) Closing parenthesis of a multi-line function call must be on a line by itself
local/learningtools/ltool/note/classes/ltool_note_filter.php
(#35) Expected at least 1 space before "."; 0 found
(#36) Expected at least 1 space before "."; 0 found
(#41) Opening brace must not be followed by a blank line
(#106) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#106) Multi-line function declarations must define one parameter per line
(#106) Multi-line function declarations must define one parameter per line
(#106) Multi-line function declarations must define one parameter per line
(#106) Multi-line function declarations must define one parameter per line
(#107) Multi-line function declarations must define one parameter per line
(#107) Multi-line function declarations must define one parameter per line
(#107) Multi-line function declarations must define one parameter per line
(#107) The closing parenthesis of a multi-line function declaration must be on a new line
(#119) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#135) Long list syntax is not allowed
(#136) Expected at least 1 space before "."; 0 found
(#178) Opening parenthesis of a multi-line function call must be the last content on the line
(#179) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#179) Only one argument is allowed per line in a multi-line function call
(#179) Only one argument is allowed per line in a multi-line function call
(#179) Only one argument is allowed per line in a multi-line function call
(#179) Closing parenthesis of a multi-line function call must be on a line by itself
(#234) Blank line found at end of control structure
(#319) Long list syntax is not allowed
(#320) Expected at least 1 space before "."; 0 found
(#367) Long list syntax is not allowed
(#416) Long list syntax is not allowed
(#421) Opening parenthesis of a multi-line function call must be the last content on the line
(#421) Only one argument is allowed per line in a multi-line function call
(#422) Multi-line function call not indented correctly; expected 24 spaces but found 28
(#422) Only one argument is allowed per line in a multi-line function call
(#422) Closing parenthesis of a multi-line function call must be on a line by itself
(#426) Parentheses must be used when instantiating a new class
(#445) Expected at least 1 space before "."; 0 found
(#445) Expected at least 1 space after "."; 0 found
(#488) Opening parenthesis of a multi-line function call must be the last content on the line
(#489) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#489) Only one argument is allowed per line in a multi-line function call
(#489) Only one argument is allowed per line in a multi-line function call
(#489) Closing parenthesis of a multi-line function call must be on a line by itself
(#540) Blank line found at end of control structure
(#562) Blank line found at end of control structure
(#592) Function closing brace must go on the next line following the body; found 1 blank lines before brace
local/learningtools/ltool/note/classes/note.php
(#28) Expected at least 1 space before "."; 0 found
(#28) Expected at least 1 space after "."; 0 found
(#32) Opening brace must not be followed by a blank line
(#79) Expected at least 1 space before "."; 0 found
(#79) Expected at least 1 space after "."; 0 found
(#136) The closing brace for the class must go on the next line after the body
local/learningtools/ltool/note/classes/output/notes_list.php
(#241) Parentheses must be used when instantiating a new class
local/learningtools/ltool/note/classes/privacy/provider.php
(#27) Header blocks must not contain blank lines
(#41) 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
(#44) Opening brace must not be followed by a blank line
(#130) Long list syntax is not allowed
(#201) Expected 1 space after FUNCTION keyword; 0 found
(#224) Expected at least 1 space before "."; 0 found
(#224) Expected at least 1 space after "."; 0 found
(#224) Expected at least 1 space before "."; 0 found
(#224) Expected at least 1 space after "."; 0 found
(#227) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#229) The closing brace for the class must go on the next line after the body
local/learningtools/ltool/note/db/install.php
(#31) Expected at least 1 space before "."; 0 found
local/learningtools/ltool/note/db/upgrade.php
(#34) Opening parenthesis of a multi-line function call must be the last content on the line
(#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) Only one argument is allowed per line in a multi-line function call
(#35) Only one argument is allowed per line in a multi-line function call
(#35) Only one argument is allowed per line in a multi-line function call
(#35) Only one argument is allowed per line in a multi-line function call
(#35) Closing parenthesis of a multi-line function call must be on a line by itself
(#40) Opening parenthesis of a multi-line function call must be the last content on the line
(#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) 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) 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
(#41) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#41) Closing parenthesis of a multi-line function call must be on a line by itself
(#97) Blank line found at end of control structure
local/learningtools/ltool/note/deletelist.php
(#25) Expected at least 1 space before "."; 0 found
(#25) Expected at least 1 space after "."; 0 found
(#27) Expected at least 1 space before "."; 0 found
(#27) Expected at least 1 space after "."; 0 found
(#56) Blank line found at start of control structure
(#70) Blank line found at end of control structure
(#90) Opening parenthesis of a multi-line function call must be the last content on the line
(#90) Only one argument is allowed per line in a multi-line function call
(#91) Multi-line function call not indented correctly; expected 12 spaces but found 13
(#91) Only one argument is allowed per line in a multi-line function call
(#91) 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
(#94) 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) Closing parenthesis of a multi-line function call must be on a line by itself
local/learningtools/ltool/note/editlist.php
(#25) Expected at least 1 space before "."; 0 found
(#25) Expected at least 1 space after "."; 0 found
(#27) Expected at least 1 space before "."; 0 found
(#27) Expected at least 1 space after "."; 0 found
(#122) Opening parenthesis of a multi-line function call must be the last content on the line
(#122) Only one argument is allowed per line in a multi-line function call
(#123) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#123) Only one argument is allowed per line in a multi-line function call
(#123) Closing parenthesis of a multi-line function call must be on a line by itself
(#133) Blank line found at end of control structure
local/learningtools/ltool/note/lib.php
(#28) Expected at least 1 space before "."; 0 found
(#28) Expected at least 1 space after "."; 0 found
(#29) Expected at least 1 space before "."; 0 found
(#87) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#93) Each class must be in a file by itself
(#107) Space after opening parenthesis of function call prohibited
(#146) Opening parenthesis of a multi-line function call must be the last content on the line
(#147) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#147) Closing parenthesis of a multi-line function call must be on a line by itself
(#148) Opening parenthesis of a multi-line function call must be the last content on the line
(#148) Only one argument is allowed per line in a multi-line function call
(#149) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#149) Only one argument is allowed per line in a multi-line function call
(#149) Only one argument is allowed per line in a multi-line function call
(#149) Closing parenthesis of a multi-line function call must be on a line by itself
(#154) Opening parenthesis of a multi-line function call must be the last content on the line
(#154) Only one argument is allowed per line in a multi-line function call
(#155) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#155) Only one argument is allowed per line in a multi-line function call
(#155) Only one argument is allowed per line in a multi-line function call
(#155) Closing parenthesis of a multi-line function call must be on a line by itself
(#159) Blank line found at start of control structure
(#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 20 spaces but found 24
(#176) Closing parenthesis of a multi-line function call must be on a line by itself
(#177) Opening parenthesis of a multi-line function call must be the last content on the line
(#177) Only one argument is allowed per line in a multi-line function call
(#178) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#178) Only one argument is allowed per line in a multi-line function call
(#178) Only one argument is allowed per line in a multi-line function call
(#178) Closing parenthesis of a multi-line function call must be on a line by itself
(#182) Blank line found at end of control structure
(#199) Expected at least 1 space before "."; 0 found
(#199) Expected at least 1 space after "."; 0 found
(#213) Opening parenthesis of a multi-line function call must be the last content on the line
(#213) Only one argument is allowed per line in a multi-line function call
(#214) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#214) Closing parenthesis of a multi-line function call must be on a line by itself
(#318) Expected at least 1 space before "."; 0 found
(#335) Long list syntax is not allowed
(#353) Expected at least 1 space before "."; 0 found
(#353) Expected at least 1 space after "."; 0 found
(#415) Expected at least 1 space before "."; 0 found
(#415) Expected at least 1 space after "."; 0 found
(#452) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#507) Expected at least 1 space before "."; 0 found
(#507) Expected at least 1 space after "."; 0 found
(#642) Expected at least 1 space before "."; 0 found
(#642) Expected at least 1 space after "."; 0 found
(#642) Expected at least 1 space before "."; 0 found
(#642) Expected at least 1 space before "."; 0 found
(#642) Expected at least 1 space before "."; 0 found
(#660) Expected at least 1 space before "."; 0 found
(#660) Expected at least 1 space after "."; 0 found
(#660) Expected at least 1 space before "."; 0 found
(#660) Expected at least 1 space before "."; 0 found
(#660) Expected at least 1 space before "."; 0 found
(#671) Each PHP statement must be on a line by itself
local/learningtools/ltool/note/list.php
(#25) Expected at least 1 space before "."; 0 found
(#25) Expected at least 1 space after "."; 0 found
(#26) Expected at least 1 space before "."; 0 found
(#27) Expected at least 1 space before "."; 0 found
(#27) Expected at least 1 space after "."; 0 found
(#56) Blank line found at start of control structure
(#71) Blank line found at start of control structure
(#82) Blank line found at start of control structure
(#109) Blank line found at start of control structure
(#117) Blank line found at end of control structure
(#146) Blank line found at end of control structure
(#181) Blank line found at end of control structure
(#203) Opening parenthesis of a multi-line function call must be the last content on the line
(#203) Only one argument is allowed per line in a multi-line function call
(#204) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#204) Only one argument is allowed per line in a multi-line function call
(#204) Closing parenthesis of a multi-line function call must be on a line by itself
(#207) Opening parenthesis of a multi-line function call must be the last content on the line
(#207) Only one argument is allowed per line in a multi-line function call
(#208) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#208) Only one argument is allowed per line in a multi-line function call
(#208) Closing parenthesis of a multi-line function call must be on a line by itself
(#231) Opening parenthesis of a multi-line function call must be the last content on the line
(#231) Only one argument is allowed per line in a multi-line function call
(#232) Multi-line function call not indented correctly; expected 0 spaces but found 4
(#232) Only one argument is allowed per line in a multi-line function call
(#232) Only one argument is allowed per line in a multi-line function call
(#232) Only one argument is allowed per line in a multi-line function call
(#232) Only one argument is allowed per line in a multi-line function call
(#232) Only one argument is allowed per line in a multi-line function call
(#232) Only one argument is allowed per line in a multi-line function call
(#232) Closing parenthesis of a multi-line function call must be on a line by itself
local/learningtools/ltool/note/pop_out.php
(#25) Expected at least 1 space before "."; 0 found
(#25) Expected at least 1 space after "."; 0 found
(#26) Expected at least 1 space before "."; 0 found
(#27) Expected at least 1 space before "."; 0 found
(#27) Expected at least 1 space after "."; 0 found
(#40) Space found before comma in argument list
(#40) Expected no space between "'heading'" and the comma. Found: 1 space
(#41) Space found before comma in argument list
(#41) Expected no space between "'itemtype'" and the comma. Found: 1 space
(#42) Space found before comma in argument list
(#42) Expected no space between "'itemid'" and the comma. Found: 1 space
(#73) Long list syntax is not allowed
(#90) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#91) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#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 12
(#102) Only one argument is allowed per line in a multi-line function call
(#102) Closing parenthesis of a multi-line function call must be on a line by itself
local/learningtools/ltool/note/print.php
(#25) Expected at least 1 space before "."; 0 found
(#25) Expected at least 1 space after "."; 0 found
(#26) Expected at least 1 space before "."; 0 found
(#26) Expected at least 1 space after "."; 0 found
(#27) Expected at least 1 space before "."; 0 found
(#27) Expected at least 1 space after "."; 0 found
local/learningtools/ltool/note/tests/ltool_note_test.php
(#30) Opening brace must not be followed by a blank line
local/learningtools/ltool/note/view.php
(#25) Expected at least 1 space before "."; 0 found
(#25) Expected at least 1 space after "."; 0 found
(#26) Expected at least 1 space before "."; 0 found
(#26) Expected at least 1 space after "."; 0 found
(#67) Opening parenthesis of a multi-line function call must be the last content on the line
(#67) Only one argument is allowed per line in a multi-line function call
(#67) Only one argument is allowed per line in a multi-line function call
(#67) Only one argument is allowed per line in a multi-line function call
(#67) Only one argument is allowed per line in a multi-line function call
(#68) Multi-line function call not indented correctly; expected 0 spaces but found 4
(#68) Only one argument is allowed per line in a multi-line function call
(#68) Closing parenthesis of a multi-line function call must be on a line by itself
local/learningtools/ltool/schedule/classes/privacy/provider.php
(#29) Opening brace must not be followed by a blank line
local/learningtools/ltool/schedule/classes/schedule.php
(#28) Expected at least 1 space before "."; 0 found
(#28) Expected at least 1 space after "."; 0 found
(#30) Expected at least 1 space before "."; 0 found
(#30) Expected at least 1 space after "."; 0 found
(#35) Opening brace must not be followed by a blank line
(#116) Expected 1 blank line at end of file; 2 found
local/learningtools/ltool/schedule/db/install.php
(#31) Expected at least 1 space before "."; 0 found
(#34) Expected 1 blank line at end of file; 2 found
local/learningtools/ltool/schedule/lib.php
(#26) Expected at least 1 space before "."; 0 found
(#27) Expected at least 1 space before "."; 0 found
(#27) Expected at least 1 space after "."; 0 found
(#129) Expected at least 1 space before "."; 0 found
(#129) Expected at least 1 space after "."; 0 found
(#136) Expected at least 1 space after "."; 0 found
(#136) Expected at least 1 space before "."; 0 found
(#148) Opening parenthesis of a multi-line function call must be the last content on the line
(#148) Only one argument is allowed per line in a multi-line function call
(#148) Only one argument is allowed per line in a multi-line function call
(#149) Only one argument is allowed per line in a multi-line function call
(#149) Closing parenthesis of a multi-line function call must be on a line by itself
local/learningtools/ltool/schedule/tests/behat/behat_schedule.php
(#37) Opening brace must not be followed by a blank line
local/learningtools/settings.php
(#25) Expected at least 1 space before "."; 0 found
(#25) Expected at least 1 space after "."; 0 found
(#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 4 spaces but found 12
(#30) 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 4 spaces but found 12
(#33) Closing parenthesis of a multi-line function call must be on a line by itself
(#35) Blank line found at start of control structure
(#95) 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 8 spaces but found 12
(#97) 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
(#100) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#100) 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
(#103) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#103) Closing parenthesis of a multi-line function call must be on a line by itself
(#104) Blank line found at end of control structure
(#115) Opening parenthesis of a multi-line function call must be the last content on the line
(#117) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#117) Closing parenthesis of a multi-line function call must be on a line by itself
local/learningtools/tests/behat/behat_learningtool.php
(#29) Useless alias "TableNode" found for import of "Behat\Gherkin\Node\TableNode"
(#30) Useless alias "ExpectationException" found for import of "Behat\Mink\Exception\ExpectationException"
(#31) Useless alias "DriverException" found for import of "Behat\Mink\Exception\DriverException"
(#32) Useless alias "ElementNotFoundException" found for import of "Behat\Mink\Exception\ElementNotFoundException"
(#41) Opening brace must not be followed by a blank line
local/learningtools/tests/local_learningtools_test.php
(#29) Opening brace must not be followed by a blank line

Javascript coding style problems

(71 errors, 18 warnings)

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

local/learningtools/ltool/bookmarks/amd/src/learningbookmarks.js
(#160) Missing JSDoc @param "button" declaration. (jsdoc/require-param)
(#216) A space is required after ','. (comma-spacing)
local/learningtools/ltool/note/amd/src/learningnote.js
(#24) This line has a length of 153. Maximum allowed is 132. (max-len)
(#25) Unexpected space before function parentheses. (space-before-function-paren)
(#27) 'ltool_note_config' is defined but never used. (no-unused-vars)
(#30) Missing semicolon. (@babel/semi)
(#38) Missing semicolon. (@babel/semi)
(#43) Unexpected space before function parentheses. (space-before-function-paren)
(#50) Unexpected space before function parentheses. (space-before-function-paren)
(#50) 'e' is defined but never used. (no-unused-vars)
(#89) Unexpected console statement. (no-console)
(#104) Missing semicolon. (@babel/semi)
(#108) Missing semicolon. (@babel/semi)
(#109) Missing semicolon. (@babel/semi)
(#110) Missing semicolon. (@babel/semi)
(#111) Missing semicolon. (@babel/semi)
(#116) Missing semicolon. (@babel/semi)
(#126) Missing semicolon. (@babel/semi)
(#130) Each then() should return a value or throw (promise/always-return)
(#131) Missing semicolon. (@babel/semi)
(#133) Missing semicolon. (@babel/semi)
(#134) Missing semicolon. (@babel/semi)
(#135) Missing semicolon. (@babel/semi)
(#138) Unexpected console statement. (no-console)
(#138) Missing semicolon. (@babel/semi)
(#140) Missing semicolon. (@babel/semi)
(#141) Missing semicolon. (@babel/semi)
(#192) Missing JSDoc comment. (jsdoc/require-jsdoc)
(#194) Unexpected space before function parentheses. (space-before-function-paren)
(#206) Unexpected space before function parentheses. (space-before-function-paren)
(#210) Unexpected space before function parentheses. (space-before-function-paren)
(#214) Unexpected space before function parentheses. (space-before-function-paren)
(#225) Unexpected space before function parentheses. (space-before-function-paren)
(#241) Unnecessary semicolon. (no-extra-semi)
(#253) Unexpected space before function parentheses. (space-before-function-paren)
(#262) Unexpected space before function parentheses. (space-before-function-paren)
(#306) Missing JSDoc @param "params" declaration. (jsdoc/require-param)
(#306) Missing JSDoc @param "contentDesigner" declaration. (jsdoc/require-param)
(#318) There should be no space after '{'. (@babel/object-curly-spacing)
(#318) There should be no space before '}'. (@babel/object-curly-spacing)
(#319) Unexpected space before function parentheses. (space-before-function-paren)
(#325) Unexpected space before function parentheses. (space-before-function-paren)
(#342) Unexpected space before function parentheses. (space-before-function-paren)
(#350) Unexpected space before function parentheses. (space-before-function-paren)
(#379) Missing semicolon. (@babel/semi)
(#380) Missing semicolon. (@babel/semi)
(#384) Missing semicolon. (@babel/semi)
(#385) Missing semicolon. (@babel/semi)
(#387) Missing semicolon. (@babel/semi)
(#388) Missing semicolon. (@babel/semi)
(#389) Missing semicolon. (@babel/semi)
(#392) Missing semicolon. (@babel/semi)
(#393) Missing semicolon. (@babel/semi)
(#394) Missing semicolon. (@babel/semi)
(#395) Missing semicolon. (@babel/semi)
(#396) Missing semicolon. (@babel/semi)
(#398) Expected { after 'if' condition. (curly)
(#398) Missing semicolon. (@babel/semi)
(#399) Expected { after 'if' condition. (curly)
(#399) Missing semicolon. (@babel/semi)
(#400) Expected { after 'if' condition. (curly)
(#400) Missing semicolon. (@babel/semi)
(#401) Expected { after 'if' condition. (curly)
(#401) Missing semicolon. (@babel/semi)
(#403) Missing semicolon. (@babel/semi)
(#410) Missing semicolon. (@babel/semi)
(#414) Missing semicolon. (@babel/semi)
(#417) Missing semicolon. (@babel/semi)
(#420) Missing JSDoc comment. (jsdoc/require-jsdoc)
(#420) 'getnotescontents' is defined but never used. (no-unused-vars)
local/learningtools/ltool/note/amd/src/print.js
(#24) '$' is defined but never used. (no-unused-vars)
(#30) Missing semicolon. (@babel/semi)
(#33) Missing semicolon. (@babel/semi)
(#34) Missing semicolon. (@babel/semi)
(#35) Missing semicolon. (@babel/semi)
(#39) Missing semicolon. (@babel/semi)
(#42) Missing semicolon. (@babel/semi)
(#43) Missing semicolon. (@babel/semi)
(#44) Missing semicolon. (@babel/semi)
(#51) Missing semicolon. (@babel/semi)
(#52) Missing semicolon. (@babel/semi)
(#56) Missing semicolon. (@babel/semi)
(#57) Missing semicolon. (@babel/semi)
(#59) Missing semicolon. (@babel/semi)
(#62) Missing semicolon. (@babel/semi)
(#64) Missing semicolon. (@babel/semi)
(#65) Missing semicolon. (@babel/semi)
(#71) Missing semicolon. (@babel/semi)
(#72) Missing semicolon. (@babel/semi)

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]

local/learningtools/ltool/note/templates/navigationheader.mustache
(#1) Template produced no content
local/learningtools/ltool/note/templates/print_notes.mustache
(#1) HTML Validation info, line 5: Empty heading. (> <h1 class="ltool-note-print-title"></h1>)

Gherkin .feature problems

(0 errors, 0 warnings)

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