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

(308 errors, 75 warnings)

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

mod/allocationform/backup/moodle2/backup_allocationform_activity_task.class.php
(#61) Expected at least 1 space before "."; 0 found
(#61) Expected at least 1 space after "."; 0 found
(#61) Expected at least 1 space before "."; 0 found
(#61) Expected at least 1 space after "."; 0 found
(#64) Expected at least 1 space before "."; 0 found
(#64) Expected at least 1 space after "."; 0 found
(#64) Expected at least 1 space before "."; 0 found
(#64) Expected at least 1 space after "."; 0 found
mod/allocationform/backup/moodle2/restore_allocationform_activity_task.class.php
(#100) Opening parenthesis of a multi-line function call must be the last content on the line
(#100) Only one argument is allowed per line in a multi-line function call
(#100) Only one argument is allowed per line in a multi-line function call
(#101) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#101) Closing parenthesis of a multi-line function call must be on a line by itself
mod/allocationform/changestate.php
(#36) Long list syntax is not allowed
mod/allocationform/classes/activity.php
(#254) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#255) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#256) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#257) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#417) Long list syntax is not allowed
(#429) Long list syntax is not allowed
(#441) Long list syntax is not allowed
mod/allocationform/classes/allocate_form.php
(#101) Opening parenthesis of a multi-line function call must be the last content on the line
(#101) Only one argument is allowed per line in a multi-line function call
(#102) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#102) Only one argument is allowed per line in a multi-line function call
(#102) Only one argument is allowed per line in a multi-line function call
(#102) Closing parenthesis of a multi-line function call must be on a line by itself
(#135) Expected at least 1 space before "."; 0 found
mod/allocationform/classes/allocation.php
(#73) Opening parenthesis of a multi-line function call must be the last content on the line
(#74) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#74) Only one argument is allowed per line in a multi-line function call
(#74) Only one argument is allowed per line in a multi-line function call
(#74) Closing parenthesis of a multi-line function call must be on a line by itself
mod/allocationform/classes/disallow.php
(#74) Expected at least 1 space before "."; 0 found
(#74) Expected at least 1 space after "."; 0 found
(#74) Expected at least 1 space before "."; 0 found
(#74) Expected at least 1 space after "."; 0 found
(#77) Expected at least 1 space before "."; 0 found
(#78) Expected at least 1 space before "."; 0 found
(#79) Expected at least 1 space before "."; 0 found
(#80) Expected at least 1 space before "."; 0 found
(#81) Expected at least 1 space before "."; 0 found
(#82) Expected at least 1 space before "."; 0 found
(#83) Expected at least 1 space before "."; 0 found
(#84) Expected at least 1 space before "."; 0 found
(#85) Expected at least 1 space before "."; 0 found
(#86) Expected at least 1 space before "."; 0 found
(#87) Expected at least 1 space before "."; 0 found
(#88) Expected at least 1 space before "."; 0 found
(#89) Expected at least 1 space before "."; 0 found
(#90) Expected at least 1 space before "."; 0 found
(#91) Expected at least 1 space before "."; 0 found
(#92) Expected at least 1 space before "."; 0 found
(#93) Expected at least 1 space before "."; 0 found
(#94) Expected at least 1 space before "."; 0 found
mod/allocationform/classes/disallow_form.php
(#89) Expected at least 1 space before "."; 0 found
(#89) Expected at least 1 space after "."; 0 found
mod/allocationform/classes/external/access_denied.php
(#41) Long list syntax is not allowed
mod/allocationform/classes/external/choices.php
(#49) Long list syntax is not allowed
mod/allocationform/classes/external/view.php
(#41) PHP4 style constructors are not allowed; use "__construct()" instead
(#44) Long list syntax is not allowed
mod/allocationform/classes/init.php
(#80) Expected 1 space after SWITCH keyword; 0 found
(#177) Expected at least 1 space before "."; 0 found
(#177) Expected at least 1 space after "."; 0 found
(#177) Expected at least 1 space before "."; 0 found
(#177) Expected at least 1 space after "."; 0 found
(#179) Expected at least 1 space before "."; 0 found
(#255) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#255) Multi-line function declarations must define one parameter per line
(#255) Multi-line function declarations must define one parameter per line
(#255) Multi-line function declarations must define one parameter per line
(#255) Multi-line function declarations must define one parameter per line
(#255) Multi-line function declarations must define one parameter per line
(#256) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#256) Multi-line function declarations must define one parameter per line
(#256) The closing parenthesis of a multi-line function declaration must be on a new line
(#264) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#265) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#292) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#292) Multi-line function declarations must define one parameter per line
(#292) Multi-line function declarations must define one parameter per line
(#292) Multi-line function declarations must define one parameter per line
(#292) Multi-line function declarations must define one parameter per line
(#292) Multi-line function declarations must define one parameter per line
(#293) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#293) Multi-line function declarations must define one parameter per line
(#293) Multi-line function declarations must define one parameter per line
(#293) Multi-line function declarations must define one parameter per line
(#293) Multi-line function declarations must define one parameter per line
(#293) Multi-line function declarations must define one parameter per line
(#293) The closing parenthesis of a multi-line function declaration must be on a new line
(#312) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#313) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#313) Blank line found at start of control structure
(#319) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#321) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#321) Blank line found at start of control structure
(#342) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#343) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#347) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#348) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#348) Blank line found at start of control structure
(#374) Expected at least 1 space before "."; 0 found
(#374) Expected at least 1 space after "."; 0 found
(#378) Expected at least 1 space before "."; 0 found
(#378) Expected at least 1 space after "."; 0 found
(#378) Opening parenthesis of a multi-line function call must be the last content on the line
(#378) Only one argument is allowed per line in a multi-line function call
(#379) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#379) Closing parenthesis of a multi-line function call must be on a line by itself
(#379) Expected at least 1 space before "."; 0 found
(#379) Expected at least 1 space after "."; 0 found
(#480) Opening parenthesis of a multi-line function call must be the last content on the line
(#480) Only one argument is allowed per line in a multi-line function call
(#480) Only one argument is allowed per line in a multi-line function call
(#480) Only one argument is allowed per line in a multi-line function call
(#481) Multi-line function call not indented correctly; expected 16 spaces but found 24
(#481) Only one argument is allowed per line in a multi-line function call
(#481) Only one argument is allowed per line in a multi-line function call
(#481) Only one argument is allowed per line in a multi-line function call
(#481) Closing parenthesis of a multi-line function call must be on a line by itself
(#484) Opening parenthesis of a multi-line function call must be the last content on the line
(#484) Only one argument is allowed per line in a multi-line function call
(#484) Only one argument is allowed per line in a multi-line function call
(#484) Only one argument is allowed per line in a multi-line function call
(#484) Only one argument is allowed per line in a multi-line function call
(#484) Only one argument is allowed per line in a multi-line function call
(#485) Multi-line function call not indented correctly; expected 20 spaces but found 28
(#485) Only one argument is allowed per line in a multi-line function call
(#485) Only one argument is allowed per line in a multi-line function call
(#485) Only one argument is allowed per line in a multi-line function call
(#485) Only one argument is allowed per line in a multi-line function call
(#485) Only one argument is allowed per line in a multi-line function call
(#485) Closing parenthesis of a multi-line function call must be on a line by itself
(#615) Expected at least 1 space before "."; 0 found
(#616) Expected at least 1 space before "."; 0 found
(#617) Expected at least 1 space before "."; 0 found
(#618) Expected at least 1 space before "."; 0 found
(#619) Expected at least 1 space before "."; 0 found
(#620) Expected at least 1 space before "."; 0 found
(#621) Expected at least 1 space before "."; 0 found
(#622) Expected at least 1 space before "."; 0 found
(#623) Expected at least 1 space before "."; 0 found
(#624) Expected at least 1 space before "."; 0 found
(#625) Expected at least 1 space before "."; 0 found
(#626) Expected at least 1 space before "."; 0 found
(#627) Expected at least 1 space before "."; 0 found
(#628) Expected at least 1 space before "."; 0 found
(#629) Expected at least 1 space before "."; 0 found
(#646) Expected at least 1 space before "."; 0 found
(#647) Expected at least 1 space before "."; 0 found
(#647) Expected at least 1 space after "."; 0 found
(#653) Opening parenthesis of a multi-line function call must be the last content on the line
(#654) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#654) Only one argument is allowed per line in a multi-line function call
(#654) Only one argument is allowed per line in a multi-line function call
(#654) Closing parenthesis of a multi-line function call must be on a line by itself
(#668) Expected at least 1 space before "."; 0 found
(#668) Expected at least 1 space after "."; 0 found
(#668) Expected at least 1 space before "."; 0 found
(#668) Expected at least 1 space after "."; 0 found
(#681) Expected at least 1 space before "."; 0 found
(#681) Expected at least 1 space after "."; 0 found
(#681) Expected at least 1 space before "."; 0 found
(#681) Expected at least 1 space after "."; 0 found
(#681) Expected at least 1 space before "."; 0 found
(#681) Expected at least 1 space after "."; 0 found
(#681) Expected at least 1 space before "."; 0 found
(#681) Expected at least 1 space after "."; 0 found
(#681) Expected at least 1 space before "."; 0 found
(#681) Expected at least 1 space after "."; 0 found
(#681) Expected at least 1 space before "."; 0 found
(#681) Expected at least 1 space after "."; 0 found
(#682) Expected at least 1 space before "."; 0 found
(#682) Expected at least 1 space after "."; 0 found
(#683) Expected at least 1 space before "."; 0 found
(#683) Expected at least 1 space after "."; 0 found
(#684) Expected at least 1 space before "."; 0 found
(#684) Expected at least 1 space after "."; 0 found
(#685) Expected at least 1 space before "."; 0 found
(#685) Expected at least 1 space after "."; 0 found
(#686) Expected at least 1 space before "."; 0 found
(#686) Expected at least 1 space after "."; 0 found
(#687) Expected at least 1 space before "."; 0 found
(#687) Expected at least 1 space after "."; 0 found
(#688) Expected at least 1 space before "."; 0 found
(#688) Expected at least 1 space after "."; 0 found
(#689) Expected at least 1 space before "."; 0 found
(#689) Expected at least 1 space after "."; 0 found
(#690) Expected at least 1 space before "."; 0 found
(#690) Expected at least 1 space after "."; 0 found
(#691) Expected at least 1 space before "."; 0 found
(#691) Expected at least 1 space after "."; 0 found
(#692) Expected at least 1 space before "."; 0 found
(#692) Expected at least 1 space after "."; 0 found
(#712) Expected at least 1 space before "."; 0 found
(#712) Expected at least 1 space after "."; 0 found
(#718) Opening parenthesis of a multi-line function call must be the last content on the line
(#719) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#719) Only one argument is allowed per line in a multi-line function call
(#719) Only one argument is allowed per line in a multi-line function call
(#719) Closing parenthesis of a multi-line function call must be on a line by itself
(#740) Expected at least 1 space before "."; 0 found
(#740) Expected at least 1 space after "."; 0 found
(#740) Expected at least 1 space before "."; 0 found
(#740) Expected at least 1 space after "."; 0 found
(#747) Expected at least 1 space before "."; 0 found
(#748) Expected at least 1 space before "."; 0 found
(#749) Expected at least 1 space before "."; 0 found
(#750) Expected at least 1 space before "."; 0 found
(#751) Expected at least 1 space before "."; 0 found
(#752) Expected at least 1 space before "."; 0 found
(#753) Expected at least 1 space before "."; 0 found
(#754) Expected at least 1 space before "."; 0 found
(#755) Expected at least 1 space before "."; 0 found
(#756) Expected at least 1 space before "."; 0 found
(#757) Expected at least 1 space before "."; 0 found
(#758) Expected at least 1 space before "."; 0 found
(#779) Expected at least 1 space before "."; 0 found
(#779) Expected at least 1 space after "."; 0 found
(#779) Expected at least 1 space before "."; 0 found
(#779) Expected at least 1 space after "."; 0 found
(#779) Expected at least 1 space before "."; 0 found
(#779) Expected at least 1 space after "."; 0 found
mod/allocationform/classes/option.php
(#100) Expected at least 1 space before "."; 0 found
mod/allocationform/classes/option_form.php
(#104) Opening parenthesis of a multi-line function call must be the last content on the line
(#104) Only one argument is allowed per line in a multi-line function call
(#104) Only one argument is allowed per line in a multi-line function call
(#105) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#105) Only one argument is allowed per line in a multi-line function call
(#105) Closing parenthesis of a multi-line function call must be on a line by itself
mod/allocationform/classes/output/allallocations.php
(#86) Long list syntax is not allowed
mod/allocationform/classes/output/mobile.php
(#53) Space found before comma in argument list
(#53) Expected no space between "courseid" and the comma. Found: 1 space
(#53) Space found before comma in argument list
(#53) Expected no space between "false" and the comma. Found: 1 space
(#54) Space before opening parenthesis of function call prohibited
mod/allocationform/classes/privacy/provider.php
(#48) The interface names in a "class implements" statement should be ordered alphabetically. Expected: \core_privacy\local\metadata\provider, \core_privacy\local\request\plugin\provider, \core_privacy\local\request\core_userlist_provider; Found: \core_privacy\local\request\core_userlist_provider, \core_privacy\local\metadata\provider, \core_privacy\local\request\plugin\provider
(#49) Expected 4 spaces before interface name; 8 found
(#50) Expected 4 spaces before interface name; 8 found
(#51) Expected 4 spaces before interface name; 8 found
(#160) Long list syntax is not allowed
(#197) Long list syntax is not allowed
(#278) Long list syntax is not allowed
(#316) Long list syntax is not allowed
(#452) Long list syntax is not allowed
mod/allocationform/classes/reportbuilder/entities/allocationform.php
(#281) Expected at least 1 space before "."; 0 found
mod/allocationform/classes/task/cron.php
(#68) Opening parenthesis of a multi-line function call must be the last content on the line
(#68) Only one argument is allowed per line in a multi-line function call
(#68) Only one argument is allowed per line in a multi-line function call
(#69) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#69) Only one argument is allowed per line in a multi-line function call
(#69) Closing parenthesis of a multi-line function call must be on a line by itself
(#89) The closing brace for the class must go on the next line after the body
mod/allocationform/db/upgrade.php
(#44) Blank line found at start of control structure
(#59) Blank line found at start of control structure
(#73) Blank line found at start of control structure
mod/allocationform/deleteoption.php
(#32) Long list syntax is not allowed
mod/allocationform/editoption.php
(#35) Long list syntax is not allowed
mod/allocationform/editrestriction.php
(#36) Long list syntax is not allowed
mod/allocationform/exportallocations.php
(#32) Long list syntax is not allowed
mod/allocationform/exportchoices.php
(#32) Long list syntax is not allowed
mod/allocationform/index.php
(#78) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#78) Closing parenthesis of a multi-line function call must be on a line by itself
(#82) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#82) Closing parenthesis of a multi-line function call must be on a line by itself
mod/allocationform/lang/en/allocationform.php
(#37) The string key "allocationform:edit" is not in the correct order, it should be before "allocationform:exportallocations"
(#48) The string key "allocationform_options:maxallocation" is not in the correct order, it should be before "allocationform_options:name"
(#49) The string key "allocationform_options:heading" is not in the correct order, it should be before "allocationform_options:maxallocation"
(#80) The string key "choiceheading" is not in the correct order, it should be before "choicesexported"
(#101) The string key "event:optiondcreated" is not in the correct order, it should be before "event:optiondeleted"
(#155) The string key "notrequired" is not in the correct order, it should be before "notwant_help"
(#191) The string key "privacy:metadata:allocationform_allocations:allocation" is not in the correct order, it should be before "privacy:metadata:allocationform_allocations:userid"
(#202) The string key "privacy:metadata:allocationform_choices:choice10" is not in the correct order, it should be before "privacy:metadata:allocationform_choices:choice9"
(#213) The string key "reprocess" is not in the correct order, it should be before "restrict"
(#232) The string key "timeline:avaliable" is not in the correct order, it should be before "timeline:deadline"
mod/allocationform/lib.php
(#46) Expected 1 space after SWITCH keyword; 0 found
(#130) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $mform.
(#145) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $mform.
(#196) Space after opening parenthesis of function call prohibited
(#269) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#270) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#321) Incorrect spacing between argument "$userid" and equals sign; expected 1 but found 0
(#321) Incorrect spacing between default value and equals sign for argument "$userid"; expected 1 but found 0
(#321) Incorrect spacing between argument "$groupid" and equals sign; expected 1 but found 0
(#321) Incorrect spacing between default value and equals sign for argument "$groupid"; expected 1 but found 0
(#507) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#508) Multi-line function declaration not indented correctly; expected 4 spaces but found 63
(#509) Multi-line function declaration not indented correctly; expected 4 spaces but found 63
(#509) The closing parenthesis of a multi-line function declaration must be on a new line
mod/allocationform/mod_form.php
(#31) Expected at least 1 space before "."; 0 found
(#31) Expected at least 1 space after "."; 0 found
(#41) Opening brace must not be followed by a blank line
(#86) Opening parenthesis of a multi-line function call must be the last content on the line
(#86) Only one argument is allowed per line in a multi-line function call
(#87) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#87) Only one argument is allowed per line in a multi-line function call
(#87) Only one argument is allowed per line in a multi-line function call
(#87) Closing parenthesis of a multi-line function call must be on a line by itself
mod/allocationform/settings.php
(#29) Opening parenthesis of a multi-line function call must be the last content on the line
(#29) Only one argument is allowed per line in a multi-line function call
(#30) Multi-line function call not indented correctly; expected 4 spaces but found 23
(#30) Closing parenthesis of a multi-line function call must be on a line by itself
(#40) Opening parenthesis of a multi-line function call must be the last content on the line
(#40) Only one argument is allowed per line in a multi-line function call
(#41) Multi-line function call not indented correctly; expected 4 spaces but found 23
(#41) Only one argument is allowed per line in a multi-line function call
(#41) Only one argument is allowed per line in a multi-line function call
(#41) Closing parenthesis of a multi-line function call must be on a line by itself
(#42) Blank line found at end of control structure
mod/allocationform/tests/activity_test.php
(#39) Unit test activity_test should be declared as final.
(#61) Test method test_create() is missing a return type
(#82) Test method test_delete() is missing a return type
(#127) Test method test_get_participants() is missing a return type
(#167) Test method test_update() is missing a return type
(#243) Test method test_user_can_choose() is missing a return type
(#296) Test method test_user_can_review() is missing a return type
(#315) Test method test_reset_user_data() is missing a return type
(#381) Test method test_user_can_be_allocated() is missing a return type
(#420) Test method test_user_can_edit() is missing a return type
(#435) Test method test_get_valid_choices() is missing a return type
(#470) Test method test_automatic_state_change_ready_deadline_passed() is missing a return type
(#517) Test method test_automatic_state_no_change() is missing a return type
mod/allocationform/tests/behat/behat_mod_allocationform.php
(#29) Useless alias "Given" found for import of "Behat\Behat\Context\Step\Given"
(#30) Useless alias "TableNode" found for import of "Behat\Gherkin\Node\TableNode"
(#124) Opening parenthesis of a multi-line function call must be the last content on the line
(#125) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#125) Closing parenthesis of a multi-line function call must be on a line by itself
mod/allocationform/tests/external/access_denied_test.php
(#44) Unit test access_denied_test should be declared as final.
(#48) Test method test_view() is missing a return type
mod/allocationform/tests/external/choice_test.php
(#45) Unit test choice_test should be declared as final.
(#49) Test method test_submit() is missing a return type
(#93) Test method test_pick_restricted() is missing a return type
(#145) Test method test_pick_duplicate() is missing a return type
(#197) Test method test_too_many_choices() is missing a return type
(#249) Test method test_wrong_role() is missing a return type
(#300) Test method test_notwant() is missing a return type
(#345) Test method test_no_notwant() is missing a return type
mod/allocationform/tests/external/view_test.php
(#44) Unit test view_test should be declared as final.
(#48) Test method test_view() is missing a return type
mod/allocationform/tests/generator/lib.php
(#110) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $options.
mod/allocationform/tests/init_test.php
(#42) Unit test init_test should be declared as final.
(#82) Test method test_allocate_all() is missing a return type
(#114) Test method test_allocate_no_choice() is missing a return type
(#146) Test method test_allocate_oversubscription() is missing a return type
(#182) Test method test_allocate_restriction() is missing a return type
(#213) Test method test_allocate_notwant() is missing a return type
(#251) Test method test_allocate_no_enough_places() is missing a return type
(#291) Test method test_allocate_ranking() is missing a return type
(#325) Test method test_allocate_multiple_allocation() is missing a return type
(#359) Test method test_allocate_role_multiple() is missing a return type
(#428) Test method test_change_state() is missing a return type
(#447) Test method test_change_state_inavlid() is missing a return type
(#458) Empty CATCH statement detected
(#468) Test method test_change_state_to_editing() is missing a return type
(#485) Test method test_change_state_to_avaliable() is missing a return type
(#512) Test method test_change_state_from_avaliable() is missing a return type
mod/allocationform/tests/output/allallocations_test.php
(#39) Unit test allallocations_test should be declared as final.
(#63) Test method test_get_allocations() is missing a return type
(#92) Test method test_get_unallocated() is missing a return type
mod/allocationform/tests/output/allocation_test.php
(#39) Unit test allocation_test should be declared as final.
(#63) Test method test_get_allocations() is missing a return type
mod/allocationform/tests/output/editing_test.php
(#39) Unit test editing_test should be declared as final.
(#80) Test method test_get_number_of_allocation_slots() is missing a return type
(#94) Test method test_count_bad_restrictions() is missing a return type
(#133) Test method test_count_users() is missing a return type
(#153) Test method test_get_options() is missing a return type
mod/allocationform/tests/privacy/provider_test.php
(#39) Unit test provider_test should be declared as final.
(#63) Test method test_user_with_no_choices_or_rescrictions() is missing a return type
(#84) Test method test_user_with_only_restrictions() is missing a return type
(#122) Test method test_user_with_no_allocations() is missing a return type
(#161) Test method test_allocated_user() is missing a return type
(#203) Test method test_allocated_without_making_choice() is missing a return type
(#244) Test method test_get_users_in_context() is missing a return type
(#283) Test method test_delete_data_for_users() is missing a return type
mod/allocationform/tests/reportbuilder/datasource/allocations_test.php
(#38) Unit test allocations_test should be declared as final.
(#177) Test method test_datasource_joins() is missing a return type
mod/allocationform/tests/reportbuilder/datasource/choices_test.php
(#39) Unit test choices_test should be declared as final.
(#190) Long list syntax is not allowed
(#245) Test method test_datasource_joins() is missing a return type
mod/allocationform/view.php
(#38) Long list syntax is not allowed
(#40) Long list syntax is not allowed
(#114) There must be a comment when fall-through is intentional in a non-empty case body

Javascript coding style problems

(0 errors, 0 warnings)

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


CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(17 errors, 0 warnings)

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

mod/allocationform/classes/output/allallocations.php
(#104) Phpdocs for function allallocations::export_for_template has incomplete parameters list
mod/allocationform/classes/output/allocation.php
(#77) Phpdocs for function allocation::export_for_template has incomplete parameters list
mod/allocationform/classes/output/editing.php
(#95) Phpdocs for function editing::export_for_template has incomplete parameters list
mod/allocationform/classes/output/form.php
(#55) Phpdocs for function form::export_for_template has incomplete parameters list
mod/allocationform/classes/output/mobile_ready.php
(#70) Phpdocs for function mobile_ready::export_for_template has incomplete parameters list
mod/allocationform/classes/output/option_editing.php
(#72) Phpdocs for function option_editing::export_for_template has incomplete parameters list
mod/allocationform/classes/output/option_mobile_ready.php
(#57) Phpdocs for function option_mobile_ready::export_for_template has incomplete parameters list
mod/allocationform/classes/output/option_result.php
(#52) Phpdocs for function option_result::export_for_template has incomplete parameters list
mod/allocationform/classes/output/processing.php
(#49) Phpdocs for function processing::export_for_template has incomplete parameters list
mod/allocationform/classes/output/progress.php
(#78) Phpdocs for function progress::export_for_template has incomplete parameters list
mod/allocationform/classes/output/ready.php
(#59) Phpdocs for function ready::export_for_template has incomplete parameters list
mod/allocationform/classes/output/user.php
(#50) Phpdocs for function user::export_for_template has incomplete parameters list
mod/allocationform/mod_form.php
(#165) Phpdocs for function mod_allocationform_mod_form::data_postprocessing has incomplete parameters list
mod/allocationform/tests/activity_test.php
(#376) Phpdocs for function activity_test::test_user_can_be_allocated has incomplete parameters list
mod/allocationform/tests/behat/behat_mod_allocationform.php
(#114) Phpdocs for function behat_mod_allocationform::workable_restrictions_were_exceeded_for_users_options_required_per_user has incomplete parameters list
(#169) Phpdocs for function behat_mod_allocationform::i_restrict_allocationform_option has incomplete parameters list
mod/allocationform/tests/generator/lib.php
(#149) Phpdocs for function mod_allocationform_generator::create_option 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

(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, 89 warnings)

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

mod/allocationform/templates/allocation.mustache
(#1) HTML Validation error, line 17: No “p” element in scope but a “p” end tag seen. ( </ul></p></b)
mod/allocationform/templates/mobile/ionic3/allallocations.mustache
(#1) HTML Validation info, line 43: Attribute “[params]” is not serializable as XML 1.0. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 5632}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation info, line 43: Attribute “[presets]” is not serializable as XML 1.0. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 5632}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 43: Attribute “core-site-plugins-call-ws-on-load” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 5632}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 43: Attribute “name” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 5632}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 43: Attribute “[params]” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 5632}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 43: Attribute “[presets]” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 5632}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
mod/allocationform/templates/mobile/ionic3/allocation.mustache
(#1) HTML Validation info, line 16: Attribute “[params]” is not serializable as XML 1.0. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation info, line 16: Attribute “[presets]” is not serializable as XML 1.0. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 16: Attribute “core-site-plugins-call-ws-on-load” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 16: Attribute “name” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 16: Attribute “[params]” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 16: Attribute “[presets]” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
mod/allocationform/templates/mobile/ionic3/denyaccess.mustache
(#1) HTML Validation info, line 9: Attribute “[params]” is not serializable as XML 1.0. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_denied" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation info, line 9: Attribute “[presets]” is not serializable as XML 1.0. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_denied" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 9: Attribute “core-site-plugins-call-ws-on-load” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_denied" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 9: Attribute “name” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_denied" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 9: Attribute “[params]” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_denied" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 9: Attribute “[presets]” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_denied" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
mod/allocationform/templates/mobile/ionic3/editing.mustache
(#1) HTML Validation info, line 9: Attribute “[params]” is not serializable as XML 1.0. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation info, line 9: Attribute “[presets]” is not serializable as XML 1.0. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 9: Attribute “core-site-plugins-call-ws-on-load” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 9: Attribute “name” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 9: Attribute “[params]” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 9: Attribute “[presets]” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
mod/allocationform/templates/mobile/ionic3/processing.mustache
(#1) HTML Validation info, line 9: Attribute “[params]” is not serializable as XML 1.0. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation info, line 9: Attribute “[presets]” is not serializable as XML 1.0. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 9: Attribute “core-site-plugins-call-ws-on-load” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 9: Attribute “name” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 9: Attribute “[params]” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 9: Attribute “[presets]” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
mod/allocationform/templates/mobile/ionic3/ready.mustache
(#1) HTML Validation info, line 8: Attribute “*ngfor” is not serializable as XML 1.0. (card> <ion-card *ngFor="let error of CONTENT_OTHERDATA.warnings" color="danger"> )
(#1) HTML Validation info, line 21: Attribute “*ngfor” is not serializable as XML 1.0. ( <ion-badge *ngFor="let error of CONTENT_OTHERDATA.validation.choice1" color="danger" translate> )
(#1) HTML Validation info, line 25: Attribute “[(ngmodel)]” is not serializable as XML 1.0. ( <ion-select [(ngModel)]="CONTENT_OTHERDATA.data.choice1"> )
(#1) HTML Validation info, line 36: Attribute “*ngfor” is not serializable as XML 1.0. ( <ion-badge *ngFor="let error of CONTENT_OTHERDATA.validation.choice2" color="danger" translate> )
(#1) HTML Validation info, line 40: Attribute “[(ngmodel)]” is not serializable as XML 1.0. ( <ion-select [(ngModel)]="CONTENT_OTHERDATA.data.choice2"> )
(#1) HTML Validation info, line 51: Attribute “*ngfor” is not serializable as XML 1.0. ( <ion-badge *ngFor="let error of CONTENT_OTHERDATA.validation.notwant" color="danger" translate> )
(#1) HTML Validation info, line 55: Attribute “[(ngmodel)]” is not serializable as XML 1.0. ( <ion-select [(ngModel)]="CONTENT_OTHERDATA.data.notwant"> )
(#1) HTML Validation info, line 69: Attribute “[params]” is not serializable as XML 1.0. ( <button ion-button block core-site-plugins-call-ws name="mod_allocationform_choices_submit" [params]="{id: 467, choices: CONTENT_OTHERDATA.data }" [preSets]="{getFromCache: 0, saveToCache: 0}" (onSuccess) = "check_response($event)" > )
(#1) HTML Validation info, line 69: Attribute “[presets]” is not serializable as XML 1.0. ( <button ion-button block core-site-plugins-call-ws name="mod_allocationform_choices_submit" [params]="{id: 467, choices: CONTENT_OTHERDATA.data }" [preSets]="{getFromCache: 0, saveToCache: 0}" (onSuccess) = "check_response($event)" > )
(#1) HTML Validation info, line 69: Attribute “(onsuccess)” is not serializable as XML 1.0. ( <button ion-button block core-site-plugins-call-ws name="mod_allocationform_choices_submit" [params]="{id: 467, choices: CONTENT_OTHERDATA.data }" [preSets]="{getFromCache: 0, saveToCache: 0}" (onSuccess) = "check_response($event)" > )
(#1) HTML Validation error, line 69: Attribute “ion-button” not allowed on element “button” at this point. ( <button ion-button block core-site-plugins-call-ws name="mod_allocationform_choices_submit" [params]="{id: 467, choices: CONTENT_OTHERDATA.data }" [preSets]="{getFromCache: 0, saveToCache: 0}" (onSuccess) = "check_response($event)" > )
(#1) HTML Validation error, line 69: Attribute “block” not allowed on element “button” at this point. ( <button ion-button block core-site-plugins-call-ws name="mod_allocationform_choices_submit" [params]="{id: 467, choices: CONTENT_OTHERDATA.data }" [preSets]="{getFromCache: 0, saveToCache: 0}" (onSuccess) = "check_response($event)" > )
(#1) HTML Validation error, line 69: Attribute “core-site-plugins-call-ws” not allowed on element “button” at this point. ( <button ion-button block core-site-plugins-call-ws name="mod_allocationform_choices_submit" [params]="{id: 467, choices: CONTENT_OTHERDATA.data }" [preSets]="{getFromCache: 0, saveToCache: 0}" (onSuccess) = "check_response($event)" > )
(#1) HTML Validation error, line 69: Attribute “[params]” not allowed on element “button” at this point. ( <button ion-button block core-site-plugins-call-ws name="mod_allocationform_choices_submit" [params]="{id: 467, choices: CONTENT_OTHERDATA.data }" [preSets]="{getFromCache: 0, saveToCache: 0}" (onSuccess) = "check_response($event)" > )
(#1) HTML Validation error, line 69: Attribute “[presets]” not allowed on element “button” at this point. ( <button ion-button block core-site-plugins-call-ws name="mod_allocationform_choices_submit" [params]="{id: 467, choices: CONTENT_OTHERDATA.data }" [preSets]="{getFromCache: 0, saveToCache: 0}" (onSuccess) = "check_response($event)" > )
(#1) HTML Validation error, line 69: Attribute “(onsuccess)” not allowed on element “button” at this point. ( <button ion-button block core-site-plugins-call-ws name="mod_allocationform_choices_submit" [params]="{id: 467, choices: CONTENT_OTHERDATA.data }" [preSets]="{getFromCache: 0, saveToCache: 0}" (onSuccess) = "check_response($event)" > )
(#1) HTML Validation info, line 75: Attribute “[params]” is not serializable as XML 1.0. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation info, line 75: Attribute “[presets]” is not serializable as XML 1.0. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 75: Attribute “core-site-plugins-call-ws-on-load” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 75: Attribute “name” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 75: Attribute “[params]” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 75: Attribute “[presets]” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
mod/allocationform/templates/mobile/ionic7/allallocations.mustache
(#1) HTML Validation info, line 43: Attribute “[params]” is not serializable as XML 1.0. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 5632}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation info, line 43: Attribute “[presets]” is not serializable as XML 1.0. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 5632}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 43: Attribute “core-site-plugins-call-ws-on-load” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 5632}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 43: Attribute “name” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 5632}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 43: Attribute “[params]” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 5632}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 43: Attribute “[presets]” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 5632}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
mod/allocationform/templates/mobile/ionic7/allocation.mustache
(#1) HTML Validation info, line 16: Attribute “[params]” is not serializable as XML 1.0. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation info, line 16: Attribute “[presets]” is not serializable as XML 1.0. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 16: Attribute “core-site-plugins-call-ws-on-load” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 16: Attribute “name” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 16: Attribute “[params]” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 16: Attribute “[presets]” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
mod/allocationform/templates/mobile/ionic7/denyaccess.mustache
(#1) HTML Validation info, line 9: Attribute “[params]” is not serializable as XML 1.0. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_denied" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation info, line 9: Attribute “[presets]” is not serializable as XML 1.0. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_denied" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 9: Attribute “core-site-plugins-call-ws-on-load” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_denied" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 9: Attribute “name” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_denied" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 9: Attribute “[params]” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_denied" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 9: Attribute “[presets]” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_denied" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
mod/allocationform/templates/mobile/ionic7/editing.mustache
(#1) HTML Validation info, line 9: Attribute “[params]” is not serializable as XML 1.0. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation info, line 9: Attribute “[presets]” is not serializable as XML 1.0. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 9: Attribute “core-site-plugins-call-ws-on-load” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 9: Attribute “name” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 9: Attribute “[params]” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 9: Attribute “[presets]” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
mod/allocationform/templates/mobile/ionic7/processing.mustache
(#1) HTML Validation info, line 9: Attribute “[params]” is not serializable as XML 1.0. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation info, line 9: Attribute “[presets]” is not serializable as XML 1.0. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 9: Attribute “core-site-plugins-call-ws-on-load” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 9: Attribute “name” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 9: Attribute “[params]” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 9: Attribute “[presets]” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
mod/allocationform/templates/mobile/ionic7/ready.mustache
(#1) HTML Validation info, line 8: Attribute “*ngfor” is not serializable as XML 1.0. (card> <ion-card *ngFor="let error of CONTENT_OTHERDATA.warnings" color="danger"> )
(#1) HTML Validation info, line 21: Attribute “*ngfor” is not serializable as XML 1.0. ( <ion-badge *ngFor="let error of CONTENT_OTHERDATA.validation.choice1" color="danger" translate> )
(#1) HTML Validation info, line 25: Attribute “[(ngmodel)]” is not serializable as XML 1.0. ( <ion-select placeholder="{{ 'plugin.mod_allocationform.choicerequired' | translate }}" [(ngModel)]="CONTENT_OTHERDATA.data.choice1"> )
(#1) HTML Validation info, line 35: Attribute “*ngfor” is not serializable as XML 1.0. ( <ion-badge *ngFor="let error of CONTENT_OTHERDATA.validation.choice2" color="danger" translate> )
(#1) HTML Validation info, line 39: Attribute “[(ngmodel)]” is not serializable as XML 1.0. ( <ion-select placeholder="{{ 'plugin.mod_allocationform.choicerequired' | translate }}" [(ngModel)]="CONTENT_OTHERDATA.data.choice2"> )
(#1) HTML Validation info, line 49: Attribute “*ngfor” is not serializable as XML 1.0. ( <ion-badge *ngFor="let error of CONTENT_OTHERDATA.validation.notwant" color="danger" translate> )
(#1) HTML Validation info, line 53: Attribute “[(ngmodel)]” is not serializable as XML 1.0. ( <ion-select [(ngModel)]="CONTENT_OTHERDATA.data.notwant"> )
(#1) HTML Validation info, line 67: Attribute “[params]” is not serializable as XML 1.0. ( <ion-button expand="full" core-site-plugins-call-ws name="mod_allocationform_choices_submit" [params]="{id: 467, choices: CONTENT_OTHERDATA.data }" [preSets]="{getFromCache: 0, saveToCache: 0}" (onSuccess) = "check_response($event)" > )
(#1) HTML Validation info, line 67: Attribute “[presets]” is not serializable as XML 1.0. ( <ion-button expand="full" core-site-plugins-call-ws name="mod_allocationform_choices_submit" [params]="{id: 467, choices: CONTENT_OTHERDATA.data }" [preSets]="{getFromCache: 0, saveToCache: 0}" (onSuccess) = "check_response($event)" > )
(#1) HTML Validation info, line 67: Attribute “(onsuccess)” is not serializable as XML 1.0. ( <ion-button expand="full" core-site-plugins-call-ws name="mod_allocationform_choices_submit" [params]="{id: 467, choices: CONTENT_OTHERDATA.data }" [preSets]="{getFromCache: 0, saveToCache: 0}" (onSuccess) = "check_response($event)" > )
(#1) HTML Validation info, line 73: Attribute “[params]” is not serializable as XML 1.0. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation info, line 73: Attribute “[presets]” is not serializable as XML 1.0. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 73: Attribute “core-site-plugins-call-ws-on-load” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 73: Attribute “name” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 73: Attribute “[params]” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 73: Attribute “[presets]” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
mod/allocationform/templates/mobile/latest/allallocations.mustache
(#1) HTML Validation info, line 43: Attribute “[params]” is not serializable as XML 1.0. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 5632}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation info, line 43: Attribute “[presets]” is not serializable as XML 1.0. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 5632}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 43: Attribute “core-site-plugins-call-ws-on-load” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 5632}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 43: Attribute “name” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 5632}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 43: Attribute “[params]” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 5632}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 43: Attribute “[presets]” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 5632}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
mod/allocationform/templates/mobile/latest/allocation.mustache
(#1) HTML Validation info, line 16: Attribute “[params]” is not serializable as XML 1.0. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation info, line 16: Attribute “[presets]” is not serializable as XML 1.0. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 16: Attribute “core-site-plugins-call-ws-on-load” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 16: Attribute “name” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 16: Attribute “[params]” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 16: Attribute “[presets]” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
mod/allocationform/templates/mobile/latest/denyaccess.mustache
(#1) HTML Validation info, line 9: Attribute “[params]” is not serializable as XML 1.0. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_denied" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation info, line 9: Attribute “[presets]” is not serializable as XML 1.0. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_denied" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 9: Attribute “core-site-plugins-call-ws-on-load” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_denied" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 9: Attribute “name” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_denied" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 9: Attribute “[params]” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_denied" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 9: Attribute “[presets]” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_denied" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
mod/allocationform/templates/mobile/latest/editing.mustache
(#1) HTML Validation info, line 9: Attribute “[params]” is not serializable as XML 1.0. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation info, line 9: Attribute “[presets]” is not serializable as XML 1.0. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 9: Attribute “core-site-plugins-call-ws-on-load” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 9: Attribute “name” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 9: Attribute “[params]” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 9: Attribute “[presets]” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
mod/allocationform/templates/mobile/latest/processing.mustache
(#1) HTML Validation info, line 9: Attribute “[params]” is not serializable as XML 1.0. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation info, line 9: Attribute “[presets]” is not serializable as XML 1.0. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 9: Attribute “core-site-plugins-call-ws-on-load” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 9: Attribute “name” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 9: Attribute “[params]” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 9: Attribute “[presets]” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
mod/allocationform/templates/mobile/latest/ready.mustache
(#1) HTML Validation info, line 8: Attribute “*ngfor” is not serializable as XML 1.0. (card> <ion-card *ngFor="let error of CONTENT_OTHERDATA.warnings" color="danger"> )
(#1) HTML Validation info, line 19: Attribute “[(ngmodel)]” is not serializable as XML 1.0. ( <ion-select placeholder="{{ 'plugin.mod_allocationform.choicerequired' | translate }}" [(ngModel)]="CONTENT_OTHERDATA.data.choice1"> )
(#1) HTML Validation info, line 22: Attribute “*ngfor” is not serializable as XML 1.0. ( <ion-badge *ngFor="let error of CONTENT_OTHERDATA.validation.choice1" color="danger" translate> )
(#1) HTML Validation info, line 33: Attribute “[(ngmodel)]” is not serializable as XML 1.0. ( <ion-select placeholder="{{ 'plugin.mod_allocationform.choicerequired' | translate }}" [(ngModel)]="CONTENT_OTHERDATA.data.choice2"> )
(#1) HTML Validation info, line 36: Attribute “*ngfor” is not serializable as XML 1.0. ( <ion-badge *ngFor="let error of CONTENT_OTHERDATA.validation.choice2" color="danger" translate> )
(#1) HTML Validation info, line 47: Attribute “[(ngmodel)]” is not serializable as XML 1.0. ( <ion-select [(ngModel)]="CONTENT_OTHERDATA.data.notwant"> )
(#1) HTML Validation info, line 50: Attribute “*ngfor” is not serializable as XML 1.0. ( <ion-badge *ngFor="let error of CONTENT_OTHERDATA.validation.notwant" color="danger" translate> )
(#1) HTML Validation info, line 67: Attribute “[params]” is not serializable as XML 1.0. ( <ion-button expand="full" core-site-plugins-call-ws name="mod_allocationform_choices_submit" [params]="{id: 467, choices: CONTENT_OTHERDATA.data }" [preSets]="{getFromCache: 0, saveToCache: 0}" (onSuccess) = "check_response($event)" > )
(#1) HTML Validation info, line 67: Attribute “[presets]” is not serializable as XML 1.0. ( <ion-button expand="full" core-site-plugins-call-ws name="mod_allocationform_choices_submit" [params]="{id: 467, choices: CONTENT_OTHERDATA.data }" [preSets]="{getFromCache: 0, saveToCache: 0}" (onSuccess) = "check_response($event)" > )
(#1) HTML Validation info, line 67: Attribute “(onsuccess)” is not serializable as XML 1.0. ( <ion-button expand="full" core-site-plugins-call-ws name="mod_allocationform_choices_submit" [params]="{id: 467, choices: CONTENT_OTHERDATA.data }" [preSets]="{getFromCache: 0, saveToCache: 0}" (onSuccess) = "check_response($event)" > )
(#1) HTML Validation info, line 73: Attribute “[params]” is not serializable as XML 1.0. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation info, line 73: Attribute “[presets]” is not serializable as XML 1.0. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 73: Attribute “core-site-plugins-call-ws-on-load” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 73: Attribute “name” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 73: Attribute “[params]” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 73: Attribute “[presets]” not allowed on element “span” at this point. (. --> <span core-site-plugins-call-ws-on-load name="mod_allocationform_view_allocationform" [params]="{id: 467}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
mod/allocationform/templates/option_editing.mustache
(#1) HTML Validation error, line 2: Stray start tag “tr”. (ad><body><tr id="option-53" class="option"> <)
(#1) HTML Validation error, line 3: Stray start tag “td”. (ion"> <td class="option_name">Option)
(#1) HTML Validation error, line 3: Stray end tag “td”. (">Option 1</td> <)
(#1) HTML Validation error, line 4: Stray start tag “td”. (</td> <td class="option_max">15</td)
(#1) HTML Validation error, line 4: Stray end tag “td”. (on_max">15</td> <)
(#1) HTML Validation error, line 5: Stray start tag “td”. (</td> <td class="option_restricted">0</td>)
(#1) HTML Validation error, line 5: Stray end tag “td”. (tricted">0</td> <)
(#1) HTML Validation error, line 6: Stray start tag “td”. (</td> <td class="option_controls"> )
(#1) HTML Validation error, line 22: Stray end tag “td”. ()</a> </td></tr>)
(#1) HTML Validation error, line 23: Stray end tag “tr”. ( </td></tr></bo)

Gherkin .feature problems

(0 errors, 0 warnings)

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