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

(269 errors, 2 warnings)

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

local/notificationsagent/action/addusergroup/tests/addusergroup_test.php
(#188) Expected at least 1 space before "."; 0 found
(#188) Expected at least 1 space after "."; 0 found
(#188) Expected at least 1 space before "."; 0 found
(#188) Expected at least 1 space after "."; 0 found
local/notificationsagent/action/bootstrapnotifications/classes/bootstrapnotifications.php
(#142) Line exceeds 132 characters; contains 147 characters
local/notificationsagent/action/bootstrapnotifications/classes/privacy/provider.php
(#50) Opening brace must not be followed by a blank line
(#99) Blank line found at start of control structure
(#104) Only one argument is allowed per line in a multi-line function call
local/notificationsagent/action/bootstrapnotifications/tests/bootstrapnotifications_test.php
(#201) Expected at least 1 space before "."; 0 found
(#201) Expected at least 1 space after "."; 0 found
(#201) Expected at least 1 space before "."; 0 found
(#201) Expected at least 1 space after "."; 0 found
local/notificationsagent/action/bootstrapnotifications/tests/privacy/provider_test.php
(#48) Opening brace must not be followed by a blank line
(#73) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#108) Opening parenthesis of a multi-line function call must be the last content on the line
(#108) Only one argument is allowed per line in a multi-line function call
(#109) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#109) Closing parenthesis of a multi-line function call must be on a line by itself
(#194) Function closing brace must go on the next line following the body; found 1 blank lines before brace
local/notificationsagent/action/forummessage/tests/forummessage_test.php
(#199) Expected at least 1 space before "."; 0 found
(#199) Expected at least 1 space after "."; 0 found
(#199) Expected at least 1 space before "."; 0 found
(#199) Expected at least 1 space after "."; 0 found
local/notificationsagent/action/messageagent/tests/messageagent_test.php
(#202) Expected at least 1 space before "."; 0 found
(#202) Expected at least 1 space after "."; 0 found
(#202) Expected at least 1 space before "."; 0 found
(#202) Expected at least 1 space after "."; 0 found
local/notificationsagent/action/privateforummessage/tests/privateforummessage_test.php
(#262) Expected at least 1 space before "."; 0 found
(#262) Expected at least 1 space after "."; 0 found
(#262) Expected at least 1 space before "."; 0 found
(#262) Expected at least 1 space after "."; 0 found
local/notificationsagent/action/removeusergroup/tests/removeusergroup_test.php
(#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
local/notificationsagent/action/usermessageagent/classes/usermessageagent.php
(#101) Expected 0 spaces before closing bracket; 1 found
local/notificationsagent/action/usermessageagent/tests/usermessageagent_test.php
(#220) Expected at least 1 space before "."; 0 found
(#220) Expected at least 1 space after "."; 0 found
(#220) Expected at least 1 space before "."; 0 found
(#220) Expected at least 1 space after "."; 0 found
local/notificationsagent/adminlib.php
(#106) Each class must be in a file by itself
local/notificationsagent/assign.php
(#37) Expected at least 1 space after "."; 0 found
(#38) Expected at least 1 space after "."; 0 found
local/notificationsagent/assignrule.php
(#95) Blank line found at end of control structure
(#107) Blank line found at end of control structure
local/notificationsagent/backup/moodle2/restore_local_notificationsagent_plugin.class.php
(#309) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#310) The closing parenthesis of a multi-line control structure must be on the line after the last expression
local/notificationsagent/classes/external/check_rule_context.php
(#38) Header blocks must not contain blank lines
local/notificationsagent/classes/external/share_rule_all.php
(#108) Multi-line function call not indented correctly; expected 24 spaces but found 23
local/notificationsagent/classes/form/editrule_form.php
(#521) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#521) Closing parenthesis of a multi-line function call must be on a line by itself
(#533) Opening parenthesis of a multi-line function call must be the last content on the line
(#533) Only one argument is allowed per line in a multi-line function call
(#535) Multi-line function call not indented correctly; expected 24 spaces but found 20
(#536) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#536) Closing parenthesis of a multi-line function call must be on a line by itself
(#536) Closing parenthesis of a multi-line function call must be on a line by itself
local/notificationsagent/classes/form/import_form.php
(#38) Opening brace must not be followed by a blank line
(#57) Expected 1 space after FUNCTION keyword; 0 found
(#157) Opening parenthesis of a multi-line function call must be the last content on the line
(#157) Only one argument is allowed per line in a multi-line function call
(#157) Only one argument is allowed per line in a multi-line function call
(#157) Only one argument is allowed per line in a multi-line function call
(#158) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#158) Closing parenthesis of a multi-line function call must be on a line by itself
local/notificationsagent/classes/local/entities/rule.php
(#64) Expected no space between "'user'" and the comma. Found: 1 space
(#147) Expected 1 space after FUNCTION keyword; 0 found
(#154) Opening parenthesis of a multi-line function call must be the last content on the line
(#154) Opening parenthesis of a multi-line function call must be the last content on the line
(#155) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#155) Closing parenthesis of a multi-line function call must be on a line by itself
(#156) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#156) Expected at least 1 space before "."; 0 found
(#156) Expected at least 1 space after "."; 0 found
(#156) Expected at least 1 space before "."; 0 found
(#156) Expected at least 1 space after "."; 0 found
(#156) Closing parenthesis of a multi-line function call must be on a line by itself
local/notificationsagent/classes/notificationactionplugin.php
(#123) Opening parenthesis of a multi-line function call must be the last content on the line
(#124) Multi-line function call not indented correctly; expected 16 spaces but found 12
(#125) Multi-line function call not indented correctly; expected 16 spaces but found 17
(#128) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#128) Closing parenthesis of a multi-line function call must be on a line by itself
(#131) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#131) Closing parenthesis of a multi-line function call must be on a line by itself
(#142) Blank line found at end of control structure
local/notificationsagent/classes/notificationsagent.php
(#400) Expected 0 spaces between argument "$insertdata" and comma; 1 found
(#400) Expected no space between "$insertdata" and the comma. Found: 1 space
(#419) Expected 0 spaces between argument "$insertdata" and comma; 1 found
(#419) Expected no space between "$insertdata" and the comma. Found: 1 space
local/notificationsagent/classes/privacy/provider.php
(#172) Space after opening parenthesis of function call prohibited
(#243) Space found before comma in argument list
(#243) Expected no space between "'notificationsagent_context'" and the comma. Found: 1 space
(#268) Space found before comma in argument list
(#268) Expected no space between "'notificationsagent_context'" and the comma. Found: 1 space
(#279) The closing brace for the class must go on the next line after the body
local/notificationsagent/classes/rule.php
(#212) Each PHP statement must be on a line by itself
(#369) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#369) Closing parenthesis of a multi-line function call must be on a line by itself
(#1973) Expected 0 spaces before closing bracket; 1 found
local/notificationsagent/condition/activityavailable/tests/activityavailable_test.php
(#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
local/notificationsagent/condition/activitycompleted/classes/activitycompleted.php
(#94) Blank line found at end of control structure
local/notificationsagent/condition/activitycompleted/tests/activitycompleted_test.php
(#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
local/notificationsagent/condition/activityend/tests/activityend_test.php
(#234) Expected at least 1 space before "."; 0 found
(#234) Expected at least 1 space after "."; 0 found
(#234) Expected at least 1 space before "."; 0 found
(#234) Expected at least 1 space after "."; 0 found
local/notificationsagent/condition/activitylastsend/lang/eu/notificationscondition_activitylastsend.php
(#46) Expected 1 blank line at end of file; 2 found
local/notificationsagent/condition/activitylastsend/tests/activitylastsend_test.php
(#209) Expected at least 1 space before "."; 0 found
(#209) Expected at least 1 space after "."; 0 found
(#209) Expected at least 1 space before "."; 0 found
(#209) Expected at least 1 space after "."; 0 found
local/notificationsagent/condition/activitymodified/tests/activitymodified_test.php
(#245) Expected at least 1 space before "."; 0 found
(#245) Expected at least 1 space after "."; 0 found
(#245) Expected at least 1 space before "."; 0 found
(#245) Expected at least 1 space after "."; 0 found
local/notificationsagent/condition/activitynewcontent/lang/ca/notificationscondition_activitynewcontent.php
(#45) Expected 1 blank line at end of file; 2 found
local/notificationsagent/condition/activitynewcontent/lang/es/notificationscondition_activitynewcontent.php
(#46) Expected 1 blank line at end of file; 2 found
local/notificationsagent/condition/activitynewcontent/lang/eu/notificationscondition_activitynewcontent.php
(#46) Expected 1 blank line at end of file; 2 found
local/notificationsagent/condition/activitynewcontent/lang/gl/notificationscondition_activitynewcontent.php
(#45) Expected 1 blank line at end of file; 2 found
local/notificationsagent/condition/activitynewcontent/tests/activitynewcontent_test.php
(#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
local/notificationsagent/condition/activityopen/lang/es/notificationscondition_activityopen.php
(#46) Expected 1 blank line at end of file; 2 found
local/notificationsagent/condition/activityopen/tests/activityopen_test.php
(#227) Expected at least 1 space before "."; 0 found
(#227) Expected at least 1 space after "."; 0 found
(#227) Expected at least 1 space before "."; 0 found
(#227) Expected at least 1 space after "."; 0 found
local/notificationsagent/condition/activitysinceend/tests/activitysinceend_test.php
(#246) Expected at least 1 space before "."; 0 found
(#246) Expected at least 1 space after "."; 0 found
(#246) Expected at least 1 space before "."; 0 found
(#246) Expected at least 1 space after "."; 0 found
local/notificationsagent/condition/activitystudentend/classes/privacy/provider.php
(#53) Opening brace must not be followed by a blank line
(#205) The closing brace for the class must go on the next line after the body
local/notificationsagent/condition/activitystudentend/tests/activitystudentend_test.php
(#255) Expected at least 1 space before "."; 0 found
(#255) Expected at least 1 space after "."; 0 found
(#255) Expected at least 1 space before "."; 0 found
(#255) Expected at least 1 space after "."; 0 found
local/notificationsagent/condition/activitystudentend/tests/privacy/provider_test.php
(#50) Opening brace must not be followed by a blank line
(#76) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#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 8 spaces but found 12
(#114) Closing parenthesis of a multi-line function call must be on a line by itself
(#196) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#219) The closing brace for the class must go on the next line after the body
local/notificationsagent/condition/calendareventto/tests/calendareventto_test.php
(#234) Expected at least 1 space before "."; 0 found
(#234) Expected at least 1 space after "."; 0 found
(#234) Expected at least 1 space before "."; 0 found
(#234) Expected at least 1 space after "."; 0 found
local/notificationsagent/condition/calendarstart/tests/calendarstart_test.php
(#234) Expected at least 1 space before "."; 0 found
(#234) Expected at least 1 space after "."; 0 found
(#234) Expected at least 1 space before "."; 0 found
(#234) Expected at least 1 space after "."; 0 found
local/notificationsagent/condition/courseend/tests/courseend_test.php
(#209) Expected at least 1 space before "."; 0 found
(#209) Expected at least 1 space after "."; 0 found
(#209) Expected at least 1 space before "."; 0 found
(#209) Expected at least 1 space after "."; 0 found
local/notificationsagent/condition/coursestart/lang/es/notificationscondition_coursestart.php
(#46) Expected 1 blank line at end of file; 2 found
local/notificationsagent/condition/coursestart/lang/gl/notificationscondition_coursestart.php
(#46) Expected 1 blank line at end of file; 2 found
local/notificationsagent/condition/coursestart/tests/coursestart_test.php
(#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
local/notificationsagent/condition/forumnoreply/classes/forumnoreply.php
(#114) Multi-line function call not indented correctly; expected 16 spaces but found 15
(#293) Space after opening parenthesis of function call prohibited
local/notificationsagent/condition/forumnoreply/lang/ca/notificationscondition_forumnoreply.php
(#45) Expected 1 blank line at end of file; 2 found
local/notificationsagent/condition/forumnoreply/lang/es/notificationscondition_forumnoreply.php
(#46) Expected 1 blank line at end of file; 2 found
local/notificationsagent/condition/forumnoreply/lang/eu/notificationscondition_forumnoreply.php
(#46) Expected 1 blank line at end of file; 2 found
local/notificationsagent/condition/forumnoreply/lang/gl/notificationscondition_forumnoreply.php
(#46) Expected 1 blank line at end of file; 2 found
local/notificationsagent/condition/forumnoreply/tests/forumnoreply_test.php
(#214) Expected at least 1 space before "."; 0 found
(#214) Expected at least 1 space after "."; 0 found
(#214) Expected at least 1 space before "."; 0 found
(#214) Expected at least 1 space after "."; 0 found
local/notificationsagent/condition/itemgraded/tests/itemgraded_test.php
(#238) Expected at least 1 space before "."; 0 found
(#238) Expected at least 1 space after "."; 0 found
(#238) Expected at least 1 space before "."; 0 found
(#238) Expected at least 1 space after "."; 0 found
local/notificationsagent/condition/numberoftimes/lang/ca/notificationscondition_numberoftimes.php
(#45) Expected 1 blank line at end of file; 2 found
local/notificationsagent/condition/numberoftimes/lang/es/notificationscondition_numberoftimes.php
(#46) Expected 1 blank line at end of file; 2 found
local/notificationsagent/condition/numberoftimes/lang/eu/notificationscondition_numberoftimes.php
(#46) Expected 1 blank line at end of file; 2 found
local/notificationsagent/condition/numberoftimes/lang/gl/notificationscondition_numberoftimes.php
(#46) Expected 1 blank line at end of file; 2 found
local/notificationsagent/condition/numberoftimes/tests/numberoftimes_test.php
(#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
local/notificationsagent/condition/ondates/tests/ondates_test.php
(#219) Expected at least 1 space before "."; 0 found
(#219) Expected at least 1 space after "."; 0 found
(#219) Expected at least 1 space before "."; 0 found
(#219) Expected at least 1 space after "."; 0 found
local/notificationsagent/condition/sessionend/lang/ca/notificationscondition_sessionend.php
(#45) Expected 1 blank line at end of file; 2 found
local/notificationsagent/condition/sessionend/lang/es/notificationscondition_sessionend.php
(#45) Expected 1 blank line at end of file; 2 found
local/notificationsagent/condition/sessionend/lang/eu/notificationscondition_sessionend.php
(#45) Expected 1 blank line at end of file; 2 found
local/notificationsagent/condition/sessionend/lang/gl/notificationscondition_sessionend.php
(#45) Expected 1 blank line at end of file; 2 found
local/notificationsagent/condition/sessionend/tests/sessionend_test.php
(#217) Expected at least 1 space before "."; 0 found
(#217) Expected at least 1 space after "."; 0 found
(#217) Expected at least 1 space before "."; 0 found
(#217) Expected at least 1 space after "."; 0 found
local/notificationsagent/condition/sessionstart/classes/privacy/provider.php
(#52) Opening brace must not be followed by a blank line
local/notificationsagent/condition/sessionstart/lang/ca/notificationscondition_sessionstart.php
(#45) Expected 1 blank line at end of file; 2 found
local/notificationsagent/condition/sessionstart/lang/es/notificationscondition_sessionstart.php
(#45) Expected 1 blank line at end of file; 2 found
local/notificationsagent/condition/sessionstart/lang/eu/notificationscondition_sessionstart.php
(#46) Expected 1 blank line at end of file; 3 found
local/notificationsagent/condition/sessionstart/tests/privacy/provider_test.php
(#48) Opening brace must not be followed by a blank line
(#73) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#106) Opening parenthesis of a multi-line function call must be the last content on the line
(#106) Only one argument is allowed per line in a multi-line function call
(#107) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#107) Closing parenthesis of a multi-line function call must be on a line by itself
(#187) Function closing brace must go on the next line following the body; found 1 blank lines before brace
local/notificationsagent/condition/sessionstart/tests/sessionstart_test.php
(#214) Expected at least 1 space before "."; 0 found
(#214) Expected at least 1 space after "."; 0 found
(#214) Expected at least 1 space before "."; 0 found
(#214) Expected at least 1 space after "."; 0 found
local/notificationsagent/condition/usergroupadd/lang/es/notificationscondition_usergroupadd.php
(#45) Expected 1 blank line at end of file; 2 found
local/notificationsagent/condition/usergroupadd/lang/eu/notificationscondition_usergroupadd.php
(#45) Expected 1 blank line at end of file; 2 found
local/notificationsagent/condition/usergroupadd/tests/usergroupadd_test.php
(#213) Expected at least 1 space before "."; 0 found
(#213) Expected at least 1 space after "."; 0 found
(#213) Expected at least 1 space before "."; 0 found
(#213) Expected at least 1 space after "."; 0 found
local/notificationsagent/condition/weekdays/tests/weekdays_test.php
(#183) Expected at least 1 space before "."; 0 found
(#183) Expected at least 1 space after "."; 0 found
(#183) Expected at least 1 space before "."; 0 found
(#183) Expected at least 1 space after "."; 0 found
local/notificationsagent/condition/weekend/lang/es/notificationscondition_weekend.php
(#47) Expected 1 blank line at end of file; 2 found
local/notificationsagent/condition/weekend/lang/eu/notificationscondition_weekend.php
(#47) Expected 1 blank line at end of file; 2 found
local/notificationsagent/condition/weekend/tests/weekend_test.php
(#201) Expected at least 1 space before "."; 0 found
(#201) Expected at least 1 space after "."; 0 found
(#201) Expected at least 1 space before "."; 0 found
(#201) Expected at least 1 space after "."; 0 found
local/notificationsagent/editrule.php
(#37) Expected at least 1 space after "."; 0 found
(#38) Expected at least 1 space after "."; 0 found
local/notificationsagent/importrule.php
(#46) Each PHP statement must be on a line by itself
(#60) Expected 0 spaces after opening bracket; 1 found
(#60) Expected 0 spaces before closing parenthesis; 1 found
(#62) Expected at least 1 space before "."; 0 found
(#90) Blank line found at end of control structure
local/notificationsagent/index.php
(#37) Expected at least 1 space after "."; 0 found
(#38) Expected at least 1 space after "."; 0 found
local/notificationsagent/tests/engine/notificationsagent_engine_test.php
(#164) Expected 0 spaces after opening bracket; 1 found
(#164) Expected 0 spaces before closing bracket; 1 found
(#167) Expected 0 spaces after opening bracket; 1 found
(#167) Expected 0 spaces before closing bracket; 1 found
(#170) Expected 0 spaces after opening bracket; 1 found
(#170) Expected 0 spaces before closing bracket; 1 found
(#268) Expected 1 space after comma in argument list; 2 found
(#268) Expected 1 space between the comma and "1". Found: 2 spaces
(#274) Function closing brace must go on the next line following the body; found 1 blank lines before brace
local/notificationsagent/tests/notificationsagent_observer_test.php
(#49) Opening brace must not be followed by a blank line
local/notificationsagent/tests/privacy/provider_test.php
(#135) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#197) Space found before comma in argument list
(#197) Expected no space between "'notificationsagent_context'" and the comma. Found: 1 space
(#213) Space found before comma in argument list
(#213) Expected no space between "'notificationsagent_context'" and the comma. Found: 1 space
(#224) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#241) Space found before comma in argument list
(#241) Expected no space between "'notificationsagent_context'" and the comma. Found: 1 space
(#281) Space found before comma in argument list
(#281) Expected no space between "'notificationsagent_context'" and the comma. Found: 1 space
(#296) Space found before comma in argument list
(#296) Expected no space between "'notificationsagent_context'" and the comma. Found: 1 space
(#322) Expected no space between "'notificationsagent_launched'" and the comma. Found: 1 space
(#323) Expected no space between "'notificationsagent_cache'" and the comma. Found: 1 space
(#324) Expected no space between "'notificationsagent_triggers'" and the comma. Found: 1 space
(#325) Expected no space between "'notificationsagent_report'" and the comma. Found: 1 space
local/notificationsagent/version.php
(#40) Inline comments must end in full-stops, exclamation marks, or question marks

Javascript coding style problems

(4 errors, 47 warnings)

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

local/notificationsagent/amd/src/notification_assigntemplate.js
(#42) Array.prototype.map() expects a return value from arrow function. (array-callback-return)
(#86) This line has a length of 150. Maximum allowed is 132. (max-len)
(#89) This line has a length of 146. Maximum allowed is 132. (max-len)
(#115) This line has a length of 138. Maximum allowed is 132. (max-len)
(#137) Array.prototype.map() expects a return value from arrow function. (array-callback-return)
(#186) Expected catch,fail,always() or return (promise/catch-or-return)
(#192) Each then() should return a value or throw (promise/always-return)
(#214) ["category"] is better written in dot notation. (dot-notation)
(#224) ["course"] is better written in dot notation. (dot-notation)
(#253) Comments should not begin with a lowercase character. (capitalized-comments)
(#273) ["category"] is better written in dot notation. (dot-notation)
(#274) ["course"] is better written in dot notation. (dot-notation)
(#294) There should be no space after '{'. (@babel/object-curly-spacing)
(#294) There should be no space before '}'. (@babel/object-curly-spacing)
(#303) ["category"] is better written in dot notation. (dot-notation)
(#312) There should be no space after '{'. (@babel/object-curly-spacing)
(#312) There should be no space before '}'. (@babel/object-curly-spacing)
(#315) ["category"] is better written in dot notation. (dot-notation)
(#317) ["course"] is better written in dot notation. (dot-notation)
(#322) ["course"] is better written in dot notation. (dot-notation)
(#332) ["category"] is better written in dot notation. (dot-notation)
(#333) ["course"] is better written in dot notation. (dot-notation)
(#370) Expected catch,fail,always() or return (promise/catch-or-return)
local/notificationsagent/amd/src/rule/delete.js
(#67) Expected catch,fail,always() or return (promise/catch-or-return)
(#67) Each then() should return a value or throw (promise/always-return)
(#70) Avoid nesting promises. (promise/no-nesting)
(#70) Avoid nesting promises. (promise/no-nesting)
(#110) ["warnings"] is better written in dot notation. (dot-notation)
(#111) ["hascontext"] is better written in dot notation. (dot-notation)
(#114) ["warnings"] is better written in dot notation. (dot-notation)
(#135) ["warnings"] is better written in dot notation. (dot-notation)
(#136) Expected catch,fail,always() or return (promise/catch-or-return)
(#136) Each then() should return a value or throw (promise/always-return)
(#146) ["warnings"] is better written in dot notation. (dot-notation)
local/notificationsagent/amd/src/rule/share.js
(#94) Expected catch,fail,always() or return (promise/catch-or-return)
(#136) ["warnings"] is better written in dot notation. (dot-notation)
(#141) Operator '=' must be spaced. (space-infix-ops)
(#141) Operator '+' must be spaced. (space-infix-ops)
(#168) ["warnings"] is better written in dot notation. (dot-notation)
local/notificationsagent/amd/src/rule/shareall.js
(#77) Expected catch,fail,always() or return (promise/catch-or-return)
(#113) ["warnings"] is better written in dot notation. (dot-notation)
(#117) ["warnings"] is better written in dot notation. (dot-notation)
local/notificationsagent/amd/src/rule/unshareall.js
(#77) Expected catch,fail,always() or return (promise/catch-or-return)
(#113) ["warnings"] is better written in dot notation. (dot-notation)
(#114) Expected catch,fail,always() or return (promise/catch-or-return)
(#114) Each then() should return a value or throw (promise/always-return)
(#124) ["warnings"] is better written in dot notation. (dot-notation)
local/notificationsagent/amd/src/rule/update_status.js
(#94) Expected catch,fail,always() or return (promise/catch-or-return)
(#135) ["warnings"] is better written in dot notation. (dot-notation)
(#177) ["warnings"] is better written in dot notation. (dot-notation)
local/notificationsagent/yui/src/form/js/form.js
(#73) Parsing error: Unexpected token i

CSS problems

(0 errors, 0 warnings)

This section shows CSS problems detected by stylelint [More info]


PHPDocs style problems

(5 errors, 0 warnings)

This section shows the phpdocs problems detected in the code by local_moodlecheck [More info]

local/notificationsagent/classes/form/import_form.php
(#79) Phpdocs for function import_form::array_to_object has incomplete parameters list
local/notificationsagent/classes/notificationsagent.php
(#395) Phpdocs for function notificationsagent::set_timer_cache has incomplete parameters list
(#414) Phpdocs for function notificationsagent::set_time_trigger has incomplete parameters list
local/notificationsagent/classes/rule.php
(#1832) Phpdocs for function rule::get_course_rules has incomplete parameters list
local/notificationsagent/tests/engine/notificationsagent_engine_test.php
(#132) Phpdocs for function notificationsagent_engine_test::test_notificationsagent_engine_evaluate_rule has incomplete parameters list

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/notificationsagent/templates/index.mustache
(#1) HTML Validation info, line 34: Empty heading. ( <h4 class="name font-weight-bold mb-0"></h4>)
(#1) HTML Validation info, line 36: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. ( <hr/> )

Gherkin .feature problems

(0 errors, 0 warnings)

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