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

(0 errors, 0 warnings)

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


Javascript coding style problems

(0 errors, 25 warnings)

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

local/loginas/yui/quickloginas/quickloginas.js
(#91) Unnecessary semicolon.
(#96) ['id'] is better written in dot notation.
(#163) Expected '===' and instead saw '=='.
(#168) ['sesskey'] is better written in dot notation.
(#169) ['action'] is better written in dot notation.
(#170) ['search'] is better written in dot notation.
(#171) ['page'] is better written in dot notation.
(#183) ['contextid'] is better written in dot notation.
(#202) 'result' used out of scope.
(#212) 'result' used out of scope.
(#214) 'result' used out of scope.
(#216) ['id'] is better written in dot notation.
(#217) ['sesskey'] is better written in dot notation.
(#218) ['user'] is better written in dot notation.
(#236) Line is too long.
(#236) 'result' used out of scope.
(#236) Expected '===' and instead saw '=='.
(#236) 'result' used out of scope.
(#254) 'result' used out of scope.
(#351) Missing semicolon.
(#52) 'config' is defined but never used.
(#59) 'config' is defined but never used.
(#108) 'e' is defined but never used.
(#146) 'e' is defined but never used.
(#161) 'on' is defined but never used.

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(7 errors, 1 warnings)

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

local/loginas/db/upgrade.php
(#25) Function xmldb_local_loginas_upgrade is not documented
(#17) No one-line description found in phpdocs for file
local/loginas/lib.php
(#17) No one-line description found in phpdocs for file
(#101) Phpdocs for function local_loginas_require_js has incomplete parameters list
(#128) Phpdocs for function local_loginas_get_users has incomplete parameters list
(#127) Not recommended phpdocs tag @global used
local/loginas/settings.php
(#17) No one-line description found in phpdocs for file
local/loginas/version.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]


Mustache template problems

(0 errors, 0 warnings)

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