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

(21 errors, 8 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
(#24) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
mod/allocationform/backup/moodle2/backup_allocationform_stepslib.php
(#30) Expected MOODLE_INTERNAL check or config.php inclusion
mod/allocationform/backup/moodle2/restore_allocationform_stepslib.php
(#30) Expected MOODLE_INTERNAL check or config.php inclusion
mod/allocationform/classes/event/allocations_viewed.php
(#19) Whitespace found at end of line
(#31) Whitespace found at end of line
mod/allocationform/classes/event/permission_edited.php
(#31) Whitespace found at end of line
(#37) Whitespace found at end of line
mod/allocationform/classes/event/state_changed.php
(#31) Whitespace found at end of line
(#38) Whitespace found at end of line
mod/allocationform/db/install.php
(#19) Whitespace found at end of line
mod/allocationform/lib.php
(#194) Whitespace found at end of line
(#268) Whitespace found at end of line
(#272) Whitespace found at end of line
(#279) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#303) Whitespace found at end of line
mod/allocationform/mod_form.php
(#35) Whitespace found at end of line
mod/allocationform/renderer.php
(#107) Line exceeds 132 characters; contains 133 characters
(#111) Line exceeds 132 characters; contains 134 characters
(#301) Line exceeds 132 characters; contains 167 characters
(#302) Line exceeds 132 characters; contains 171 characters
(#303) Line exceeds 132 characters; contains 164 characters
mod/allocationform/tests/behat/behat_mod_allocationform.php
(#117) Line exceeds 132 characters; contains 133 characters
(#166) Whitespace found at end of line
(#180) Whitespace found at end of line
(#195) Whitespace found at end of line
(#206) Whitespace found at end of line
(#217) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#241) Whitespace found at end of line
(#256) Expected "foreach (...) {\n"; found "foreach(...) {\n"

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

(14 errors, 0 warnings)

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

mod/allocationform/styles.css
(#1) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#2) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#3) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#1) Unexpected single-line block (block-no-single-line)
(#2) Unexpected single-line block (block-no-single-line)
(#3) Unexpected single-line block (block-no-single-line)
(#1) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#2) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#3) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#5) Expected single space before "{" (block-opening-brace-space-before)
(#6) Expected newline after ";" in a multi-line declaration block (declaration-block-semicolon-newline-after)
(#3) Expected no more than 1 declaration(s) (declaration-block-single-line-max-declarations)
(#6) Unexpected whitespace at end of line (no-eol-whitespace)
(#1) Expected newline after "," (selector-list-comma-newline-after)

PHPDocs style problems

(6 errors, 1 warnings)

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

mod/allocationform/tests/allocationform_test.php
(#24) Invalid phpdocs tag @group used
(#24) Invalid phpdocs tag @group used
(#37) Invalid phpdocs tag @group used
(#37) Invalid phpdocs tag @group used
mod/allocationform/tests/behat/behat_mod_allocationform.php
(#167) Phpdocs for function behat_mod_allocationform::workable_restrictions_were_exceeded_for_users_options_required_per_user has incomplete parameters list
(#207) Phpdocs for function behat_mod_allocationform::i_restrict_tutorialbooking_option has incomplete parameters list
(#244) Not recommended phpdocs tag @global used

Update savepoints problems

(0 errors, 0 warnings)

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


Third party library modification problems

(0 errors, 0 warnings)

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


grunt changes

(1 errors, 1 warnings)

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

Task "stylelint:css" failed. Use --force to continue.
Problems running grunt

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]