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

(25 errors, 13 warnings)

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

public/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
public/mod/corolairquiz/backup/moodle2/backup_corolairquiz_stepslib.php
(#38) Opening brace must not be followed by a blank line
public/mod/corolairquiz/backup/moodle2/restore_corolairquiz_activity_task.class.php
(#34) Opening brace must not be followed by a blank line
public/mod/corolairquiz/backup/moodle2/restore_corolairquiz_stepslib.php
(#31) Opening brace must not be followed by a blank line
public/mod/corolairquiz/classes/event/course_module_instance_list_viewed.php
(#35) Opening brace must not be followed by a blank line
public/mod/corolairquiz/classes/event/course_module_viewed.php
(#31) Opening brace must not be followed by a blank line
public/mod/corolairquiz/classes/output/renderer.php
(#37) Opening brace must not be followed by a blank line
(#64) The closing brace for the class must go on the next line after the body
public/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/public/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: mod_corolairquiz_userlist_provider, \core_privacy\local\metadata\provider, \core_privacy\local\request\plugin\provider; Found: \core_privacy\local\metadata\provider, \core_privacy\local\request\plugin\provider, mod_corolairquiz_userlist_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
public/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"
public/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"
public/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"
public/mod/corolairquiz/mod_form.php
(#26) Expected at least 1 space before "."; 0 found
(#26) Expected at least 1 space after "."; 0 found
public/mod/corolairquiz/view.php
(#67) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#106) Space found before comma in argument list
(#106) Expected no space between "$postdata" and the comma. Found: 1 space
(#159) Blank line found at end of control structure

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

(7 errors, 0 warnings)

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

public/mod/corolairquiz/styles.css
(#4) Expected indentation of 4 spaces (indentation)
(#5) Expected indentation of 4 spaces (indentation)
(#6) Expected indentation of 4 spaces (indentation)
(#7) Expected indentation of 4 spaces (indentation)
(#8) Expected indentation of 4 spaces (indentation)
(#9) Expected indentation of 4 spaces (indentation)
(#13) Expected indentation of 4 spaces (indentation)

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

(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

(1 errors, 1 warnings)

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

Problems running grunt
Task "stylelint:css" failed. Use --force to continue.

shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 2 warnings)

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

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

Gherkin .feature problems

(0 errors, 0 warnings)

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