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

(51 errors, 4 warnings)

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

mod/linkedincert/backup/moodle2/backup_linkedincert_activity_task.class.php
(#65) The static declaration must come after the visibility declaration
mod/linkedincert/backup/moodle2/restore_linkedincert_activity_task.class.php
(#62) The static declaration must come after the visibility declaration
(#73) The static declaration must come after the visibility declaration
(#89) The static declaration must come after the visibility declaration
mod/linkedincert/classes/certificate.php
(#65) Class constants must be uppercase; expected LINKEDINCERT_PER_PAGE but found linkedincert_PER_PAGE
mod/linkedincert/classes/report_table.php
(#96) Empty IF statement detected
(#97) Inline comments must start with a capital letter, digit or 3-dots sequence
(#97) This comment is 67% valid code; is this commented out code?
(#97) Line indented incorrectly; expected at least 12 spaces, found 0
(#97) Expected 1 space before comment text but found 12; use block comment if you need indentation
(#98) Line indented incorrectly; expected at least 12 spaces, found 0
(#98) Expected 1 space before comment text but found 12; use block comment if you need indentation
mod/linkedincert/db/access.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/>.".
mod/linkedincert/lib.php
(#156) Variable "dateTimeCreated" must be all lower-case
(#157) Variable "dateTimeCreated" must be all lower-case
(#162) Variable "dateTimeCreated" must be all lower-case
(#163) Variable "dateTimeCreated" must be all lower-case
(#170) Expected "} else {\n"; found "}\n else {\n"
mod/linkedincert/mod_form.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 "//".
(#3) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#3) 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".
(#4) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) Line 12 of the opening comment must start "//".
(#4) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#4) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#20) Visibility must be declared on method "definition"
(#21) Opening brace should be on the same line as the declaration
(#24) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#27) Expected 1 space before "=>"; 0 found
(#27) Expected 1 space after "=>"; 0 found
(#36) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#57) Opening brace should be on the same line as the declaration
mod/linkedincert/version.php
(#2) The opening <?php tag must be followed by exactly one newline.
mod/linkedincert/view.php
(#152) Line exceeds 132 characters; contains 139 characters
(#153) Line exceeds 132 characters; contains 136 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

(53 errors, 3 warnings)

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

mod/linkedincert/backup/moodle2/backup_linkedincert_activity_task.class.php
(#21) Category linkedincert is not valid
(#36) Category linkedincert is not valid
mod/linkedincert/backup/moodle2/backup_linkedincert_stepslib.php
(#21) Category linkedincert is not valid
(#34) Category linkedincert is not valid
mod/linkedincert/backup/moodle2/restore_linkedincert_activity_task.class.php
(#21) Category linkedincert is not valid
(#36) Category linkedincert is not valid
(#84) Inline phpdocs tag {@link restore_logs_processor} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#85) Inline phpdocs tag {@link restore_log_rule} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
mod/linkedincert/backup/moodle2/restore_linkedincert_stepslib.php
(#21) Category linkedincert is not valid
(#34) Category linkedincert is not valid
mod/linkedincert/classes/admin_setting_link.php
(#21) Category linkedincert is not valid
(#38) Category linkedincert is not valid
mod/linkedincert/classes/certificate.php
(#21) Category linkedincert is not valid
(#38) Category linkedincert is not valid
mod/linkedincert/classes/event/course_module_instance_list_viewed.php
(#21) Category linkedincert is not valid
(#36) Category linkedincert is not valid
mod/linkedincert/classes/event/course_module_viewed.php
(#21) Category linkedincert is not valid
(#36) Category linkedincert is not valid
mod/linkedincert/classes/output/renderer.php
(#21) Category linkedincert is not valid
(#38) Category linkedincert is not valid
mod/linkedincert/classes/output/verify_certificate_result.php
(#21) Category linkedincert is not valid
(#39) Category linkedincert is not valid
mod/linkedincert/classes/output/verify_certificate_results.php
(#21) Category linkedincert is not valid
(#37) Category linkedincert is not valid
mod/linkedincert/classes/page_helper.php
(#21) Category linkedincert is not valid
(#38) Category linkedincert is not valid
mod/linkedincert/classes/privacy/provider.php
(#21) Category linkedincert is not valid
(#44) Category linkedincert is not valid
mod/linkedincert/classes/report_table.php
(#21) Category linkedincert is not valid
(#40) Category linkedincert is not valid
mod/linkedincert/classes/verify_certificate_form.php
(#21) Category linkedincert is not valid
(#38) Category linkedincert is not valid
mod/linkedincert/db/access.php
(#6) Category linkedincert is not valid
(#7) Invalid phpdocs tag @date used
mod/linkedincert/db/upgrade.php
(#20) Category linkedincert is not valid
(#17) No one-line description found in phpdocs for file
(#31) There is no description in phpdocs for function xmldb_linkedincert_upgrade
(#21) Invalid phpdocs tag @date used
(#22) Invalid phpdocs tag @author: used
(#33) Not recommended phpdocs tag @global used
(#33) Not recommended phpdocs tag @global used
mod/linkedincert/index.php
(#21) Category linkedincert is not valid
mod/linkedincert/lang/en/linkedincert.php
(#21) Category linkedincert is not valid
mod/linkedincert/lib.php
(#21) Category linkedincert is not valid
(#153) Function linkedincert_get_addtoprofile_link is not documented
mod/linkedincert/mod_form.php
(#4) Category linkedincert is not valid
(#18) Class mod_linkedincert_mod_form is not documented
(#20) Function mod_linkedincert_mod_form::definition is not documented
(#56) Function mod_linkedincert_mod_form::data_preprocessing is not documented
(#2) No one-line description found in phpdocs for file
(#5) Invalid phpdocs tag @date used
mod/linkedincert/settings.php
(#21) Category linkedincert is not valid
mod/linkedincert/verify_certificate.php
(#21) Category linkedincert is not valid
mod/linkedincert/version.php
(#7) Category linkedincert is not valid
(#2) Empty line found after PHP open tag
mod/linkedincert/view.php
(#21) Category linkedincert is not valid

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]