## PHP lint problems

(0 errors, 0 warnings)

This section shows php lint problems in the code detected by php -l [More info]

(0 errors, 0 warnings)

This section shows php lint problems in the code detected by php -l [More info]

(281 errors, 9 warnings)

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

- enrol/groupsync/cli/sync.php
- (#37) Expected 1 space before "=>"; 0 found
- (#37) Expected 1 space after "=>"; 0 found
- (#37) Expected 1 space before "=>"; 0 found
- (#37) Expected 1 space after "=>"; 0 found
- (#37) Expected 1 space before "=>"; 0 found
- (#37) Expected 1 space after "=>"; 0 found
- (#37) Expected 1 space before "=>"; 0 found
- (#37) Expected 1 space after "=>"; 0 found
- (#45) Expected 1 space after "="; newline found
- enrol/groupsync/db/uninstall.php
- (#31) Expected 1 space before "=>"; 0 found
- (#31) Expected 1 space after "=>"; 0 found
- enrol/groupsync/edit.php
- (#32) Expected 1 space before "=>"; 0 found
- (#32) Expected 1 space after "=>"; 0 found
- (#39) Expected 1 space before "=>"; 0 found
- (#39) Expected 1 space after "=>"; 0 found
- (#42) Expected 1 space before "=>"; 0 found
- (#42) Expected 1 space after "=>"; 0 found
- (#55) Expected 1 space before "=>"; 0 found
- (#55) Expected 1 space after "=>"; 0 found
- (#63) Expected 1 space before "=>"; 0 found
- (#63) Expected 1 space after "=>"; 0 found
- (#63) Expected 1 space before "=>"; 0 found
- (#63) Expected 1 space after "=>"; 0 found
- (#63) Expected 1 space before "=>"; 0 found
- (#63) Expected 1 space after "=>"; 0 found
- (#63) Expected 1 space before "=>"; 0 found
- (#63) Expected 1 space after "=>"; 0 found
- (#63) Line exceeds 132 characters; contains 162 characters
- enrol/groupsync/edit_form.php
- (#31) Visibility must be declared on method "definition"
- (#39) Commas (,) must be followed by white space.
- (#63) Expected 1 space before "=>"; 0 found
- (#63) Expected 1 space after "=>"; 0 found
- (#76) Visibility must be declared on method "validation"
- (#81) Expected 1 space before "=>"; 0 found
- (#81) Expected 1 space after "=>"; 0 found
- (#81) Expected 1 space before "=>"; 0 found
- (#81) Expected 1 space after "=>"; 0 found
- (#81) Expected 1 space before "=>"; 0 found
- (#81) Expected 1 space after "=>"; 0 found
- (#82) Line exceeds 132 characters; contains 164 characters
- enrol/groupsync/lib.php
- (#48) Expected 1 space before "=>"; 0 found
- (#48) Expected 1 space after "=>"; 0 found
- (#49) Expected 1 space before "=>"; 0 found
- (#49) Expected 1 space after "=>"; 0 found
- (#51) Expected 1 space before "=>"; 0 found
- (#51) Expected 1 space after "=>"; 0 found
- (#52) Expected 1 space before "=>"; 0 found
- (#52) Expected 1 space after "=>"; 0 found
- (#58) Expected 1 space before "=>"; 0 found
- (#58) Expected 1 space after "=>"; 0 found
- (#69) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
- (#72) Expected 1 space before "=>"; 0 found
- (#72) Expected 1 space after "=>"; 0 found
- (#86) Line exceeds 132 characters; contains 136 characters
- (#161) Expected 1 space before "=>"; 0 found
- (#161) Expected 1 space after "=>"; 0 found
- (#161) Expected 1 space before "=>"; 0 found
- (#161) Expected 1 space after "=>"; 0 found
- enrol/groupsync/locallib.php
- (#58) Expected 1 space before "=>"; 0 found
- (#58) Expected 1 space after "=>"; 0 found
- (#58) Expected 1 space before "=>"; 0 found
- (#58) Expected 1 space after "=>"; 0 found
- (#58) Expected 1 space before "=>"; 0 found
- (#58) Expected 1 space after "=>"; 0 found
- (#58) Line exceeds 132 characters; contains 140 characters
- (#86) Expected 1 space before "=>"; 0 found
- (#86) Expected 1 space after "=>"; 0 found
- (#86) Expected 1 space before "=>"; 0 found
- (#86) Expected 1 space after "=>"; 0 found
- (#118) Expected 1 space before "=>"; 0 found
- (#118) Expected 1 space after "=>"; 0 found
- (#118) Expected 1 space before "=>"; 0 found
- (#118) Expected 1 space after "=>"; 0 found
- (#118) Expected 1 space before "=>"; 0 found
- (#118) Expected 1 space after "=>"; 0 found
- (#118) Line exceeds 132 characters; contains 140 characters
- (#141) Line exceeds 132 characters; contains 147 characters
- (#144) Expected 1 space before "=>"; 0 found
- (#144) Expected 1 space after "=>"; 0 found
- (#144) Expected 1 space before "=>"; 0 found
- (#144) Expected 1 space after "=>"; 0 found
- (#162) Expected 1 space before "=>"; 0 found
- (#162) Expected 1 space after "=>"; 0 found
- (#162) Expected 1 space before "=>"; 0 found
- (#162) Expected 1 space after "=>"; 0 found
- (#182) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
- (#212) Expected 1 space before "=>"; 0 found
- (#212) Expected 1 space after "=>"; 0 found
- (#212) Expected 1 space before "=>"; 0 found
- (#212) Expected 1 space after "=>"; 0 found
- (#216) Expected 1 space before "=>"; 0 found
- (#216) Expected 1 space after "=>"; 0 found
- (#227) Line exceeds 132 characters; contains 156 characters
- enrol/groupsync/tests/sync_test.php
- (#61) Expected 1 space before "=>"; 0 found
- (#61) Expected 1 space after "=>"; 0 found
- (#63) Expected 1 space before "=>"; 0 found
- (#63) Expected 1 space after "=>"; 0 found
- (#65) Expected 1 space before "=>"; 0 found
- (#65) Expected 1 space after "=>"; 0 found
- (#72) Expected 1 space before "=>"; 0 found
- (#72) Expected 1 space after "=>"; 0 found
- (#72) Expected 1 space before "=>"; 0 found
- (#72) Expected 1 space after "=>"; 0 found
- (#73) Expected 1 space before "=>"; 0 found
- (#73) Expected 1 space after "=>"; 0 found
- (#73) Expected 1 space before "=>"; 0 found
- (#73) Expected 1 space after "=>"; 0 found
- (#74) Expected 1 space before "=>"; 0 found
- (#74) Expected 1 space after "=>"; 0 found
- (#74) Expected 1 space before "=>"; 0 found
- (#74) Expected 1 space after "=>"; 0 found
- (#76) Expected 1 space before "=>"; 0 found
- (#76) Expected 1 space after "=>"; 0 found
- (#77) Expected 1 space before "=>"; 0 found
- (#77) Expected 1 space after "=>"; 0 found
- (#78) Expected 1 space before "=>"; 0 found
- (#78) Expected 1 space after "=>"; 0 found
- (#95) Expected 1 space before "=>"; 0 found
- (#95) Expected 1 space after "=>"; 0 found
- (#95) Expected 1 space before "=>"; 0 found
- (#95) Expected 1 space after "=>"; 0 found
- (#96) Expected 1 space before "=>"; 0 found
- (#96) Expected 1 space after "=>"; 0 found
- (#98) Expected 1 space before "=>"; 0 found
- (#98) Expected 1 space after "=>"; 0 found
- (#98) Expected 1 space before "=>"; 0 found
- (#98) Expected 1 space after "=>"; 0 found
- (#99) Expected 1 space before "=>"; 0 found
- (#99) Expected 1 space after "=>"; 0 found
- (#101) Expected 1 space before "=>"; 0 found
- (#101) Expected 1 space after "=>"; 0 found
- (#101) Expected 1 space before "=>"; 0 found
- (#101) Expected 1 space after "=>"; 0 found
- (#102) Expected 1 space before "=>"; 0 found
- (#102) Expected 1 space after "=>"; 0 found
- (#120) Expected 1 space before "=>"; 0 found
- (#120) Expected 1 space after "=>"; 0 found
- (#120) Expected 1 space before "=>"; 0 found
- (#120) Expected 1 space after "=>"; 0 found
- (#120) Expected 1 space before "=>"; 0 found
- (#120) Expected 1 space after "=>"; 0 found
- (#120) Expected 1 space before "=>"; 0 found
- (#120) Expected 1 space after "=>"; 0 found
- (#120) Line exceeds maximum limit of 180 characters; contains 182 characters
- (#126) Expected 1 space before "=>"; 0 found
- (#126) Expected 1 space after "=>"; 0 found
- (#126) Expected 1 space before "=>"; 0 found
- (#126) Expected 1 space after "=>"; 0 found
- (#126) Expected 1 space before "=>"; 0 found
- (#126) Expected 1 space after "=>"; 0 found
- (#126) Line exceeds 132 characters; contains 150 characters
- (#127) Expected 1 space before "=>"; 0 found
- (#127) Expected 1 space after "=>"; 0 found
- (#127) Expected 1 space before "=>"; 0 found
- (#127) Expected 1 space after "=>"; 0 found
- (#133) Expected 1 space before "=>"; 0 found
- (#133) Expected 1 space after "=>"; 0 found
- (#133) Expected 1 space before "=>"; 0 found
- (#133) Expected 1 space after "=>"; 0 found
- (#133) Expected 1 space before "=>"; 0 found
- (#133) Expected 1 space after "=>"; 0 found
- (#133) Expected 1 space before "=>"; 0 found
- (#133) Expected 1 space after "=>"; 0 found
- (#133) Line exceeds maximum limit of 180 characters; contains 182 characters
- (#139) Expected 1 space before "=>"; 0 found
- (#139) Expected 1 space after "=>"; 0 found
- (#139) Expected 1 space before "=>"; 0 found
- (#139) Expected 1 space after "=>"; 0 found
- (#145) Expected 1 space before "=>"; 0 found
- (#145) Expected 1 space after "=>"; 0 found
- (#145) Expected 1 space before "=>"; 0 found
- (#145) Expected 1 space after "=>"; 0 found
- (#151) Expected 1 space before "=>"; 0 found
- (#151) Expected 1 space after "=>"; 0 found
- (#151) Expected 1 space before "=>"; 0 found
- (#151) Expected 1 space after "=>"; 0 found
- (#158) Expected 1 space before "=>"; 0 found
- (#158) Expected 1 space after "=>"; 0 found
- (#158) Expected 1 space before "=>"; 0 found
- (#158) Expected 1 space after "=>"; 0 found
- (#158) Expected 1 space before "=>"; 0 found
- (#158) Expected 1 space after "=>"; 0 found
- (#158) Expected 1 space before "=>"; 0 found
- (#158) Expected 1 space after "=>"; 0 found
- (#158) Line exceeds maximum limit of 180 characters; contains 182 characters
- (#164) Expected 1 space before "=>"; 0 found
- (#164) Expected 1 space after "=>"; 0 found
- (#164) Expected 1 space before "=>"; 0 found
- (#164) Expected 1 space after "=>"; 0 found
- (#178) Expected 1 space before "=>"; 0 found
- (#178) Expected 1 space after "=>"; 0 found
- (#180) Expected 1 space before "=>"; 0 found
- (#180) Expected 1 space after "=>"; 0 found
- (#182) Expected 1 space before "=>"; 0 found
- (#182) Expected 1 space after "=>"; 0 found
- (#189) Expected 1 space before "=>"; 0 found
- (#189) Expected 1 space after "=>"; 0 found
- (#189) Expected 1 space before "=>"; 0 found
- (#189) Expected 1 space after "=>"; 0 found
- (#190) Expected 1 space before "=>"; 0 found
- (#190) Expected 1 space after "=>"; 0 found
- (#190) Expected 1 space before "=>"; 0 found
- (#190) Expected 1 space after "=>"; 0 found
- (#191) Expected 1 space before "=>"; 0 found
- (#191) Expected 1 space after "=>"; 0 found
- (#191) Expected 1 space before "=>"; 0 found
- (#191) Expected 1 space after "=>"; 0 found
- (#193) Expected 1 space before "=>"; 0 found
- (#193) Expected 1 space after "=>"; 0 found
- (#194) Expected 1 space before "=>"; 0 found
- (#194) Expected 1 space after "=>"; 0 found
- (#195) Expected 1 space before "=>"; 0 found
- (#195) Expected 1 space after "=>"; 0 found
- (#206) Expected 1 space before "=>"; 0 found
- (#206) Expected 1 space after "=>"; 0 found
- (#206) Expected 1 space before "=>"; 0 found
- (#206) Expected 1 space after "=>"; 0 found
- (#207) Expected 1 space before "=>"; 0 found
- (#207) Expected 1 space after "=>"; 0 found
- (#209) Expected 1 space before "=>"; 0 found
- (#209) Expected 1 space after "=>"; 0 found
- (#209) Expected 1 space before "=>"; 0 found
- (#209) Expected 1 space after "=>"; 0 found
- (#210) Expected 1 space before "=>"; 0 found
- (#210) Expected 1 space after "=>"; 0 found
- (#212) Expected 1 space before "=>"; 0 found
- (#212) Expected 1 space after "=>"; 0 found
- (#212) Expected 1 space before "=>"; 0 found
- (#212) Expected 1 space after "=>"; 0 found
- (#213) Expected 1 space before "=>"; 0 found
- (#213) Expected 1 space after "=>"; 0 found
- (#241) Expected 1 space before "=>"; 0 found
- (#241) Expected 1 space after "=>"; 0 found
- (#241) Expected 1 space before "=>"; 0 found
- (#241) Expected 1 space after "=>"; 0 found
- (#241) Expected 1 space before "=>"; 0 found
- (#241) Expected 1 space after "=>"; 0 found
- (#241) Expected 1 space before "=>"; 0 found
- (#241) Expected 1 space after "=>"; 0 found
- (#241) Line exceeds maximum limit of 180 characters; contains 182 characters
- (#242) Expected 1 space before "=>"; 0 found
- (#242) Expected 1 space after "=>"; 0 found
- (#242) Expected 1 space before "=>"; 0 found
- (#242) Expected 1 space after "=>"; 0 found
- (#242) Expected 1 space before "=>"; 0 found
- (#242) Expected 1 space after "=>"; 0 found
- (#242) Expected 1 space before "=>"; 0 found
- (#242) Expected 1 space after "=>"; 0 found
- (#242) Line exceeds maximum limit of 180 characters; contains 182 characters
- (#243) Expected 1 space before "=>"; 0 found
- (#243) Expected 1 space after "=>"; 0 found
- (#243) Expected 1 space before "=>"; 0 found
- (#243) Expected 1 space after "=>"; 0 found
- (#243) Expected 1 space before "=>"; 0 found
- (#243) Expected 1 space after "=>"; 0 found
- (#243) Expected 1 space before "=>"; 0 found
- (#243) Expected 1 space after "=>"; 0 found
- (#243) Line exceeds maximum limit of 180 characters; contains 182 characters
- (#250) Expected 1 space before "=>"; 0 found
- (#250) Expected 1 space after "=>"; 0 found
- (#250) Expected 1 space before "=>"; 0 found
- (#250) Expected 1 space after "=>"; 0 found
- (#250) Expected 1 space before "=>"; 0 found
- (#250) Expected 1 space after "=>"; 0 found
- (#250) Expected 1 space before "=>"; 0 found
- (#250) Expected 1 space after "=>"; 0 found
- (#250) Line exceeds maximum limit of 180 characters; contains 181 characters
- (#252) Expected 1 space before "=>"; 0 found
- (#252) Expected 1 space after "=>"; 0 found
- (#260) Expected 1 space before "=>"; 0 found
- (#260) Expected 1 space after "=>"; 0 found
- (#260) Expected 1 space before "=>"; 0 found
- (#260) Expected 1 space after "=>"; 0 found
- (#260) Expected 1 space before "=>"; 0 found
- (#260) Expected 1 space after "=>"; 0 found
- (#260) Expected 1 space before "=>"; 0 found
- (#260) Expected 1 space after "=>"; 0 found
- (#260) Line exceeds maximum limit of 180 characters; contains 181 characters
- (#268) Expected 1 space before "=>"; 0 found
- (#268) Expected 1 space after "=>"; 0 found
- (#268) Expected 1 space before "=>"; 0 found
- (#268) Expected 1 space after "=>"; 0 found
- (#268) Expected 1 space before "=>"; 0 found
- (#268) Expected 1 space after "=>"; 0 found
- (#268) Expected 1 space before "=>"; 0 found
- (#268) Expected 1 space after "=>"; 0 found
- (#268) Line exceeds maximum limit of 180 characters; contains 182 characters
- enrol/groupsync/version.php
- (#30) Expected 1 space before "*"; 0 found
- (#30) Expected 1 space after "*"; 0 found
- (#30) Inline comments must end in full-stops, exclamation marks, or question marks

(0 errors, 0 warnings)

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

(0 errors, 0 warnings)

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

(11 errors, 0 warnings)

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

- enrol/groupsync/db/uninstall.php
- (#27) Function xmldb_enrol_groupsync_uninstall is not documented
- enrol/groupsync/edit_form.php
- (#29) Class enrol_groupsync_edit_form is not documented
- (#31) Function enrol_groupsync_edit_form::definition is not documented
- (#76) Function enrol_groupsync_edit_form::validation is not documented
- enrol/groupsync/lib.php
- (#27) Class enrol_groupsync_plugin does not have @copyright tag
- enrol/groupsync/locallib.php
- (#28) Class enrol_groupsync_handler does not have @copyright tag
- (#28) Class enrol_groupsync_handler does not have @license tag
- enrol/groupsync/tests/sync_test.php
- (#33) Class enrol_groupsync_testcase is not documented
- (#35) Function enrol_groupsync_testcase::enable_plugin is not documented
- (#42) Function enrol_groupsync_testcase::disable_plugin is not documented
- (#21) Category phpunit is not valid

(0 errors, 0 warnings)

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

(0 errors, 0 warnings)

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

(0 errors, 0 warnings)

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

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]

(0 errors, 0 warnings)

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