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

(22 errors, 118 warnings)

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

local/loginas/yui/quickloginas/quickloginas.js
(#1) 'YUI' is not defined. (no-undef)
(#4) Extra space after key 'NAME'. (key-spacing)
(#6) Extra space after key 'BASE'. (key-spacing)
(#7) Extra space after key 'SEARCH'. (key-spacing)
(#8) Extra space after key 'PARAMS'. (key-spacing)
(#9) Extra space after key 'URL'. (key-spacing)
(#10) Extra space after key 'AJAXURL'. (key-spacing)
(#11) Extra space after key 'MULTIPLE'. (key-spacing)
(#12) Extra space after key 'PAGE'. (key-spacing)
(#13) Extra space after key 'COURSEID'. (key-spacing)
(#14) Extra space after key 'USERS'. (key-spacing)
(#15) Extra space after key 'USERCOUNT'. (key-spacing)
(#16) Extra space after key 'REQUIREREFRESH'. (key-spacing)
(#17) Extra space after key 'LASTSEARCH'. (key-spacing)
(#21) Extra space after key 'PANEL'. (key-spacing)
(#22) Extra space after key 'WRAP'. (key-spacing)
(#23) Extra space after key 'HEADER'. (key-spacing)
(#24) Extra space after key 'CONTENT'. (key-spacing)
(#25) Extra space after key 'AJAXCONTENT'. (key-spacing)
(#26) Extra space after key 'SEARCHRESULTS'. (key-spacing)
(#27) Extra space after key 'TOTALUSERS'. (key-spacing)
(#28) Extra space after key 'USERS'. (key-spacing)
(#29) Extra space after key 'USER'. (key-spacing)
(#30) Extra space after key 'SEARCHBUTTONS'. (key-spacing)
(#31) Extra space after key 'NEXTRESULTS'. (key-spacing)
(#32) Extra space after key 'PREVRESULTS'. (key-spacing)
(#33) Extra space after key 'LIGHTBOX'. (key-spacing)
(#34) Extra space after key 'LOADINGICON'. (key-spacing)
(#35) Extra space after key 'FOOTER'. (key-spacing)
(#36) Extra space after key 'COUNT'. (key-spacing)
(#37) Extra space after key 'PICTURE'. (key-spacing)
(#38) Extra space after key 'DETAILS'. (key-spacing)
(#39) Extra space after key 'LOGINASLINK'. (key-spacing)
(#40) Extra space after key 'FULLNAME'. (key-spacing)
(#41) Extra space after key 'EXTRAFIELDS'. (key-spacing)
(#42) Extra space after key 'OPTIONS'. (key-spacing)
(#43) Extra space after key 'ODD'. (key-spacing)
(#44) Extra space after key 'EVEN'. (key-spacing)
(#45) Extra space after key 'HIDDEN'. (key-spacing)
(#46) Extra space after key 'SEARCH'. (key-spacing)
(#47) Extra space after key 'CLOSE'. (key-spacing)
(#48) Extra space after key 'CLOSEBTN'. (key-spacing)
(#52) 'config' is defined but never used (no-unused-vars)
(#56) Extra space after key '_searchTimeout'. (key-spacing)
(#57) Extra space after key '_loadingNode'. (key-spacing)
(#58) Extra space after key '_escCloseEvent'. (key-spacing)
(#59) Extra space after key 'initializer'. (key-spacing)
(#59) 'config' is defined but never used (no-unused-vars)
(#83) Missing space before opening brace. (space-before-blocks)
(#91) Unnecessary semicolon. (no-extra-semi)
(#96) ["id"] is better written in dot notation. (dot-notation)
(#108) Extra space after key 'preSearch'. (key-spacing)
(#108) 'e' is defined but never used (no-unused-vars)
(#127) Extra space after key 'show'. (key-spacing)
(#138) A space is required after ','. (comma-spacing)
(#146) Extra space after key 'hide'. (key-spacing)
(#146) 'e' is defined but never used (no-unused-vars)
(#156) Extra space after key 'search'. (key-spacing)
(#161) 'on' is defined but never used (no-unused-vars)
(#168) ["sesskey"] is better written in dot notation. (dot-notation)
(#169) ["action"] is better written in dot notation. (dot-notation)
(#170) ["search"] is better written in dot notation. (dot-notation)
(#171) ["page"] is better written in dot notation. (dot-notation)
(#175) 'build_querystring' is not defined. (no-undef)
(#181) Missing space before value for key 'context'. (key-spacing)
(#183) Missing space before value for key 'contextid'. (key-spacing)
(#183) ["contextid"] is better written in dot notation. (dot-notation)
(#187) Extra space after key 'displayLoading'. (key-spacing)
(#190) Extra space after key 'removeLoading'. (key-spacing)
(#193) Extra space after key 'processSearchResults'. (key-spacing)
(#193) Expected to return a value at the end of this function. (consistent-return)
(#202) 'result' used outside of binding context. (block-scoped-var)
(#212) 'result' used outside of binding context. (block-scoped-var)
(#214) 'result' used outside of binding context. (block-scoped-var)
(#215) 'params' is not defined. (no-undef)
(#216) 'params' is not defined. (no-undef)
(#216) ["id"] is better written in dot notation. (dot-notation)
(#217) 'params' is not defined. (no-undef)
(#217) ["sesskey"] is better written in dot notation. (dot-notation)
(#218) 'params' is not defined. (no-undef)
(#218) ["user"] is better written in dot notation. (dot-notation)
(#219) 'build_querystring' is not defined. (no-undef)
(#219) 'params' is not defined. (no-undef)
(#236) Line 236 exceeds the maximum line length of 132. (max-len)
(#236) 'result' used outside of binding context. (block-scoped-var)
(#236) A space is required after ','. (comma-spacing)
(#236) 'result' used outside of binding context. (block-scoped-var)
(#243) '$currentpage' is not defined. (no-undef)
(#244) '$currentpage' is not defined. (no-undef)
(#245) Line 245 exceeds the maximum line length of 132. (max-len)
(#250) '$currentpage' is not defined. (no-undef)
(#254) 'result' used outside of binding context. (block-scoped-var)
(#254) '$currentpage' is not defined. (no-undef)
(#256) Line 256 exceeds the maximum line length of 132. (max-len)
(#270) Extra space after key 'NAME'. (key-spacing)
(#271) Extra space after key 'ATTRS'. (key-spacing)
(#272) Extra space after key 'url'. (key-spacing)
(#273) Extra space after key 'validator'. (key-spacing)
(#275) Extra space after key 'ajaxurl'. (key-spacing)
(#276) Extra space after key 'validator'. (key-spacing)
(#278) Extra space after key 'base'. (key-spacing)
(#279) Extra space after key 'setter'. (key-spacing)
(#287) Extra space after key 'users'. (key-spacing)
(#288) Extra space after key 'validator'. (key-spacing)
(#289) Extra space after key 'value'. (key-spacing)
(#291) Extra space after key 'courseid'. (key-spacing)
(#292) Extra space after key 'value'. (key-spacing)
(#294) Extra space after key 'params'. (key-spacing)
(#295) Extra space after key 'validator'. (key-spacing)
(#296) Extra space after key 'value'. (key-spacing)
(#298) Extra space after key 'instances'. (key-spacing)
(#299) Extra space after key 'validator'. (key-spacing)
(#300) Extra space after key 'setter'. (key-spacing)
(#301) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#301) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#309) Extra space after key 'multiple'. (key-spacing)
(#310) Extra space after key 'validator'. (key-spacing)
(#311) Extra space after key 'value'. (key-spacing)
(#313) Extra space after key 'page'. (key-spacing)
(#314) Extra space after key 'validator'. (key-spacing)
(#315) Extra space after key 'value'. (key-spacing)
(#317) Extra space after key 'userCount'. (key-spacing)
(#318) Extra space after key 'value'. (key-spacing)
(#319) Extra space after key 'validator'. (key-spacing)
(#321) Extra space after key 'requiresRefresh'. (key-spacing)
(#322) Extra space after key 'value'. (key-spacing)
(#323) Extra space after key 'validator'. (key-spacing)
(#325) Extra space after key 'search'. (key-spacing)
(#326) Extra space after key 'setter'. (key-spacing)
(#334) Extra space after key 'lastPreSearchValue'. (key-spacing)
(#335) Extra space after key 'value'. (key-spacing)
(#336) Extra space after key 'validator'. (key-spacing)
(#338) Extra space after key 'strings'. (key-spacing)
(#339) Extra space after key 'value'. (key-spacing)
(#340) Extra space after key 'validator'. (key-spacing)
(#346) Identifier 'local_loginas' is not in camel case. (camelcase)
(#348) Extra space after key 'init'. (key-spacing)
(#351) Missing semicolon. (semi)
(#353) Missing space before value for key 'requires'. (key-spacing)
(#353) A space is required after ','. (comma-spacing)

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]


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]