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

(14 errors, 5 warnings)

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

admin/tool/syncgroups/index.php
(#66) Variable "in_or_equal" must not contain underscores.
(#67) Variable "groups_to_sync" must not contain underscores.
(#67) Variable "in_or_equal" must not contain underscores.
(#75) Variable "courses_to_sync" must not contain underscores.
(#80) Variable "courses_to_sync" must not contain underscores.
(#91) Variable "groups_to_sync" must not contain underscores.
(#91) Variable "courses_to_sync" must not contain underscores.
admin/tool/syncgroups/lib.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#65) Line exceeds 132 characters; contains 139 characters
(#97) Variable "members_dest" must not contain underscores.
(#98) Variable "members_dest" must not contain underscores.
admin/tool/syncgroups/renderer.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#43) Line exceeds 132 characters; contains 133 characters
(#69) Variable "VAR_SEARCH" must be all lower-case
(#69) Variable "VAR_SEARCH" must not contain underscores.
(#69) Line exceeds 132 characters; contains 159 characters
(#70) Line exceeds 132 characters; contains 138 characters
(#95) Line exceeds 132 characters; contains 142 characters
admin/tool/syncgroups/ui/components.php
(#2) The opening <?php tag must be followed by exactly one newline.

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

(15 errors, 2 warnings)

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

admin/tool/syncgroups/classes/output/groups_list.php
(#17) File-level phpdocs block is not found
(#19) Class groups_list is not documented
(#21) Function groups_list::__construct is not documented
(#24) Function groups_list::export_for_template is not documented
(#19) Package is not specified for class groups_list. It is also not specified in file-level phpdocs
admin/tool/syncgroups/lib.php
(#28) Function tool_syncgroups_extend_navigation_course is not documented
(#49) Function tool_syncgroups_do_sync is not documented
admin/tool/syncgroups/renderer.php
(#2) Empty line found after PHP open tag
(#18) File-level phpdocs block is not found
(#18) Class tool_syncgroups_renderer is not documented
(#77) Function tool_syncgroups_renderer::destination_courses_selector is not documented
(#23) Phpdocs for function tool_syncgroups_renderer::render_destination_courses_search has incomplete parameters list
(#18) Package is not specified for class tool_syncgroups_renderer. It is also not specified in file-level phpdocs
admin/tool/syncgroups/ui/components.php
(#2) Empty line found after PHP open tag
(#18) File-level phpdocs block is not found
(#18) Class destination_courses_search is not documented
(#18) Package is not specified for class destination_courses_search. It is also not specified in file-level phpdocs

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, 1 warnings)

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

admin/tool/syncgroups/templates/groups_list.mustache
(#1) Example context missing (@template section not found.)

Gherkin .feature problems

(0 errors, 0 warnings)

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