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

(47 errors, 2 warnings)

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

local/wswizard/ajax.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
local/wswizard/classes/Base.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
local/wswizard/classes/Logs.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
local/wswizard/classes/forms/add_functions_to_webservice_form.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#161) Whitespace found at end of line within string
(#162) Whitespace found at end of line within string
(#163) Whitespace found at end of line within string
(#164) Whitespace found at end of line within string
(#165) Whitespace found at end of line within string
(#166) Whitespace found at end of line within string
(#167) Whitespace found at end of line within string
(#168) Whitespace found at end of line within string
(#169) Whitespace found at end of line within string
(#170) Whitespace found at end of line within string
(#171) Whitespace found at end of line within string
(#182) Expected 1 space after "="; 2 found
local/wswizard/classes/forms/add_token_to_webservice_form.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#57) Expected 1 space after "=>"; 2 found
local/wswizard/classes/forms/ws_form.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#97) Expected 1 space after "=>"; 2 found
local/wswizard/classes/privacy/provider.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#45) Duplicate interface name "local_wswizard\privacy\my_userlist" found; first defined in /var/lib/jenkins/git_repositories/prechecker/local/wswizard/classes/privacy/provider.php on line 42
(#77) Whitespace found at end of line within string
(#78) Whitespace found at end of line within string
local/wswizard/classes/task/archive_logs.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
local/wswizard/classes/web_service_data.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#317) Whitespace found at end of line within string
local/wswizard/classes/web_service_wizard.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#287) Whitespace found at end of line within string
(#288) Whitespace found at end of line within string
(#289) Whitespace found at end of line within string
(#290) Whitespace found at end of line within string
(#291) Whitespace found at end of line within string
(#292) Whitespace found at end of line within string
(#293) Whitespace found at end of line within string
(#294) Whitespace found at end of line within string
(#295) Whitespace found at end of line within string
(#296) Whitespace found at end of line within string
(#297) Whitespace found at end of line within string
local/wswizard/dashboard.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
local/wswizard/db/upgrade.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
local/wswizard/lang/en/local_wswizard.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
local/wswizard/lib.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#36) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
local/wswizard/logs.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
local/wswizard/settings.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
local/wswizard/version.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
local/wswizard/ws.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
local/wswizard/ws_edit.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"

Javascript coding style problems

(284 errors, 16 warnings)

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

local/wswizard/amd/src/add_functions_to_webservice.js
(#1) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#2) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#3) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#4) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#5) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#6) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#7) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#8) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#9) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#10) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#11) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#12) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#13) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#14) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#15) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#16) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#17) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#18) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#19) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#20) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#21) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#22) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#23) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#24) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#25) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#26) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#27) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#28) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#29) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#30) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#31) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#32) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
local/wswizard/amd/src/add_tokens_to_webservice.js
(#1) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#2) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#3) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#4) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#5) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#6) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#7) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#8) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#9) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#10) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#11) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#12) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#13) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#14) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#15) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#16) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#17) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#18) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#19) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#20) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#21) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#22) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#23) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#24) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#25) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#26) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#27) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#28) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#29) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#30) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
local/wswizard/amd/src/dashboardModal.js
(#1) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#2) Missing space before opening brace. (space-before-blocks)
(#2) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#3) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#4) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#5) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#6) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#7) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#8) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#9) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#10) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#11) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#12) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#13) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#14) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#15) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#16) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#17) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#18) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#19) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#20) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#21) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#22) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#23) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#24) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#25) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#26) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#27) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#28) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#29) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#30) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#31) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#32) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#33) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#34) ["tokenid"] is better written in dot notation. (dot-notation)
(#34) Trailing spaces not allowed. (no-trailing-spaces)
(#34) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#35) Unexpected tab character. (no-tabs)
(#35) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#35) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#36) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#37) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#38) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#39) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#40) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#41) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#42) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#43) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#44) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#45) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#46) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#47) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#48) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#49) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#50) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#51) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#52) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#53) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#54) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#55) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#56) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#57) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#58) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#59) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#60) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#61) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#62) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#63) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#64) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#65) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#66) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#67) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#68) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#69) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#70) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#71) ["functionid"] is better written in dot notation. (dot-notation)
(#71) ["functionname"] is better written in dot notation. (dot-notation)
(#71) Trailing spaces not allowed. (no-trailing-spaces)
(#71) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#72) Unexpected tab character. (no-tabs)
(#72) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#72) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#73) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#74) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#75) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#76) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#77) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#78) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#79) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#80) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#81) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#82) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#83) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#84) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#85) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#86) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#87) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#88) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#89) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#90) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#91) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#92) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#93) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#94) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#95) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#96) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#97) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#98) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#99) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#100) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#101) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#102) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#103) ["webserviceid"] is better written in dot notation. (dot-notation)
(#103) Trailing spaces not allowed. (no-trailing-spaces)
(#103) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#104) Unexpected tab character. (no-tabs)
(#104) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#104) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#105) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#106) 'resultData' is defined but never used. (no-unused-vars)
(#106) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#107) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#108) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#109) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#110) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#111) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#112) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#113) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#114) A space is required after ','. (comma-spacing)
(#114) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#115) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#116) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#117) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#118) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#119) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#120) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#121) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#122) Unexpected empty method 'success'. (no-empty-function)
(#122) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#123) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#124) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#125) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#126) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#127) A space is required after ','. (comma-spacing)
(#127) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#128) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#129) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#130) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#131) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#132) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#133) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#134) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#135) Unexpected empty method 'success'. (no-empty-function)
(#135) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#136) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#137) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#138) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#139) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#140) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#141) A space is required after ','. (comma-spacing)
(#141) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#142) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#143) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#144) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#145) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#146) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#147) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#148) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#149) Unexpected empty method 'success'. (no-empty-function)
(#149) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#150) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#151) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#152) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#153) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
local/wswizard/js/copytext.js
(#1) Missing JSDoc comment. (require-jsdoc)
(#1) 'copyTextFromElement' is defined but never used. (no-unused-vars)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before opening brace. (space-before-blocks)
(#1) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#2) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
local/wswizard/js/wswizard.js
(#1) '$' is not defined. (no-undef)
(#1) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#2) '$' is not defined. (no-undef)
(#2) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#3) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#4) Missing JSDoc comment. (require-jsdoc)
(#4) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#5) '$' is not defined. (no-undef)
(#5) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#6) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#7) '$' is not defined. (no-undef)
(#7) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#8) '$' is not defined. (no-undef)
(#8) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#9) '$' is not defined. (no-undef)
(#9) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#10) '$' is not defined. (no-undef)
(#10) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#11) '$' is not defined. (no-undef)
(#11) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#12) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#13) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#14) '$' is not defined. (no-undef)
(#14) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#15) '$' is not defined. (no-undef)
(#15) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#16) '$' is not defined. (no-undef)
(#16) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#17) '$' is not defined. (no-undef)
(#17) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#18) '$' is not defined. (no-undef)
(#18) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#19) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#20) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#21) Missing JSDoc comment. (require-jsdoc)
(#21) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#22) '$' is not defined. (no-undef)
(#22) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#23) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#24) '$' is not defined. (no-undef)
(#24) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#25) '$' is not defined. (no-undef)
(#25) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#26) '$' is not defined. (no-undef)
(#26) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#27) '$' is not defined. (no-undef)
(#27) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#28) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#29) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#30) '$' is not defined. (no-undef)
(#30) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#31) '$' is not defined. (no-undef)
(#31) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#32) '$' is not defined. (no-undef)
(#32) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#33) '$' is not defined. (no-undef)
(#33) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#34) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(65 errors, 27 warnings)

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

local/wswizard/ajax.php
(#21) Package local ** is not valid
(#17) No one-line description found in phpdocs for file
(#23) Not recommended phpdocs tag @name used
local/wswizard/classes/Base.php
(#21) Package local_wswizard ** is not valid
(#38) Class Base is not documented
(#17) No one-line description found in phpdocs for file
(#174) Phpdocs for function Base::get_user_record has incomplete parameters list
(#199) Phpdocs for function Base::get_user_name_by_userid has incomplete parameters list
(#22) Not recommended phpdocs tag @name used
(#49) Not recommended phpdocs tag @global used
(#49) Not recommended phpdocs tag @global used
(#49) Not recommended phpdocs tag @global used
(#49) Not recommended phpdocs tag @global used
local/wswizard/classes/Logs.php
(#21) Package local_wswizard ** is not valid
(#17) No one-line description found in phpdocs for file
(#66) Phpdocs for function Logs::insert has incomplete parameters list
(#89) Phpdocs for function Logs::get_all has incomplete parameters list
(#127) Phpdocs for function Logs::format_logs has incomplete parameters list
(#22) Not recommended phpdocs tag @name used
(#68) Not recommended phpdocs tag @global used
(#92) Not recommended phpdocs tag @global used
local/wswizard/classes/forms/add_functions_to_webservice_form.php
(#21) Package local_wswizard ** is not valid
(#42) Function add_functions_to_webservice_form::definition is not documented
(#17) No one-line description found in phpdocs for file
(#236) Phpdocs for function add_functions_to_webservice_form::assign_functions_to_webservice has incomplete parameters list
(#22) Not recommended phpdocs tag @name used
local/wswizard/classes/forms/add_token_to_webservice_form.php
(#21) Package local_wswizard ** is not valid
(#17) No one-line description found in phpdocs for file
(#203) Phpdocs for function add_token_to_webservice_form::validation has incomplete parameters list
(#22) Not recommended phpdocs tag @name used
local/wswizard/classes/forms/ws_form.php
(#20) Package local_wswizard ** is not valid
(#16) No one-line description found in phpdocs for file
(#175) Phpdocs for function ws_form::validation has incomplete parameters list
(#21) Not recommended phpdocs tag @name used
local/wswizard/classes/privacy/provider.php
(#21) Package local ** is not valid
(#49) Class provider is not documented
(#52) Function provider::get_metadata is not documented
(#17) No one-line description found in phpdocs for file
(#102) Phpdocs for function provider::export_user_data has incomplete parameters list
(#23) Not recommended phpdocs tag @name used
local/wswizard/classes/task/archive_logs.php
(#21) Package local ** is not valid
(#38) Class archive_logs is not documented
(#17) No one-line description found in phpdocs for file
(#23) Not recommended phpdocs tag @name used
local/wswizard/classes/web_service_data.php
(#21) Package local_wswizard ** is not valid
(#17) No one-line description found in phpdocs for file
(#197) Phpdocs for function web_service_data::edit_or_create_webservice_object has incomplete parameters list
(#254) Phpdocs for function web_service_data::assign_functions_to_webservice has incomplete parameters list
(#304) Phpdocs for function web_service_data::create_webservice_token has incomplete parameters list
(#366) Phpdocs for function web_service_data::set_webservice_role has incomplete parameters list
(#22) Not recommended phpdocs tag @name used
local/wswizard/classes/web_service_wizard.php
(#21) Package local_wswizard ** is not valid
(#17) No one-line description found in phpdocs for file
(#103) Phpdocs for function web_service_wizard::__construct has incomplete parameters list
(#231) Phpdocs for function web_service_wizard::get_service_by_id has incomplete parameters list
(#253) Phpdocs for function web_service_wizard::get_tokens_from_webservice_id has incomplete parameters list
(#279) Phpdocs for function web_service_wizard::get_functions_from_webservice_id has incomplete parameters list
(#325) Phpdocs for function web_service_wizard::get_user_by_id has incomplete parameters list
(#336) Phpdocs for function web_service_wizard::get_username_from_id has incomplete parameters list
(#347) Phpdocs for function web_service_wizard::get_authorised_users_from_ws_id has incomplete parameters list
(#384) Phpdocs for function web_service_wizard::get_role_name_from_id has incomplete parameters list
(#401) Phpdocs for function web_service_wizard::get_webservice_role has incomplete parameters list
(#418) Phpdocs for function web_service_wizard::get_webservice_protocols_from_webservice has incomplete parameters list
(#22) Not recommended phpdocs tag @name used
local/wswizard/dashboard.php
(#21) Package local ** is not valid
(#17) No one-line description found in phpdocs for file
(#23) Not recommended phpdocs tag @name used
local/wswizard/db/upgrade.php
(#21) Package local ** is not valid
(#32) Function xmldb_local_wswizard_upgrade is not documented
(#17) No one-line description found in phpdocs for file
(#23) Not recommended phpdocs tag @name used
local/wswizard/lang/en/local_wswizard.php
(#21) Package local ** is not valid
(#17) No one-line description found in phpdocs for file
(#23) Not recommended phpdocs tag @name used
local/wswizard/lib.php
(#21) Package local_wswizard ** is not valid
(#17) No one-line description found in phpdocs for file
(#22) Not recommended phpdocs tag @name used
local/wswizard/logs.php
(#20) Package local ** is not valid
(#16) No one-line description found in phpdocs for file
(#22) Not recommended phpdocs tag @name used
local/wswizard/settings.php
(#21) Package local ** is not valid
(#17) No one-line description found in phpdocs for file
(#23) Not recommended phpdocs tag @name used
local/wswizard/version.php
(#21) Package local ** is not valid
(#17) No one-line description found in phpdocs for file
(#23) Not recommended phpdocs tag @name used
local/wswizard/ws.php
(#21) Package local_wswizard ** is not valid
(#17) No one-line description found in phpdocs for file
(#22) Not recommended phpdocs tag @name used
local/wswizard/ws_edit.php
(#21) Package local_wswizard ** is not valid
(#17) No one-line description found in phpdocs for file
(#22) Not recommended phpdocs tag @name used

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 "eslint:amd" 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, 4 warnings)

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

local/wswizard/templates/dashboard.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 6: Bad value “” for attribute “aria-selected” on element “a”. ( <a class="nav-link" id="nav-createnew-tab" href="" aria-selected=""><i )
(#1) HTML Validation error, line 6: Element “a” is missing one or more of the following attributes: “aria-checked”, “role”. ( <a class="nav-link" id="nav-createnew-tab" href="" aria-selected=""><i )
local/wswizard/templates/logs_report.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]