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

(3 errors, 70 warnings)

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

local/corolair/classes/privacy/provider.php
(#63) Duplicate interface name "local_corolair\privacy\local_corolair_userlist_provider" found; first defined in /var/lib/jenkins/git_repositories/prechecker/local/corolair/classes/privacy/provider.php on line 50
local/corolair/lang/en/local_corolair.php
(#31) The string key "false" is not in the correct order, it should be before "true"
(#32) The string key "apikey" is not in the correct order, it should be before "false"
(#37) The string key "curlerror" is not in the correct order, it should be before "plugininstalledsuccess"
(#38) The string key "apikeymissing" is not in the correct order, it should be before "curlerror"
(#41) The string key "errortoken" is not in the correct order, it should be before "noapikey"
(#44) The string key "coursenodetitle" is not in the correct order, it should be before "roleproblem"
(#46) The string key "createtutorcapability" is not in the correct order, it should be before "frontpagenodetitle"
(#48) The string key "capabilitytrue" is not in the correct order, it should be before "createtutorcapabilitydesc"
(#49) The string key "capabilityfalse" is not in the correct order, it should be before "capabilitytrue"
(#51) The string key "trainerpage" is not in the correct order, it should be before "unexpectederror"
(#52) The string key "nocorolairlogin" is not in the correct order, it should be before "trainerpage"
(#53) The string key "createtutorcapability" is duplicated
(#55) The string key "rolename" is not in the correct order, it should be before "tokenname"
(#56) The string key "roledescription" is not in the correct order, it should be before "rolename"
(#57) The string key "privacy:metadata:corolair" is not in the correct order, it should be before "roledescription"
(#59) The string key "privacy:metadata:corolair:useremail" is not in the correct order, it should be before "privacy:metadata:corolair:userid"
(#63) The string key "privacy:metadata:corolair:interaction" is not in the correct order, it should be before "privacy:metadata:corolair:userrolename"
(#64) The string key "localhosterror" is not in the correct order, it should be before "privacy:metadata:corolair:interaction"
(#66) The string key "restprotocolenableerror" is not in the correct order, it should be before "webservicesenableerror"
(#68) The string key "capabilityassignerror" is not in the correct order, it should be before "servicecreationerror"
(#70) The string key "installtroubleshoot" is not in the correct order, it should be before "tokencreationerror"
(#71) The string key "adhocqueued" is not in the correct order, it should be before "installtroubleshoot"
(#74) The string key "advancedsettings" is not in the correct order, it should be before "customcss"
(#78) The string key "enablecustomcss" is not in the correct order, it should be before "reset_success"
local/corolair/lang/es/local_corolair.php
(#31) The string key "false" is not in the correct order, it should be before "true"
(#32) The string key "apikey" is not in the correct order, it should be before "false"
(#37) The string key "curlerror" is not in the correct order, it should be before "plugininstalledsuccess"
(#38) The string key "apikeymissing" is not in the correct order, it should be before "curlerror"
(#41) The string key "errortoken" is not in the correct order, it should be before "noapikey"
(#44) The string key "coursenodetitle" is not in the correct order, it should be before "roleproblem"
(#46) The string key "createtutorcapability" is not in the correct order, it should be before "frontpagenodetitle"
(#48) The string key "capabilitytrue" is not in the correct order, it should be before "createtutorcapabilitydesc"
(#49) The string key "capabilityfalse" is not in the correct order, it should be before "capabilitytrue"
(#51) The string key "trainerpage" is not in the correct order, it should be before "unexpectederror"
(#52) The string key "nocorolairlogin" is not in the correct order, it should be before "trainerpage"
(#53) The string key "createtutorcapability" is duplicated
(#55) The string key "rolename" is not in the correct order, it should be before "tokenname"
(#56) The string key "roledescription" is not in the correct order, it should be before "rolename"
(#57) The string key "privacy:metadata:corolair" is not in the correct order, it should be before "roledescription"
(#59) The string key "privacy:metadata:corolair:useremail" is not in the correct order, it should be before "privacy:metadata:corolair:userid"
(#63) The string key "privacy:metadata:corolair:interaction" is not in the correct order, it should be before "privacy:metadata:corolair:userrolename"
(#64) The string key "localhosterror" is not in the correct order, it should be before "privacy:metadata:corolair:interaction"
(#66) The string key "restprotocolenableerror" is not in the correct order, it should be before "webservicesenableerror"
(#68) The string key "capabilityassignerror" is not in the correct order, it should be before "servicecreationerror"
(#70) The string key "installtroubleshoot" is not in the correct order, it should be before "tokencreationerror"
(#71) The string key "adhocqueued" is not in the correct order, it should be before "installtroubleshoot"
(#74) The string key "advancedsettings" is not in the correct order, it should be before "customcss"
(#78) The string key "enablecustomcss" is not in the correct order, it should be before "reset_success"
local/corolair/lang/fr/local_corolair.php
(#31) The string key "false" is not in the correct order, it should be before "true"
(#32) The string key "apikey" is not in the correct order, it should be before "false"
(#37) The string key "curlerror" is not in the correct order, it should be before "plugininstalledsuccess"
(#38) The string key "apikeymissing" is not in the correct order, it should be before "curlerror"
(#41) The string key "errortoken" is not in the correct order, it should be before "noapikey"
(#44) The string key "coursenodetitle" is not in the correct order, it should be before "roleproblem"
(#46) The string key "createtutorcapability" is not in the correct order, it should be before "frontpagenodetitle"
(#48) The string key "capabilitytrue" is not in the correct order, it should be before "createtutorcapabilitydesc"
(#49) The string key "capabilityfalse" is not in the correct order, it should be before "capabilitytrue"
(#51) The string key "trainerpage" is not in the correct order, it should be before "unexpectederror"
(#52) The string key "nocorolairlogin" is not in the correct order, it should be before "trainerpage"
(#53) The string key "createtutorcapability" is duplicated
(#55) The string key "rolename" is not in the correct order, it should be before "tokenname"
(#56) The string key "roledescription" is not in the correct order, it should be before "rolename"
(#57) The string key "privacy:metadata:corolair" is not in the correct order, it should be before "roledescription"
(#59) The string key "privacy:metadata:corolair:useremail" is not in the correct order, it should be before "privacy:metadata:corolair:userid"
(#63) The string key "privacy:metadata:corolair:interaction" is not in the correct order, it should be before "privacy:metadata:corolair:userrolename"
(#64) The string key "localhosterror" is not in the correct order, it should be before "privacy:metadata:corolair:interaction"
(#66) The string key "restprotocolenableerror" is not in the correct order, it should be before "webservicesenableerror"
(#68) The string key "capabilityassignerror" is not in the correct order, it should be before "servicecreationerror"
(#70) The string key "installtroubleshoot" is not in the correct order, it should be before "tokencreationerror"
(#71) The string key "adhocqueued" is not in the correct order, it should be before "installtroubleshoot"
(#74) The string key "advancedsettings" is not in the correct order, it should be before "customcss"
(#78) The string key "enablecustomcss" is not in the correct order, it should be before "reset_success"

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

(35 errors, 0 warnings)

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

local/corolair/styles.css
(#37) Unexpected duplicate "padding" (declaration-block-no-duplicate-properties)
(#14) Unexpected !important (declaration-no-important)
(#15) Unexpected !important (declaration-no-important)
(#28) Unexpected !important (declaration-no-important)
(#29) Unexpected !important (declaration-no-important)
(#30) Unexpected !important (declaration-no-important)
(#31) Unexpected !important (declaration-no-important)
(#32) Unexpected !important (declaration-no-important)
(#36) Unexpected !important (declaration-no-important)
(#37) Unexpected !important (declaration-no-important)
(#51) Unexpected !important (declaration-no-important)
(#4) Expected indentation of 4 spaces (indentation)
(#5) Expected indentation of 4 spaces (indentation)
(#9) Expected indentation of 4 spaces (indentation)
(#14) Expected indentation of 4 spaces (indentation)
(#15) Expected indentation of 4 spaces (indentation)
(#16) Expected indentation of 4 spaces (indentation)
(#17) Expected indentation of 4 spaces (indentation)
(#18) Expected indentation of 4 spaces (indentation)
(#22) Expected indentation of 4 spaces (indentation)
(#23) Expected indentation of 4 spaces (indentation)
(#24) Expected indentation of 4 spaces (indentation)
(#28) Expected indentation of 4 spaces (indentation)
(#29) Expected indentation of 4 spaces (indentation)
(#30) Expected indentation of 4 spaces (indentation)
(#31) Expected indentation of 4 spaces (indentation)
(#32) Expected indentation of 4 spaces (indentation)
(#36) Expected indentation of 4 spaces (indentation)
(#37) Expected indentation of 4 spaces (indentation)
(#38) Expected indentation of 4 spaces (indentation)
(#42) Expected indentation of 4 spaces (indentation)
(#46) Expected indentation of 4 spaces (indentation)
(#50) Expected indentation of 4 spaces (indentation)
(#51) Expected indentation of 4 spaces (indentation)
(#55) 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, 3 warnings)

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

local/corolair/templates/embed_script.mustache
(#1) Example context missing (@template section not found.)
local/corolair/templates/installation_troubleshoot.mustache
(#1) Example context missing (@template section not found.)
local/corolair/templates/trainer.mustache
(#1) Example context missing (@template section not found.)

Gherkin .feature problems

(0 errors, 0 warnings)

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