Prechecker results: error


Overview

(0 errors, 0 warnings)

This section shows the general problems detected when processing the code [More info]


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

(22 errors, 13 warnings)

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

mod/corolairquiz/backup/moodle2/backup_corolairquiz_activity_task.class.php
(#35) Opening brace must not be followed by a blank line
(#62) Expected at least 1 space before "."; 0 found
(#62) Expected at least 1 space after "."; 0 found
(#62) Expected at least 1 space before "."; 0 found
(#62) Expected at least 1 space after "."; 0 found
mod/corolairquiz/backup/moodle2/backup_corolairquiz_stepslib.php
(#38) Opening brace must not be followed by a blank line
mod/corolairquiz/backup/moodle2/restore_corolairquiz_activity_task.class.php
(#34) Opening brace must not be followed by a blank line
mod/corolairquiz/backup/moodle2/restore_corolairquiz_stepslib.php
(#31) Opening brace must not be followed by a blank line
mod/corolairquiz/classes/event/course_module_instance_list_viewed.php
(#35) Opening brace must not be followed by a blank line
mod/corolairquiz/classes/event/course_module_viewed.php
(#31) Opening brace must not be followed by a blank line
mod/corolairquiz/classes/output/renderer.php
(#37) Opening brace must not be followed by a blank line
(#51) The closing brace for the class must go on the next line after the body
mod/corolairquiz/classes/privacy/provider.php
(#50) Opening brace must not be followed by a blank line
(#63) Duplicate interface name "mod_corolairquiz\privacy\mod_corolairquiz_userlist_provider" found; first defined in /var/lib/jenkins/git_repositories/prechecker/mod/corolairquiz/classes/privacy/provider.php on line 50
(#63) Each interface must be in a file by itself
(#63) Opening brace must not be followed by a blank line
(#77) Each interface must be in a file by itself
(#77) The interface names in a "class implements" statement should be ordered alphabetically. Expected: \core_privacy\local\metadata\provider, \core_privacy\local\request\plugin\provider, mod_corolairquiz_userlist_provider; Found: mod_corolairquiz_userlist_provider, \core_privacy\local\metadata\provider, \core_privacy\local\request\plugin\provider
(#77) The first item in a multi-line implements list must be on the line following the implements keyword
(#79) Opening brace must not be followed by a blank line
mod/corolairquiz/lang/en/corolairquiz.php
(#26) The string key "modulename" is not in the correct order, it should be before "pluginname"
(#28) The string key "corolairquiz:view" is not in the correct order, it should be before "modulenameplural"
(#29) The string key "corolairquiz:addinstance" is not in the correct order, it should be before "corolairquiz:view"
(#31) The string key "defaultactivityname" is not in the correct order, it should be before "noinstances"
mod/corolairquiz/lang/es/corolairquiz.php
(#26) The string key "modulename" is not in the correct order, it should be before "pluginname"
(#28) The string key "corolairquiz:view" is not in the correct order, it should be before "modulenameplural"
(#29) The string key "corolairquiz:addinstance" is not in the correct order, it should be before "corolairquiz:view"
(#31) The string key "defaultactivityname" is not in the correct order, it should be before "noinstances"
mod/corolairquiz/lang/fr/corolairquiz.php
(#26) The string key "modulename" is not in the correct order, it should be before "pluginname"
(#28) The string key "corolairquiz:view" is not in the correct order, it should be before "modulenameplural"
(#29) The string key "corolairquiz:addinstance" is not in the correct order, it should be before "corolairquiz:view"
(#31) The string key "defaultactivityname" is not in the correct order, it should be before "noinstances"
mod/corolairquiz/mod_form.php
(#26) Expected at least 1 space before "."; 0 found
(#26) Expected at least 1 space after "."; 0 found
mod/corolairquiz/view.php
(#63) Expected 1 blank line at end of file; 4 found

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

(0 errors, 0 warnings)

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


Update savepoints problems

(1 errors, 0 warnings)

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

mod/corolairquiz/db/upgrade.php
'return true;' not found

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]

mod/corolairquiz/templates/local_plugin_not_installed.mustache
(#1) Example context missing.

Gherkin .feature problems

(0 errors, 0 warnings)

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