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

(19 errors, 7 warnings)

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

admin/tool/syncgroups/index.php
(#61) Variable "in_or_equal" must not contain underscores.
(#62) Variable "groups_to_sync" must not contain underscores.
(#62) Variable "in_or_equal" must not contain underscores.
(#70) Variable "courses_to_sync" must not contain underscores.
(#75) Variable "courses_to_sync" must not contain underscores.
(#86) Variable "groups_to_sync" must not contain underscores.
(#86) 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/ui/components.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#18) Expected MOODLE_INTERNAL check or config.php inclusion
admin/tool/syncgroups/ui/renderer.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#18) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#48) Line exceeds 132 characters; contains 133 characters
(#74) Variable "VAR_SEARCH" must be all lower-case
(#74) Variable "VAR_SEARCH" must not contain underscores.
(#74) Line exceeds 132 characters; contains 159 characters
(#75) Line exceeds 132 characters; contains 138 characters
(#111) Line exceeds 132 characters; contains 146 characters
(#113) Expected 1 space before "=>"; 0 found
(#113) Expected 1 space after "=>"; 0 found
(#113) Expected 1 space before "=>"; 0 found
(#113) Expected 1 space after "=>"; 0 found
(#113) Line exceeds 132 characters; contains 168 characters

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

(10 errors, 2 warnings)

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

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/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
admin/tool/syncgroups/ui/renderer.php
(#2) Empty line found after PHP open tag
(#18) File-level phpdocs block is not found
(#23) Class tool_syncgroups_renderer is not documented
(#82) Function tool_syncgroups_renderer::destination_courses_selector is not documented
(#28) Phpdocs for function tool_syncgroups_renderer::render_destination_courses_search has incomplete parameters list
(#23) Package is not specified for class tool_syncgroups_renderer. 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, 0 warnings)

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