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

(36 errors, 31 warnings)

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

enrol/shared/classes/task/enrol_shared_sync.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#3) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#3) Line 7 of the opening comment must start "//".
(#4) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#5) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#5) Line 12 of the opening comment must start "//".
(#5) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#5) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#32) Variable "enrol_plugin" must not contain underscores.
(#33) Variable "enrol_plugin" must not contain underscores.
enrol/shared/db/tasks.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#3) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#3) Line 7 of the opening comment must start "//".
(#4) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#5) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#5) Line 12 of the opening comment must start "//".
(#5) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#5) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
enrol/shared/lang/en/enrol_shared.php
(#38) Inline comments must end in full-stops, exclamation marks, or question marks
enrol/shared/lang/fr/enrol_shared.php
(#28) Whitespace found at end of line within string
(#39) Inline comments must end in full-stops, exclamation marks, or question marks
enrol/shared/lib.php
(#89) Inline comments must start with a capital letter, digit or 3-dots sequence
(#89) Inline comments must end in full-stops, exclamation marks, or question marks
(#187) Line exceeds 132 characters; contains 135 characters
(#296) Inline comments must start with a capital letter, digit or 3-dots sequence
(#296) Inline comments must end in full-stops, exclamation marks, or question marks
(#301) Line exceeds 132 characters; contains 139 characters
(#307) Line exceeds 132 characters; contains 138 characters
(#310) Inline comments must start with a capital letter, digit or 3-dots sequence
(#310) Inline comments must end in full-stops, exclamation marks, or question marks
(#322) Inline comments must start with a capital letter, digit or 3-dots sequence
(#325) Inline comments must start with a capital letter, digit or 3-dots sequence
(#325) Inline comments must end in full-stops, exclamation marks, or question marks
(#328) Inline comments must start with a capital letter, digit or 3-dots sequence
(#328) No space found before comment text; expected "// clean up ALL invisible user data from course if this is the last enrolment - groups, grades, etc." but found "//clean up ALL invisible user data from course if this is the last enrolment - groups, grades, etc."
(#335) Inline comments must start with a capital letter, digit or 3-dots sequence
(#335) Inline comments must end in full-stops, exclamation marks, or question marks
(#358) Inline comments must start with a capital letter, digit or 3-dots sequence
(#358) Inline comments must end in full-stops, exclamation marks, or question marks
(#384) Line exceeds 132 characters; contains 146 characters
(#407) Inline comments must start with a capital letter, digit or 3-dots sequence
(#407) No space found before comment text; expected "// only update if timestart or timeend or status are different." but found "//only update if timestart or timeend or status are different."
(#446) Inline comments must start with a capital letter, digit or 3-dots sequence
(#446) Inline comments must end in full-stops, exclamation marks, or question marks
(#460) Inline comments must start with a capital letter, digit or 3-dots sequence
(#460) Inline comments must end in full-stops, exclamation marks, or question marks
enrol/shared/settings.php
(#30) Line exceeds 132 characters; contains 135 characters
(#30) Inline comments must start with a capital letter, digit or 3-dots sequence
(#30) No space found before comment text; expected "// --- general settings (In administration area) -----------------------------------------------------------------------------------" but found "//--- general settings (In administration area) -----------------------------------------------------------------------------------"
(#36) Line exceeds maximum limit of 180 characters; contains 210 characters
(#43) Inline comments must start with a capital letter, digit or 3-dots sequence
(#43) No space found before comment text; expected "// --- enrol instance defaults ----------------------------------------------------------------------------" but found "//--- enrol instance defaults ----------------------------------------------------------------------------"
enrol/shared/version.php
(#27) Inline comments must end in full-stops, exclamation marks, or question marks
(#28) Inline comments must end in full-stops, exclamation marks, or question marks
(#29) Inline comments must end in full-stops, exclamation marks, or question marks

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

(8 errors, 0 warnings)

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

enrol/shared/classes/privacy/provider.php
(#26) Class provider is not documented
enrol/shared/classes/task/enrol_shared_sync.php
(#16) Class enrol_shared_sync is not documented
(#18) There is no description in phpdocs for function get_name
(#26) There is no description in phpdocs for function execute
enrol/shared/lib.php
(#27) Class enrol_shared_plugin is not documented
(#29) There is no description in phpdocs for function allow_manage
(#79) Phpdocs for function enrol_shared_plugin::add_instance has incomplete parameters list
enrol/shared/settings.php
(#17) No one-line description found in phpdocs for file

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]


Gherkin .feature problems

(0 errors, 0 warnings)

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