Prechecker results: error


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

(201 errors, 409 warnings)

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

admin/tool/trigger/classes/edit_form.php
(#61) Short array syntax must be used to define arrays
(#68) There should be a comma after the last array item in a multi-line array.
(#98) Short array syntax must be used to define arrays
(#98) Short array syntax must be used to define arrays
(#107) Short array syntax must be used to define arrays
(#107) Short array syntax must be used to define arrays
(#116) Short array syntax must be used to define arrays
(#116) Short array syntax must be used to define arrays
admin/tool/trigger/classes/event_processor.php
(#141) Short array syntax must be used to define arrays
(#295) Short array syntax must be used to define arrays
(#300) Short array syntax must be used to define arrays
(#307) There should be a comma after the last array item in a multi-line array.
(#491) There should be a comma after the last array item in a multi-line array.
(#532) There should be a comma after the last array item in a multi-line array.
(#562) There should be a comma after the last array item in a multi-line array.
(#585) There should be a comma after the last array item in a multi-line array.
(#622) There should be a comma after the last array item in a multi-line array.
(#663) There should be a comma after the last array item in a multi-line array.
(#784) Inline comments must end in full-stops, exclamation marks, or question marks
(#812) Short array syntax must be used to define arrays
(#817) Inline comments must end in full-stops, exclamation marks, or question marks
(#818) Line exceeds 132 characters; contains 141 characters
(#825) There should be a comma after the last array item in a multi-line array.
admin/tool/trigger/classes/helper/processor_helper.php
(#40) Short array syntax must be used to define arrays
(#44) Short array syntax must be used to define arrays
admin/tool/trigger/classes/import_form.php
(#61) Short array syntax must be used to define arrays
(#76) Short array syntax must be used to define arrays
admin/tool/trigger/classes/json/json_export.php
(#135) Expected 0 spaces after "print_json_data"; 1 found
admin/tool/trigger/classes/learn_process.php
(#40) Short array syntax must be used to define arrays
(#67) Short array syntax must be used to define arrays
(#164) Short array syntax must be used to define arrays
(#183) Expected 0 spaces after "process"; 1 found
(#191) Short array syntax must be used to define arrays
(#195) Short array syntax must be used to define arrays
(#200) Short array syntax must be used to define arrays
(#242) Short array syntax must be used to define arrays
(#255) Short array syntax must be used to define arrays
(#259) Short array syntax must be used to define arrays
(#264) Short array syntax must be used to define arrays
(#266) There should be a comma after the last array item in a multi-line array.
(#271) Short array syntax must be used to define arrays
(#273) There should be a comma after the last array item in a multi-line array.
(#275) Short array syntax must be used to define arrays
(#277) There should be a comma after the last array item in a multi-line array.
admin/tool/trigger/classes/output/manageworkflows/renderable.php
(#62) Short array syntax must be used to define arrays
(#71) There should be a comma after the last array item in a multi-line array.
(#73) Short array syntax must be used to define arrays
(#105) Short array syntax must be used to define arrays
(#146) Short array syntax must be used to define arrays
(#161) Short array syntax must be used to define arrays
(#163) Short array syntax must be used to define arrays
(#167) Short array syntax must be used to define arrays
(#169) Short array syntax must be used to define arrays
(#171) Short array syntax must be used to define arrays
(#174) Short array syntax must be used to define arrays
(#176) Short array syntax must be used to define arrays
(#179) Short array syntax must be used to define arrays
admin/tool/trigger/classes/output/manageworkflows/renderer.php
(#79) Short array syntax must be used to define arrays
(#135) There should be a comma after the last array item in a multi-line array.
admin/tool/trigger/classes/output/workflowhistory/filter_form.php
(#52) Line exceeds 132 characters; contains 136 characters
(#53) Line exceeds 132 characters; contains 140 characters
(#54) Line exceeds 132 characters; contains 136 characters
(#55) Line exceeds 132 characters; contains 138 characters
(#56) Line exceeds 132 characters; contains 142 characters
admin/tool/trigger/classes/output/workflowhistory/renderer.php
(#59) There should be a comma after the last array item in a multi-line array.
(#85) Line exceeds 132 characters; contains 145 characters
(#228) Short array syntax must be used to define arrays
admin/tool/trigger/classes/output/workflowhistory/run.php
(#62) Short array syntax must be used to define arrays
(#69) There should be a comma after the last array item in a multi-line array.
(#71) Short array syntax must be used to define arrays
(#78) There should be a comma after the last array item in a multi-line array.
admin/tool/trigger/classes/privacy/provider.php
(#30) Import statements must not begin with a leading backslash
(#31) Import statements must not begin with a leading backslash
(#61) There must not be a space before the colon in a return type declaration
(#144) There must not be a space before the colon in a return type declaration
admin/tool/trigger/classes/steps/actions/assign_cohort_action_step.php
(#40) Short array syntax must be used to define arrays
(#78) Short array syntax must be used to define arrays
admin/tool/trigger/classes/steps/actions/email_action_step.php
(#64) Short array syntax must be used to define arrays
(#75) There should be a comma after the last array item in a multi-line array.
(#128) Short array syntax must be used to define arrays
(#172) Short array syntax must be used to define arrays
(#194) Short array syntax must be used to define arrays
(#202) There should be a comma after the last array item in a multi-line array.
admin/tool/trigger/classes/steps/actions/http_post_action_step.php
(#60) Short array syntax must be used to define arrays
(#179) Short array syntax must be used to define arrays
(#189) Short array syntax must be used to define arrays
(#203) Short array syntax must be used to define arrays
(#209) Short array syntax must be used to define arrays
(#216) Short array syntax must be used to define arrays
(#216) Short array syntax must be used to define arrays
(#222) Short array syntax must be used to define arrays
admin/tool/trigger/classes/steps/actions/logdump_action_step.php
(#34) Short array syntax must be used to define arrays
admin/tool/trigger/classes/steps/actions/roles_unassign_action_step.php
(#43) Short array syntax must be used to define arrays
(#96) Short array syntax must be used to define arrays
(#104) Short array syntax must be used to define arrays
admin/tool/trigger/classes/steps/base/base_form.php
(#95) Short array syntax must be used to define arrays
(#97) Short array syntax must be used to define arrays
(#113) Short array syntax must be used to define arrays
(#116) Short array syntax must be used to define arrays
(#120) Short array syntax must be used to define arrays
(#135) Short array syntax must be used to define arrays
(#137) There should be a comma after the last array item in a multi-line array.
(#164) Short array syntax must be used to define arrays
(#179) Short array syntax must be used to define arrays
(#199) Short array syntax must be used to define arrays
(#206) Short array syntax must be used to define arrays
admin/tool/trigger/classes/steps/base/base_step.php
(#38) Short array syntax must be used to define arrays
admin/tool/trigger/classes/steps/debounce/debounce_step.php
(#195) Line exceeds 132 characters; contains 138 characters
(#261) Expected 0 spaces after "form_definition_extra"; 1 found
admin/tool/trigger/classes/steps/filters/numcompare_filter_step.php
(#157) There should be a comma after the last array item in a multi-line array.
admin/tool/trigger/classes/steps/filters/stringcompare_filter_step.php
(#205) There should be a comma after the last array item in a multi-line array.
(#214) There should be a comma after the last array item in a multi-line array.
(#226) Short array syntax must be used to define arrays
(#226) Short array syntax must be used to define arrays
admin/tool/trigger/classes/steps/lookups/cohort_lookup_step.php
(#52) Short array syntax must be used to define arrays
(#53) There should be a comma after the last array item in a multi-line array.
admin/tool/trigger/classes/steps/lookups/course_cat_lookup_step.php
(#64) There should be a comma after the last array item in a multi-line array.
admin/tool/trigger/classes/steps/lookups/course_lookup_step.php
(#50) Short array syntax must be used to define arrays
admin/tool/trigger/classes/steps/lookups/roles_lookup_step.php
(#50) Short array syntax must be used to define arrays
(#72) Short array syntax must be used to define arrays
admin/tool/trigger/classes/steps/lookups/user_lookup_step.php
(#55) Short array syntax must be used to define arrays
admin/tool/trigger/classes/task/cleanup.php
(#67) There should be a comma after the last array item in a multi-line array.
(#77) There should be a comma after the last array item in a multi-line array.
admin/tool/trigger/classes/task/process_workflows.php
(#94) Short array syntax must be used to define arrays
(#133) There should be a comma after the last array item in a multi-line array.
(#172) Line exceeds 132 characters; contains 145 characters
admin/tool/trigger/classes/workflow.php
(#118) Short array syntax must be used to define arrays
(#128) Short array syntax must be used to define arrays
admin/tool/trigger/classes/workflow_manager.php
(#39) Short array syntax must be used to define arrays
(#48) Short array syntax must be used to define arrays
(#177) Line exceeds 132 characters; contains 133 characters
(#226) Short array syntax must be used to define arrays
(#227) Short array syntax must be used to define arrays
(#253) Short array syntax must be used to define arrays
admin/tool/trigger/classes/workflow_process.php
(#44) Short array syntax must be used to define arrays
(#50) There should be a comma after the last array item in a multi-line array.
(#78) There should be a comma after the last array item in a multi-line array.
(#85) There should be a comma after the last array item in a multi-line array.
(#274) Short array syntax must be used to define arrays
admin/tool/trigger/cli/export_fields.php
(#31) Short array syntax must be used to define arrays
(#31) Short array syntax must be used to define arrays
(#61) Short array syntax must be used to define arrays
admin/tool/trigger/cli/import_csv_records.php
(#35) Short array syntax must be used to define arrays
(#37) There should be a comma after the last array item in a multi-line array.
(#39) Short array syntax must be used to define arrays
(#40) There should be a comma after the last array item in a multi-line array.
(#76) Short array syntax must be used to define arrays
(#77) Short array syntax must be used to define arrays
admin/tool/trigger/db/access.php
(#29) Short array syntax must be used to define arrays
(#31) Short array syntax must be used to define arrays
(#35) Short array syntax must be used to define arrays
(#36) There should be a comma after the last array item in a multi-line array.
(#39) Short array syntax must be used to define arrays
(#43) Short array syntax must be used to define arrays
(#44) There should be a comma after the last array item in a multi-line array.
(#47) Short array syntax must be used to define arrays
(#51) Short array syntax must be used to define arrays
(#52) There should be a comma after the last array item in a multi-line array.
admin/tool/trigger/db/caches.php
(#28) Short array syntax must be used to define arrays
(#29) Short array syntax must be used to define arrays
(#34) There should be a comma after the last array item in a multi-line array.
(#35) There should be a comma after the last array item in a multi-line array.
admin/tool/trigger/db/events.php
(#28) Short array syntax must be used to define arrays
(#29) Short array syntax must be used to define arrays
admin/tool/trigger/db/messages.php
(#26) Short array syntax must be used to define arrays
(#27) Short array syntax must be used to define arrays
admin/tool/trigger/db/services.php
(#28) Short array syntax must be used to define arrays
(#29) Short array syntax must be used to define arrays
(#36) There should be a comma after the last array item in a multi-line array.
(#38) Short array syntax must be used to define arrays
(#45) There should be a comma after the last array item in a multi-line array.
(#47) Short array syntax must be used to define arrays
(#54) There should be a comma after the last array item in a multi-line array.
admin/tool/trigger/db/tasks.php
(#20) Incorrect @package tag for file tasks.php. Expected tool_trigger, found tool_monitor.
(#28) Short array syntax must be used to define arrays
(#29) Short array syntax must be used to define arrays
(#36) There should be a comma after the last array item in a multi-line array.
(#38) Short array syntax must be used to define arrays
(#45) There should be a comma after the last array item in a multi-line array.
(#47) Short array syntax must be used to define arrays
(#54) There should be a comma after the last array item in a multi-line array.
(#56) Short array syntax must be used to define arrays
(#63) There should be a comma after the last array item in a multi-line array.
(#64) There should be a comma after the last array item in a multi-line array.
admin/tool/trigger/db/upgrade.php
(#52) Short array syntax must be used to define arrays
(#89) Short array syntax must be used to define arrays
(#122) Short array syntax must be used to define arrays
(#123) Short array syntax must be used to define arrays
(#123) Short array syntax must be used to define arrays
(#125) Short array syntax must be used to define arrays
(#126) Short array syntax must be used to define arrays
(#176) Short array syntax must be used to define arrays
(#220) Short array syntax must be used to define arrays
(#221) Short array syntax must be used to define arrays
(#221) Short array syntax must be used to define arrays
(#250) Short array syntax must be used to define arrays
(#251) Short array syntax must be used to define arrays
(#251) Short array syntax must be used to define arrays
(#252) Short array syntax must be used to define arrays
(#252) Short array syntax must be used to define arrays
(#255) Short array syntax must be used to define arrays
admin/tool/trigger/edit.php
(#34) Short array syntax must be used to define arrays
(#55) Short array syntax must be used to define arrays
(#63) Short array syntax must be used to define arrays
(#74) Using ${var} in strings is deprecated since PHP 8.2, use {$var} instead. Found: ${pluginname}
(#74) Using ${var} in strings is deprecated since PHP 8.2, use {$var} instead. Found: ${eventname}
admin/tool/trigger/export.php
(#36) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
admin/tool/trigger/exportrun.php
(#38) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
admin/tool/trigger/externallib.php
(#43) Short array syntax must be used to define arrays
(#78) Inline comments must end in full-stops, exclamation marks, or question marks
(#83) There should be a comma after the last array item in a multi-line array.
(#96) Short array syntax must be used to define arrays
(#110) Short array syntax must be used to define arrays
(#112) There should be a comma after the last array item in a multi-line array.
(#139) Short array syntax must be used to define arrays
(#146) Short array syntax must be used to define arrays
(#171) Short array syntax must be used to define arrays
(#172) There should be a comma after the last array item in a multi-line array.
(#195) Short array syntax must be used to define arrays
(#224) Short array syntax must be used to define arrays
admin/tool/trigger/history.php
(#28) Short array syntax must be used to define arrays
(#191) Duplicate array key found. The value will be overwritten. The string array key "id" was first seen on line 190
(#203) Duplicate array key found. The value will be overwritten. The string array key "id" was first seen on line 202
admin/tool/trigger/lib.php
(#75) Short array syntax must be used to define arrays
(#82) There should be a comma after the last array item in a multi-line array.
(#85) Short array syntax must be used to define arrays
admin/tool/trigger/manage.php
(#32) Short array syntax must be used to define arrays
(#40) Short array syntax must be used to define arrays
admin/tool/trigger/manageworkflow.php
(#40) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#45) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#90) There should be a comma after the last array item in a multi-line array.
admin/tool/trigger/stepdetails.php
(#27) Short array syntax must be used to define arrays
admin/tool/trigger/tests/course_cat_lookup_step_test.php
(#30) PHPUnit testcase name "tool_trigger_course_cat_lookup_step_testcase" does not match file name "course_cat_lookup_step_test"
(#30) PHPUnit class "tool_trigger_course_cat_lookup_step_testcase" does not have any namespace. It is recommended to add it to the "tool_trigger" namespace, using more levels if needed, in order to match the code being tested
(#53) There must be a single space between the colon and type in a return type declaration
(#74) Test method test_get_fields() is missing any coverage information, own or at class level
(#99) Test method test_execute_basic() is missing any coverage information, own or at class level
(#103) There should be a comma after the last array item in a multi-line array.
(#119) Test method test_execute_nosuchfield() is missing any coverage information, own or at class level
(#123) There should be a comma after the last array item in a multi-line array.
(#134) Test method test_execute_no_such_category() is missing any coverage information, own or at class level
(#142) There should be a comma after the last array item in a multi-line array.
(#185) Test method test_execute_category_id() is missing any coverage information, own or at class level
(#189) There should be a comma after the last array item in a multi-line array.
(#214) Test method test_execute_category_id_integer() is missing any coverage information, own or at class level
(#218) There should be a comma after the last array item in a multi-line array.
(#234) Test method test_execute_category_id_string() is missing any coverage information, own or at class level
(#238) There should be a comma after the last array item in a multi-line array.
admin/tool/trigger/tests/course_lookup_step_test.php
(#30) PHPUnit testcase name "tool_trigger_course_lookup_step_testcase" does not match file name "course_lookup_step_test"
(#30) PHPUnit class "tool_trigger_course_lookup_step_testcase" does not have any namespace. It is recommended to add it to the "tool_trigger" namespace, using more levels if needed, in order to match the code being tested
(#35) There must be a single space between the colon and type in a return type declaration
(#47) There should be a comma after the last array item in a multi-line array.
(#48) There should be a comma after the last array item in a multi-line array.
(#59) Test method test_execute_basic() is missing any coverage information, own or at class level
(#63) There should be a comma after the last array item in a multi-line array.
(#79) Test method test_execute_nosuchfield() is missing any coverage information, own or at class level
(#83) There should be a comma after the last array item in a multi-line array.
(#94) Test method test_execute_nosuchcourse() is missing any coverage information, own or at class level
(#100) There should be a comma after the last array item in a multi-line array.
(#143) Test method test_execute_course_id() is missing any coverage information, own or at class level
(#147) There should be a comma after the last array item in a multi-line array.
(#172) Test method test_execute_course_id_integer() is missing any coverage information, own or at class level
(#176) There should be a comma after the last array item in a multi-line array.
(#192) Test method test_execute_course_id_string() is missing any coverage information, own or at class level
(#196) There should be a comma after the last array item in a multi-line array.
admin/tool/trigger/tests/datafield_manager_test.php
(#31) PHPUnit testcase name "tool_trigger_datafield_manager_testcase" does not match file name "datafield_manager_test"
(#31) PHPUnit class "tool_trigger_datafield_manager_testcase" does not have any namespace. It is recommended to add it to the "tool_trigger" namespace, using more levels if needed, in order to match the code being tested
(#45) Test method test_get_datafields() is missing any coverage information, own or at class level
(#98) Test method test_render_datafields() is missing any coverage information, own or at class level
(#143) Test method test_render_datafields_transformcallback() is missing any coverage information, own or at class level
(#146) There should be a comma after the last array item in a multi-line array.
admin/tool/trigger/tests/debounce_step_test.php
(#31) PHPUnit testcase name "debounce_step_testcase" does not match file name "debounce_step_test"
(#31) PHPUnit class "debounce_step_testcase" does not have any namespace. It is recommended to add it to the "tool_trigger" namespace, using more levels if needed, in order to match the code being tested
(#48) There must be a single space between the colon and type in a return type declaration
(#63) Short array syntax must be used to define arrays
(#95) There should be a comma after the last array item in a multi-line array.
(#101) Test method test_event_queue() is missing any coverage information, own or at class level
(#115) Inline comments must end in full-stops, exclamation marks, or question marks
(#131) Inline comments must end in full-stops, exclamation marks, or question marks
(#148) Test method test_event_cancellation() is missing any coverage information, own or at class level
(#151) Inline comments must end in full-stops, exclamation marks, or question marks
(#184) Inline comments must end in full-stops, exclamation marks, or question marks
(#211) Inline comments must end in full-stops, exclamation marks, or question marks
admin/tool/trigger/tests/email_action_step_test.php
(#31) PHPUnit testcase name "tool_trigger_email_action_step_testcase" does not match file name "email_action_step_test"
(#31) PHPUnit class "tool_trigger_email_action_step_testcase" does not have any namespace. It is recommended to add it to the "tool_trigger" namespace, using more levels if needed, in order to match the code being tested
(#38) There must be a single space between the colon and type in a return type declaration
(#46) Test method test_execute_basic() is missing any coverage information, own or at class level
(#51) There should be a comma after the last array item in a multi-line array.
(#83) Test method test_execute_external_email_address() is missing any coverage information, own or at class level
(#88) There should be a comma after the last array item in a multi-line array.
(#114) Test method test_execute_with_datafields() is missing any coverage information, own or at class level
(#126) There should be a comma after the last array item in a multi-line array.
admin/tool/trigger/tests/event_processor_test.php
(#39) PHPUnit testcase name "tool_trigger_event_processor_testcase" does not match file name "event_processor_test"
(#39) PHPUnit class "tool_trigger_event_processor_testcase" does not have any namespace. It is recommended to add it to the "tool_trigger" namespace, using more levels if needed, in order to match the code being tested
(#41) There must be a single space between the colon and type in a return type declaration
(#47) Short array syntax must be used to define arrays
(#66) There must be a single space between the colon and type in a return type declaration
(#82) Test method test_is_event_ignored() is missing any coverage information, own or at class level
(#98) Test method test_is_event_ignored_false() is missing any coverage information, own or at class level
(#114) Test method test_prepare_event() is missing any coverage information, own or at class level
(#130) Test method test_process_event_add_event_to_db() is missing any coverage information, own or at class level
(#146) Test method test_process_realtime_workflow() is missing any coverage information, own or at class level
(#169) Test method test_process_realtime_workflow_save_to_queue_if_failed() is missing any coverage information, own or at class level
(#182) There should be a comma after the last array item in a multi-line array.
(#202) Test method test_record_workflow_trigger() is missing any coverage information, own or at class level
(#242) There should be a comma after the last array item in a multi-line array.
(#259) Test method test_record_step_trigger() is missing any coverage information, own or at class level
(#281) There should be a comma after the last array item in a multi-line array.
(#291) There should be a comma after the last array item in a multi-line array.
(#292) There should be a comma after the last array item in a multi-line array.
(#333) There should be a comma after the last array item in a multi-line array.
(#343) There should be a comma after the last array item in a multi-line array.
(#344) There should be a comma after the last array item in a multi-line array.
(#356) Test method test_execute_current_step() is missing any coverage information, own or at class level
(#368) There should be a comma after the last array item in a multi-line array.
(#378) There should be a comma after the last array item in a multi-line array.
(#379) There should be a comma after the last array item in a multi-line array.
(#421) Test method test_execute_historic_step() is missing any coverage information, own or at class level
(#433) There should be a comma after the last array item in a multi-line array.
(#443) There should be a comma after the last array item in a multi-line array.
(#444) There should be a comma after the last array item in a multi-line array.
(#479) Test method test_execute_next_step_current() is missing any coverage information, own or at class level
(#491) There should be a comma after the last array item in a multi-line array.
(#501) There should be a comma after the last array item in a multi-line array.
(#502) There should be a comma after the last array item in a multi-line array.
(#536) Test method test_execute_next_step_historic() is missing any coverage information, own or at class level
(#548) There should be a comma after the last array item in a multi-line array.
(#558) There should be a comma after the last array item in a multi-line array.
(#559) There should be a comma after the last array item in a multi-line array.
(#588) Test method test_execute_step_and_continue_current() is missing any coverage information, own or at class level
(#600) There should be a comma after the last array item in a multi-line array.
(#612) There should be a comma after the last array item in a multi-line array.
(#613) There should be a comma after the last array item in a multi-line array.
(#679) There should be a comma after the last array item in a multi-line array.
(#691) There should be a comma after the last array item in a multi-line array.
(#703) There should be a comma after the last array item in a multi-line array.
(#715) There should be a comma after the last array item in a multi-line array.
(#716) There should be a comma after the last array item in a multi-line array.
(#747) Test method test_execute_step_and_continue_historic() is missing any coverage information, own or at class level
(#759) There should be a comma after the last array item in a multi-line array.
(#769) There should be a comma after the last array item in a multi-line array.
(#770) There should be a comma after the last array item in a multi-line array.
(#827) There should be a comma after the last array item in a multi-line array.
(#837) There should be a comma after the last array item in a multi-line array.
(#847) There should be a comma after the last array item in a multi-line array.
(#857) There should be a comma after the last array item in a multi-line array.
(#858) There should be a comma after the last array item in a multi-line array.
(#886) Test method test_execute_workflow_from_event_current() is missing any coverage information, own or at class level
(#898) There should be a comma after the last array item in a multi-line array.
(#908) There should be a comma after the last array item in a multi-line array.
(#909) There should be a comma after the last array item in a multi-line array.
(#949) Test method test_execute_workflow_from_event_historic() is missing any coverage information, own or at class level
(#961) There should be a comma after the last array item in a multi-line array.
(#971) There should be a comma after the last array item in a multi-line array.
(#972) There should be a comma after the last array item in a multi-line array.
(#1000) Test method test_rerun_all_error_runs() is missing any coverage information, own or at class level
(#1015) There should be a comma after the last array item in a multi-line array.
(#1025) There should be a comma after the last array item in a multi-line array.
(#1026) There should be a comma after the last array item in a multi-line array.
(#1061) There should be a comma after the last array item in a multi-line array.
(#1097) There should be a comma after the last array item in a multi-line array.
(#1141) Test method test_cleanup_history() is missing any coverage information, own or at class level
admin/tool/trigger/tests/fail_filter_step_test.php
(#30) PHPUnit testcase name "tool_trigger_fail_filter_step_testcase" does not match file name "fail_filter_step_test"
(#30) PHPUnit class "tool_trigger_fail_filter_step_testcase" does not have any namespace. It is recommended to add it to the "tool_trigger" namespace, using more levels if needed, in order to match the code being tested
(#31) Test method test_execute() is missing any coverage information, own or at class level
admin/tool/trigger/tests/fixtures/user_event_fixture.php
(#50) There should be a comma after the last array item in a multi-line array.
(#68) There should be a comma after the last array item in a multi-line array.
admin/tool/trigger/tests/http_post_action_step_test.php
(#31) PHPUnit testcase name "tool_trigger_http_post_action_step_testcase" does not match file name "http_post_action_step_test"
(#31) PHPUnit class "tool_trigger_http_post_action_step_testcase" does not have any namespace. It is recommended to add it to the "tool_trigger" namespace, using more levels if needed, in order to match the code being tested
(#33) There must be a single space between the colon and type in a return type declaration
(#45) There should be a comma after the last array item in a multi-line array.
(#46) There should be a comma after the last array item in a multi-line array.
(#68) Test method test_supported_http_methods() is missing any coverage information, own or at class level
(#83) Test method test_if_httpmethod_is_not_set_post_method_set_as_default() is missing any coverage information, own or at class level
(#88) There should be a comma after the last array item in a multi-line array.
(#120) Test method test_execute_200() is missing any coverage information, own or at class level
(#126) There should be a comma after the last array item in a multi-line array.
(#149) Test method test_execute_404() is missing any coverage information, own or at class level
(#156) There should be a comma after the last array item in a multi-line array.
(#177) Test method test_execute_with_datafields() is missing any coverage information, own or at class level
(#182) There should be a comma after the last array item in a multi-line array.
(#198) There should be a comma after the last array item in a multi-line array.
(#235) Test method test_execute_with_datafields_json() is missing any coverage information, own or at class level
(#240) There should be a comma after the last array item in a multi-line array.
(#256) There should be a comma after the last array item in a multi-line array.
admin/tool/trigger/tests/json_export_test.php
(#37) PHPUnit testcase name "tool_trigger_json_export_testcase" does not match file name "json_export_test"
(#37) PHPUnit class "tool_trigger_json_export_testcase" does not have any namespace. It is recommended to add it to the "tool_trigger" namespace, using more levels if needed, in order to match the code being tested
(#39) There must be a single space between the colon and type in a return type declaration
(#46) Test method test_set_filename() is missing any coverage information, own or at class level
(#51) Short array syntax must be used to define arrays
(#52) Short array syntax must be used to define arrays
(#62) Short array syntax must be used to define arrays
(#69) There should be a comma after the last array item in a multi-line array.
(#70) There should be a comma after the last array item in a multi-line array.
admin/tool/trigger/tests/learn_process_test.php
(#37) PHPUnit testcase name "tool_trigger_learn_process_testcase" does not match file name "learn_process_test"
(#37) PHPUnit class "tool_trigger_learn_process_testcase" does not have any namespace. It is recommended to add it to the "tool_trigger" namespace, using more levels if needed, in order to match the code being tested
(#39) There must be a single space between the colon and type in a return type declaration
(#81) Short array syntax must be used to define arrays
(#101) There should be a comma after the last array item in a multi-line array.
(#110) Test method test_get_learnt_events() is missing any coverage information, own or at class level
(#119) Short array syntax must be used to define arrays
(#121) Short array syntax must be used to define arrays
(#134) Test method test_get_learnt_records() is missing any coverage information, own or at class level
(#137) Short array syntax must be used to define arrays
(#142) Short array syntax must be used to define arrays
(#144) Short array syntax must be used to define arrays
(#166) Test method test_convert_record_type() is missing any coverage information, own or at class level
(#184) Test method test_merge_records() is missing any coverage information, own or at class level
(#189) Short array syntax must be used to define arrays
(#206) Test method test_merge_db_record() is missing any coverage information, own or at class level
(#243) Test method test_store_json_fields_insert() is missing any coverage information, own or at class level
(#256) Short array syntax must be used to define arrays
(#266) Test method test_store_json_fields_update() is missing any coverage information, own or at class level
(#285) Short array syntax must be used to define arrays
(#295) Test method test_get_event_fields_with_type() is missing any coverage information, own or at class level
(#314) Short array syntax must be used to define arrays
(#316) Short array syntax must be used to define arrays
(#321) Short array syntax must be used to define arrays
(#326) Short array syntax must be used to define arrays
(#331) Short array syntax must be used to define arrays
(#336) Short array syntax must be used to define arrays
(#341) Short array syntax must be used to define arrays
(#346) Short array syntax must be used to define arrays
(#351) Short array syntax must be used to define arrays
(#356) Short array syntax must be used to define arrays
(#361) Short array syntax must be used to define arrays
(#366) Short array syntax must be used to define arrays
(#371) Short array syntax must be used to define arrays
(#376) Short array syntax must be used to define arrays
(#381) Short array syntax must be used to define arrays
(#386) Short array syntax must be used to define arrays
(#391) Short array syntax must be used to define arrays
(#396) Short array syntax must be used to define arrays
(#401) Short array syntax must be used to define arrays
(#406) Short array syntax must be used to define arrays
(#411) Short array syntax must be used to define arrays
(#416) Short array syntax must be used to define arrays
(#418) There should be a comma after the last array item in a multi-line array.
(#421) Short array syntax must be used to define arrays
(#423) There should be a comma after the last array item in a multi-line array.
(#434) Test method test_get_event_fields_events() is missing any coverage information, own or at class level
(#459) Test method test_get_event_fields_json() is missing any coverage information, own or at class level
(#484) Test method test_process_fixtures() is missing any coverage information, own or at class level
admin/tool/trigger/tests/logdump_action_step_test.php
(#30) PHPUnit testcase name "tool_trigger_logdump_action_step_testcase" does not match file name "logdump_action_step_test"
(#30) PHPUnit class "tool_trigger_logdump_action_step_testcase" does not have any namespace. It is recommended to add it to the "tool_trigger" namespace, using more levels if needed, in order to match the code being tested
(#31) Test method test_execute() is missing any coverage information, own or at class level
(#45) There should be a comma after the last array item in a multi-line array.
(#46) There should be a comma after the last array item in a multi-line array.
(#51) There should be a comma after the last array item in a multi-line array.
admin/tool/trigger/tests/numcompare_filter_step_test.php
(#30) Import statements must not begin with a leading backslash
(#32) PHPUnit testcase name "tool_trigger_numcompare_filter_step_testcase" does not match file name "numcompare_filter_step_test"
(#32) PHPUnit class "tool_trigger_numcompare_filter_step_testcase" does not have any namespace. It is recommended to add it to the "tool_trigger" namespace, using more levels if needed, in order to match the code being tested
(#37) There must be a single space between the colon and type in a return type declaration
(#51) Short array syntax must be used to define arrays
(#65) Test method test_all_operators() is missing any coverage information, own or at class level
(#70) There should be a comma after the last array item in a multi-line array.
(#107) There should be a comma after the last array item in a multi-line array.
(#111) Test method test_datafield() is missing any coverage information, own or at class level
(#118) There should be a comma after the last array item in a multi-line array.
(#127) Test method test_nosuch_datafield() is missing any coverage information, own or at class level
(#132) There should be a comma after the last array item in a multi-line array.
(#140) Test method test_not_numeric() is missing any coverage information, own or at class level
(#145) There should be a comma after the last array item in a multi-line array.
admin/tool/trigger/tests/privacy_test.php
(#26) Import statements must not begin with a leading backslash
(#27) Import statements must not begin with a leading backslash
(#28) Import statements must not begin with a leading backslash
(#38) PHPUnit testcase name "tool_trigger_privacy_testcase" does not match file name "privacy_test"
(#38) PHPUnit class "tool_trigger_privacy_testcase" does not have any namespace. It is recommended to add it to the "tool_trigger" namespace, using more levels if needed, in order to match the code being tested
(#43) There must be a single space between the colon and type in a return type declaration
(#50) Test method test_get_users_in_context() is missing any coverage information, own or at class level
(#101) Test method test_delete_data_for_users() is missing any coverage information, own or at class level
admin/tool/trigger/tests/process_workflows_test.php
(#37) PHPUnit testcase name "tool_trigger_process_workflow_testcase" does not match file name "process_workflows_test"
(#37) PHPUnit class "tool_trigger_process_workflow_testcase" does not have any namespace. It is recommended to add it to the "tool_trigger" namespace, using more levels if needed, in order to match the code being tested
(#39) There must be a single space between the colon and type in a return type declaration
(#86) Test method test_process_workflow() is missing any coverage information, own or at class level
(#106) There should be a comma after the last array item in a multi-line array.
(#118) There should be a comma after the last array item in a multi-line array.
(#119) There should be a comma after the last array item in a multi-line array.
(#123) Inline comments must end in full-stops, exclamation marks, or question marks
admin/tool/trigger/tests/processor_helper_test.php
(#31) PHPUnit testcase name "tool_trigger_processor_helper_testcase" does not match file name "processor_helper_test"
(#31) PHPUnit class "tool_trigger_processor_helper_testcase" does not have any namespace. It is recommended to add it to the "tool_trigger" namespace, using more levels if needed, in order to match the code being tested
(#42) There must be a single space between the colon and type in a return type declaration
(#54) Test method test_restore_event() is missing any coverage information, own or at class level
(#95) Short array syntax must be used to define arrays
(#102) Inline comments must end in full-stops, exclamation marks, or question marks
(#109) Test method test_execute_step() is missing any coverage information, own or at class level
(#117) Short array syntax must be used to define arrays
(#136) Test method test_get_workflow_steps() is missing any coverage information, own or at class level
(#154) Test method test_update_workflow_record() is missing any coverage information, own or at class level
(#187) Test method test_insert_queue_records() is missing any coverage information, own or at class level
(#208) Test method test_get_event_record() is missing any coverage information, own or at class level
(#214) Short array syntax must be used to define arrays
admin/tool/trigger/tests/role_assign_action_step_test.php
(#30) PHPUnit testcase name "role_assign_action_step_testcase" does not match file name "role_assign_action_step_test"
(#30) PHPUnit class "role_assign_action_step_testcase" does not have any namespace. It is recommended to add it to the "tool_trigger" namespace, using more levels if needed, in order to match the code being tested
(#65) There must be a single space between the colon and type in a return type declaration
(#84) There should be a comma after the last array item in a multi-line array.
(#95) Test method test_get_fields() is missing any coverage information, own or at class level
(#106) Test method test_execute_basic() is missing any coverage information, own or at class level
(#127) Test method test_execute_placeholder() is missing any coverage information, own or at class level
(#148) Test method test_execute_nosuchfield() is missing any coverage information, own or at class level
admin/tool/trigger/tests/role_unassign_action_step_test.php
(#30) PHPUnit testcase name "role_unassign_action_step_testcase" does not match file name "role_unassign_action_step_test"
(#30) PHPUnit class "role_unassign_action_step_testcase" does not have any namespace. It is recommended to add it to the "tool_trigger" namespace, using more levels if needed, in order to match the code being tested
(#65) There must be a single space between the colon and type in a return type declaration
(#84) There should be a comma after the last array item in a multi-line array.
(#97) Test method test_get_fields() is missing any coverage information, own or at class level
(#108) Test method test_execute_basic() is missing any coverage information, own or at class level
(#130) Test method test_execute_placeholder() is missing any coverage information, own or at class level
(#151) Test method test_execute_nosuchfield() is missing any coverage information, own or at class level
admin/tool/trigger/tests/steps_form_test.php
(#30) PHPUnit testcase name "tool_trigger_steps_form_testcase" does not match file name "steps_form_test"
(#30) PHPUnit class "tool_trigger_steps_form_testcase" does not have any namespace. It is recommended to add it to the "tool_trigger" namespace, using more levels if needed, in order to match the code being tested
(#32) There must be a single space between the colon and type in a return type declaration
(#37) There must be a single space between the colon and type in a return type declaration
(#48) Short array syntax must be used to define arrays
(#68) There should be a comma after the last array item in a multi-line array.
(#77) Test method test_base_form() is missing any coverage information, own or at class level
(#80) There should be a comma after the last array item in a multi-line array.
(#102) Test method test_step_form() is missing any coverage information, own or at class level
(#113) There should be a comma after the last array item in a multi-line array.
(#126) Test method test_get_trigger_fields() is missing any coverage information, own or at class level
(#149) Short array syntax must be used to define arrays
(#153) Short array syntax must be used to define arrays
(#155) Short array syntax must be used to define arrays
(#157) Short array syntax must be used to define arrays
(#162) Short array syntax must be used to define arrays
(#167) Short array syntax must be used to define arrays
(#172) Short array syntax must be used to define arrays
(#177) Short array syntax must be used to define arrays
(#182) Short array syntax must be used to define arrays
(#187) Short array syntax must be used to define arrays
(#192) Short array syntax must be used to define arrays
(#197) Short array syntax must be used to define arrays
(#202) Short array syntax must be used to define arrays
(#207) Short array syntax must be used to define arrays
(#212) Short array syntax must be used to define arrays
(#217) Short array syntax must be used to define arrays
(#222) Short array syntax must be used to define arrays
(#227) Short array syntax must be used to define arrays
(#232) Short array syntax must be used to define arrays
(#237) Short array syntax must be used to define arrays
(#242) Short array syntax must be used to define arrays
(#247) Short array syntax must be used to define arrays
(#252) Short array syntax must be used to define arrays
(#257) Short array syntax must be used to define arrays
(#262) Short array syntax must be used to define arrays
(#267) Short array syntax must be used to define arrays
(#269) There should be a comma after the last array item in a multi-line array.
(#272) Short array syntax must be used to define arrays
(#274) There should be a comma after the last array item in a multi-line array.
(#277) Short array syntax must be used to define arrays
(#277) There should be a comma after the last array item in a multi-line array.
admin/tool/trigger/tests/stringcompare_filter_step_test.php
(#31) Import statements must not begin with a leading backslash
(#33) PHPUnit testcase name "tool_trigger_stringcompare_filter_step_testcase" does not match file name "stringcompare_filter_step_test"
(#33) PHPUnit class "tool_trigger_stringcompare_filter_step_testcase" does not have any namespace. It is recommended to add it to the "tool_trigger" namespace, using more levels if needed, in order to match the code being tested
(#40) There must be a single space between the colon and type in a return type declaration
(#54) Test method test_all_operators() is missing any coverage information, own or at class level
(#59) There should be a comma after the last array item in a multi-line array.
(#101) There should be a comma after the last array item in a multi-line array.
(#108) Test method test_datafield() is missing any coverage information, own or at class level
(#116) There should be a comma after the last array item in a multi-line array.
(#125) Test method test_invalidregex() is missing any coverage information, own or at class level
(#131) There should be a comma after the last array item in a multi-line array.
admin/tool/trigger/tests/tool_trigger_testcase.php
(#57) There should be a comma after the last array item in a multi-line array.
(#75) Inline comments must end in full-stops, exclamation marks, or question marks
admin/tool/trigger/tests/user_lookup_step_test.php
(#31) PHPUnit testcase name "tool_trigger_user_lookup_testcase" does not match file name "user_lookup_step_test"
(#31) PHPUnit class "tool_trigger_user_lookup_testcase" does not have any namespace. It is recommended to add it to the "tool_trigger" namespace, using more levels if needed, in order to match the code being tested
(#38) There must be a single space between the colon and type in a return type declaration
(#47) Test method test_execute_basic() is missing any coverage information, own or at class level
(#52) There should be a comma after the last array item in a multi-line array.
(#66) Test method test_execute_basic_with_custom_profile_fields() is missing any coverage information, own or at class level
(#80) There should be a comma after the last array item in a multi-line array.
(#98) Test method test_execute_relateduser() is missing any coverage information, own or at class level
(#103) There should be a comma after the last array item in a multi-line array.
(#117) Test method test_execute_nosuchfield() is missing any coverage information, own or at class level
(#122) There should be a comma after the last array item in a multi-line array.
(#133) Test method test_execute_deleted_user() is missing any coverage information, own or at class level
(#143) There should be a comma after the last array item in a multi-line array.
(#156) There should be a comma after the last array item in a multi-line array.
admin/tool/trigger/tests/webservice_action_step_test.php
(#30) PHPUnit testcase name "tool_trigger_webservice_action_step_testcase" does not match file name "webservice_action_step_test"
(#30) PHPUnit class "tool_trigger_webservice_action_step_testcase" does not have any namespace. It is recommended to add it to the "tool_trigger" namespace, using more levels if needed, in order to match the code being tested
(#44) Test method test_with_valid_call_to_enrol_user() is missing any coverage information, own or at class level
(#85) Test method test_with_invalid_username() is missing any coverage information, own or at class level
(#100) Test method test_with_non_existent_function() is missing any coverage information, own or at class level
(#110) Inline comments must end in full-stops, exclamation marks, or question marks
(#119) Test method test_with_invalid_function_parameters() is missing any coverage information, own or at class level
admin/tool/trigger/tests/workflow_manager_test.php
(#36) PHPUnit testcase name "tool_trigger_workflow_manager_testcase" does not match file name "workflow_manager_test"
(#36) PHPUnit class "tool_trigger_workflow_manager_testcase" does not have any namespace. It is recommended to add it to the "tool_trigger" namespace, using more levels if needed, in order to match the code being tested
(#41) Test method test_get_step_class_names() is missing any coverage information, own or at class level
(#55) Test method test_lookup_step_names() is missing any coverage information, own or at class level
(#57) Short array syntax must be used to define arrays
(#70) Test method test_get_steps_by_type() is missing any coverage information, own or at class level
(#88) Test method test_validate_step_class_good() is missing any coverage information, own or at class level
(#100) Test method test_validate_step_class_bad() is missing any coverage information, own or at class level
(#113) Test method test_get_workflow_data_with_steps() is missing any coverage information, own or at class level
(#136) Short array syntax must be used to define arrays
(#146) Test method test_cleanup() is missing any coverage information, own or at class level
admin/tool/trigger/tests/workflow_process_test.php
(#36) PHPUnit testcase name "tool_trigger_workflow_process_testcase" does not match file name "workflow_process_test"
(#36) PHPUnit class "tool_trigger_workflow_process_testcase" does not have any namespace. It is recommended to add it to the "tool_trigger" namespace, using more levels if needed, in order to match the code being tested
(#41) Test method test_processform() is missing any coverage information, own or at class level
(#62) Short array syntax must be used to define arrays
(#63) Short array syntax must be used to define arrays
(#73) Test method test_processjson() is missing any coverage information, own or at class level
(#100) Test method test_processjson_multiple_steps() is missing any coverage information, own or at class level
(#141) Test method test_import_prep() is missing any coverage information, own or at class level
(#141) Expected 0 spaces after "test_import_prep"; 1 found
(#154) Short array syntax must be used to define arrays
(#155) Short array syntax must be used to define arrays
(#165) There should be a comma after the last array item in a multi-line array.
(#167) Short array syntax must be used to define arrays
(#174) There should be a comma after the last array item in a multi-line array.
(#175) There should be a comma after the last array item in a multi-line array.

Javascript coding style problems

(0 errors, 33 warnings)

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

admin/tool/trigger/amd/src/import_workflow.js
(#27) A space is required after ','. (comma-spacing)
(#29) Unexpected space before function parentheses. (space-before-function-paren)
(#77) Multiple spaces found before '// We're lazy ...'. (no-multi-spaces)
(#111) Expected catch,fail() or return (promise/catch-or-return)
(#111) Each then() should return a value or throw (promise/always-return)
admin/tool/trigger/amd/src/step_select.js
(#27) A space is required after ','. (comma-spacing)
(#29) Unexpected space before function parentheses. (space-before-function-paren)
(#99) Each then() should return a value or throw (promise/always-return)
(#144) ["stepdesc"] is better written in dot notation. (dot-notation)
(#145) ["typedesc"] is better written in dot notation. (dot-notation)
(#151) ["stepclass"] is better written in dot notation. (dot-notation)
(#176) ["type"] is better written in dot notation. (dot-notation)
(#176) ["stepclass"] is better written in dot notation. (dot-notation)
(#192) Extra space after key 'text'. (key-spacing)
(#196) Unexpected space before function parentheses. (space-before-function-paren)
(#199) Extra space after key 'text'. (key-spacing)
(#212) There should be no space after '{'. (@babel/object-curly-spacing)
(#212) There should be no space before '}'. (@babel/object-curly-spacing)
(#259) Extra space after key 'steptype'. (key-spacing)
(#260) Extra space after key 'stepclass'. (key-spacing)
(#295) Missing space before opening brace. (space-before-blocks)
(#315) Missing space before opening brace. (space-before-blocks)
(#319) Missing space before opening brace. (space-before-blocks)
(#323) Missing space before opening brace. (space-before-blocks)
(#325) Missing space before opening brace. (space-before-blocks)
(#329) Missing space before opening brace. (space-before-blocks)
(#342) Missing space before opening brace. (space-before-blocks)
(#368) There should be no space before ','. (comma-spacing)
(#402) ["type"] is better written in dot notation. (dot-notation)
(#403) ["stepclass"] is better written in dot notation. (dot-notation)
(#429) Missing space before opening brace. (space-before-blocks)
(#449) Expected catch,fail() or return (promise/catch-or-return)
(#449) Each then() should return a value or throw (promise/always-return)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(121 errors, 39 warnings)

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

admin/tool/trigger/classes/event_processor.php
(#201) Function event_processor::process_realtime_workflow is not documented
(#356) Phpdocs for function event_processor::record_failed_step has incomplete parameters list
(#419) Phpdocs for function event_processor::execute_current_step has incomplete parameters list
(#461) Phpdocs for function event_processor::execute_next_step_historic has incomplete parameters list
(#542) Phpdocs for function event_processor::execute_next_step_current has incomplete parameters list
(#597) Phpdocs for function event_processor::execute_step_and_continue_historic has incomplete parameters list
(#642) Phpdocs for function event_processor::execute_step_and_continue_current has incomplete parameters list
admin/tool/trigger/classes/output/manageworkflows/renderable.php
(#145) Function renderable::col_triggerhistory is not documented
(#184) Function renderable::col_active is not documented
admin/tool/trigger/classes/output/workflowhistory/filter_form.php
(#42) Function filter_form::definition is not documented
admin/tool/trigger/classes/output/workflowhistory/renderer.php
(#149) Function renderer::step_actions_button is not documented
(#226) Function renderer::run_actions_button is not documented
(#269) Phpdocs for function renderer::rerun_all_historic_button has incomplete parameters list
(#281) Phpdocs for function renderer::rerun_all_current_button has incomplete parameters list
admin/tool/trigger/classes/output/workflowhistory/run.php
(#34) Class runhistory_renderable is not documented
(#92) Function runhistory_renderable::col_step is not documented
(#97) Function runhistory_renderable::col_id is not documented
(#101) Function runhistory_renderable::col_name is not documented
(#105) Function runhistory_renderable::col_type is not documented
(#109) Function runhistory_renderable::col_executed is not documented
(#114) Function runhistory_renderable::col_prevstep is not documented
(#122) Function runhistory_renderable::col_actions is not documented
admin/tool/trigger/classes/output/workflowhistory/workflow.php
(#31) Class workflowhistory_renderable is not documented
(#104) Function workflowhistory_renderable::col_id is not documented
(#108) Function workflowhistory_renderable::col_number is not documented
(#112) Function workflowhistory_renderable::col_eventid is not documented
(#116) Function workflowhistory_renderable::col_username is not documented
(#120) Function workflowhistory_renderable::col_description is not documented
(#129) Function workflowhistory_renderable::col_time is not documented
(#134) Function workflowhistory_renderable::col_runstatus is not documented
(#176) Function workflowhistory_renderable::col_actions is not documented
admin/tool/trigger/classes/steps/actions/assign_cohort_action_step.php
(#30) Class assign_cohort_action_step is not documented
(#60) Function assign_cohort_action_step::init is not documented
(#65) There is no description in phpdocs for function execute
(#66) Phpdocs for function assign_cohort_action_step::execute has incomplete parameters list
(#81) Phpdocs for function assign_cohort_action_step::form_definition_extra has incomplete parameters list
admin/tool/trigger/classes/steps/actions/email_action_step.php
(#108) There is no description in phpdocs for function execute
(#109) Phpdocs for function email_action_step::execute has incomplete parameters list
(#175) Phpdocs for function email_action_step::form_definition_extra has incomplete parameters list
(#212) Phpdocs for function email_action_step::add_privacy_metadata has incomplete parameters list
admin/tool/trigger/classes/steps/actions/http_post_action_step.php
(#66) Function http_post_action_step::init is not documented
(#49) Variable http_post_action_step::$url is not documented
(#50) Variable http_post_action_step::$httpmethod is not documented
(#51) Variable http_post_action_step::$headers is not documented
(#52) Variable http_post_action_step::$params is not documented
(#53) Variable http_post_action_step::$httphandler is not documented
(#122) There is no description in phpdocs for function execute
(#123) Phpdocs for function http_post_action_step::execute has incomplete parameters list
(#182) Phpdocs for function http_post_action_step::form_definition_extra has incomplete parameters list
(#229) Phpdocs for function http_post_action_step::add_privacy_metadata has incomplete parameters list
admin/tool/trigger/classes/steps/actions/logdump_action_step.php
(#38) Function logdump_action_step::form_definition_extra is not documented
(#45) Function logdump_action_step::get_step_desc is not documented
(#49) Function logdump_action_step::get_step_name is not documented
(#53) Function logdump_action_step::execute is not documented
admin/tool/trigger/classes/steps/actions/role_assign_action_step.php
(#27) Class role_assign_action_step is not documented
(#73) There is no description in phpdocs for function init
(#82) There is no description in phpdocs for function execute
(#82) Phpdocs for function role_assign_action_step::execute has incomplete parameters list
(#131) Phpdocs for function role_assign_action_step::form_definition_extra has incomplete parameters list
(#74) Invalid phpdocs tag @inheritdoc used
(#83) Invalid phpdocs tag @inheritdoc used
admin/tool/trigger/classes/steps/actions/role_unassign_action_step.php
(#28) Class role_unassign_action_step is not documented
(#74) There is no description in phpdocs for function init
(#83) There is no description in phpdocs for function execute
(#83) Phpdocs for function role_unassign_action_step::execute has incomplete parameters list
(#128) Phpdocs for function role_unassign_action_step::form_definition_extra has incomplete parameters list
(#75) Invalid phpdocs tag @inheritdoc used
(#84) Invalid phpdocs tag @inheritdoc used
admin/tool/trigger/classes/steps/actions/roles_unassign_action_step.php
(#53) Function roles_unassign_action_step::init is not documented
(#51) Variable roles_unassign_action_step::$inputprefixrole is not documented
(#84) There is no description in phpdocs for function execute
(#85) Phpdocs for function roles_unassign_action_step::execute has incomplete parameters list
(#107) Phpdocs for function roles_unassign_action_step::form_definition_extra has incomplete parameters list
admin/tool/trigger/classes/steps/actions/webservice_action_step.php
(#55) Function webservice_action_step::init is not documented
(#123) Phpdocs for function webservice_action_step::execute has incomplete parameters list
(#183) Phpdocs for function webservice_action_step::form_definition_extra has incomplete parameters list
(#208) Phpdocs for function webservice_action_step::add_privacy_metadata has incomplete parameters list
(#229) Phpdocs for function webservice_action_step::form_validation has incomplete parameters list
(#296) Phpdocs for function webservice_action_step::transform_form_data has incomplete parameters list
admin/tool/trigger/classes/steps/base/base_form.php
(#51) Phpdocs for function base_form::__construct has incomplete parameters list
(#106) Phpdocs for function base_form::get_trigger_fields has incomplete parameters list
(#237) Phpdocs for function base_form::validation has incomplete parameters list
admin/tool/trigger/classes/steps/base/base_step.php
(#40) Function base_step::__construct is not documented
(#36) Variable base_step::$data is not documented
(#38) Variable base_step::$stepfields is not documented
admin/tool/trigger/classes/steps/debounce/debounce_form.php
(#40) Function debounce_form::definition is not documented
admin/tool/trigger/classes/steps/debounce/debounce_step.php
(#79) Phpdocs for function debounce_step::execute has incomplete parameters list
(#241) Phpdocs for function debounce_step::make_form has incomplete parameters list
(#257) Phpdocs for function debounce_step::form_definition_extra has incomplete parameters list
admin/tool/trigger/classes/steps/filters/fail_filter_step.php
(#39) Phpdocs for function fail_filter_step::execute has incomplete parameters list
(#63) Phpdocs for function fail_filter_step::form_definition_extra has incomplete parameters list
admin/tool/trigger/classes/steps/filters/numcompare_filter_step.php
(#94) Function numcompare_filter_step::get_field_value is not documented
(#40) Constant numcompare_filter_step::OPERATOR_EQUAL is not documented
(#41) Constant numcompare_filter_step::OPERATOR_NOTEQUAL is not documented
(#42) Constant numcompare_filter_step::OPERATOR_LT is not documented
(#43) Constant numcompare_filter_step::OPERATOR_LTE is not documented
(#44) Constant numcompare_filter_step::OPERATOR_GTE is not documented
(#45) Constant numcompare_filter_step::OPERATOR_GT is not documented
(#59) Phpdocs for function numcompare_filter_step::execute has incomplete parameters list
(#140) Phpdocs for function numcompare_filter_step::form_definition_extra has incomplete parameters list
admin/tool/trigger/classes/steps/filters/stringcompare_filter_step.php
(#120) Phpdocs for function stringcompare_filter_step::execute has incomplete parameters list
(#193) Phpdocs for function stringcompare_filter_step::form_definition_extra has incomplete parameters list
admin/tool/trigger/classes/steps/lookups/cohort_lookup_step.php
(#56) Function cohort_lookup_step::init is not documented
(#19) No one-line description found in phpdocs for class cohort_lookup_step
(#61) Phpdocs for function cohort_lookup_step::execute has incomplete parameters list
(#85) Phpdocs for function cohort_lookup_step::form_definition_extra has incomplete parameters list
admin/tool/trigger/classes/steps/lookups/course_cat_lookup_step.php
(#67) Function course_cat_lookup_step::init is not documented
(#72) Phpdocs for function course_cat_lookup_step::execute has incomplete parameters list
(#113) Phpdocs for function course_cat_lookup_step::form_definition_extra has incomplete parameters list
admin/tool/trigger/classes/steps/lookups/course_lookup_step.php
(#85) Function course_lookup_step::init is not documented
(#19) No one-line description found in phpdocs for class course_lookup_step
(#90) Phpdocs for function course_lookup_step::execute has incomplete parameters list
(#131) Phpdocs for function course_lookup_step::form_definition_extra has incomplete parameters list
admin/tool/trigger/classes/steps/lookups/roles_lookup_step.php
(#52) Function roles_lookup_step::init is not documented
(#57) Phpdocs for function roles_lookup_step::execute has incomplete parameters list
(#84) Phpdocs for function roles_lookup_step::form_definition_extra has incomplete parameters list
admin/tool/trigger/classes/steps/lookups/user_lookup_step.php
(#110) Function user_lookup_step::init is not documented
(#23) No one-line description found in phpdocs for class user_lookup_step
(#122) Phpdocs for function user_lookup_step::execute has incomplete parameters list
(#168) Phpdocs for function user_lookup_step::form_definition_extra has incomplete parameters list
admin/tool/trigger/classes/task/process_workflows.php
(#119) Function process_workflows::process_queue is not documented
(#149) Function process_workflows::process_item is not documented
(#87) Phpdocs for function process_workflows::create_trigger_queue has incomplete parameters list
admin/tool/trigger/classes/workflow_manager.php
(#152) Phpdocs for function workflow_manager::export_workflow_and_run_history has incomplete parameters list
admin/tool/trigger/classes/workflow_process.php
(#254) There is no description in phpdocs for function import_prep
admin/tool/trigger/cli/import_csv_records.php
(#17) No one-line description found in phpdocs for file
admin/tool/trigger/db/messages.php
(#16) File-level phpdocs block does not have @copyright tag
admin/tool/trigger/externallib.php
(#49) Phpdocs for function tool_trigger_external::step_by_type has incomplete parameters list
(#120) Phpdocs for function tool_trigger_external::validate_form has incomplete parameters list
(#180) Phpdocs for function tool_trigger_external::process_import_form has incomplete parameters list
admin/tool/trigger/lib.php
(#32) Phpdocs for function tool_trigger_output_fragment_new_base_form has incomplete parameters list
(#53) Phpdocs for function tool_trigger_output_fragment_new_step_form has incomplete parameters list
admin/tool/trigger/tests/course_cat_lookup_step_test.php
(#30) Class tool_trigger_course_cat_lookup_step_testcase is not documented
(#180) Phpdocs for function tool_trigger_course_cat_lookup_step_testcase::test_execute_category_id has incomplete parameters list
admin/tool/trigger/tests/course_lookup_step_test.php
(#30) Class tool_trigger_course_lookup_step_testcase is not documented
(#138) Phpdocs for function tool_trigger_course_lookup_step_testcase::test_execute_course_id has incomplete parameters list
admin/tool/trigger/tests/datafield_manager_test.php
(#31) Class tool_trigger_datafield_manager_testcase is not documented
admin/tool/trigger/tests/debounce_step_test.php
(#31) Class debounce_step_testcase is not documented
(#85) Function debounce_step_testcase::get_mock_queue_item is not documented
(#39) Phpdocs for variable debounce_step_testcase::$eventid does not contain @var or incorrect
admin/tool/trigger/tests/email_action_step_test.php
(#31) Class tool_trigger_email_action_step_testcase is not documented
admin/tool/trigger/tests/event_processor_test.php
(#39) Class tool_trigger_event_processor_testcase is not documented
admin/tool/trigger/tests/fail_filter_step_test.php
(#30) Class tool_trigger_fail_filter_step_testcase is not documented
admin/tool/trigger/tests/fixtures/user_event_fixture.php
(#17) No one-line description found in phpdocs for file
admin/tool/trigger/tests/http_post_action_step_test.php
(#31) Class tool_trigger_http_post_action_step_testcase is not documented
(#53) Function tool_trigger_http_post_action_step_testcase::make_mock_http_handler is not documented
admin/tool/trigger/tests/json_export_test.php
(#37) Class tool_trigger_json_export_testcase is not documented
admin/tool/trigger/tests/learn_process_test.php
(#37) Class tool_trigger_learn_process_testcase is not documented
admin/tool/trigger/tests/logdump_action_step_test.php
(#30) Class tool_trigger_logdump_action_step_testcase is not documented
admin/tool/trigger/tests/numcompare_filter_step_test.php
(#32) Class tool_trigger_numcompare_filter_step_testcase is not documented
(#57) There is no description in phpdocs for function test_all_operators
admin/tool/trigger/tests/process_workflows_test.php
(#37) Class tool_trigger_process_workflow_testcase is not documented
admin/tool/trigger/tests/processor_helper_test.php
(#31) Class tool_trigger_processor_helper_testcase is not documented
admin/tool/trigger/tests/role_assign_action_step_test.php
(#30) Class role_assign_action_step_testcase is not documented
admin/tool/trigger/tests/role_unassign_action_step_test.php
(#30) Class role_unassign_action_step_testcase is not documented
admin/tool/trigger/tests/steps_form_test.php
(#30) Class tool_trigger_steps_form_testcase is not documented
admin/tool/trigger/tests/stringcompare_filter_step_test.php
(#33) Class tool_trigger_stringcompare_filter_step_testcase is not documented
admin/tool/trigger/tests/tool_trigger_testcase.php
(#37) Class tool_trigger_testcase is not documented
(#42) Phpdocs for function tool_trigger_testcase::create_workflow has incomplete parameters list
admin/tool/trigger/tests/user_lookup_step_test.php
(#31) Class tool_trigger_user_lookup_testcase is not documented

Update savepoints problems

(0 errors, 0 warnings)

This section shows problems detected with the handling of upgrade savepoints [More info]


Third party library modification problems

(0 errors, 0 warnings)

This section shows problems detected with the modification of third party libraries [More info]


grunt changes

(0 errors, 0 warnings)

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


shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 0 warnings)

This section shows problems detected in mustache templates [More info]


Gherkin .feature problems

(0 errors, 0 warnings)

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