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

(598 errors, 20 warnings)

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

mod/pokcertificate/certificates.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
mod/pokcertificate/classes/api.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#40) Opening brace must not be followed by a blank line
(#88) Inline comments must start with a capital letter, digit or 3-dots sequence
(#88) This comment is 73% valid code; is this commented out code?
(#88) No space found before comment text; expected "// $params['wallet'] = $this->wallet;" but found "//$params['wallet'] = $this->wallet;"
(#151) Variable "result_json" must not contain underscores.
(#152) Variable "result_json" must not contain underscores.
(#154) Whitespace found at end of line
(#155) Expected "foreach (...) {\n"; found "foreach (...){\n"
(#155) Expected 1 space after closing parenthesis; found 0
(#198) Variable "httpCode" must be all lower-case
(#206) Variable "httpCode" must be all lower-case
(#212) Blank line found at end of control structure
(#214) Variable "httpCode" must be all lower-case
(#236) Missing docblock for function saveupdate_logdata
mod/pokcertificate/classes/completion/custom_completion.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#32) Missing docblock for class custom_completion
(#32) Opening brace must not be followed by a blank line
mod/pokcertificate/classes/event/course_module_viewed.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#26) Opening brace must not be followed by a blank line
mod/pokcertificate/classes/event/template_updated.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#26) Opening brace must not be followed by a blank line
mod/pokcertificate/classes/external.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#38) Opening brace must not be followed by a blank line
(#77) Long list syntax is not allowed
(#152) Blank line found at start of control structure
(#154) Long list syntax is not allowed
(#163) Long list syntax is not allowed
(#265) Parentheses must be used when instantiating a new class
(#271) Parentheses must be used when instantiating a new class
(#273) Parentheses must be used when instantiating a new class
(#345) Blank line found at start of control structure
mod/pokcertificate/classes/external/emit_general_certificate.php
(#19) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#41) Opening brace must not be followed by a blank line
(#83) Blank line found at start of control structure
(#117) Expected 1 newline at end of file; 0 found
mod/pokcertificate/classes/external/get_pokcertificates_by_courses.php
(#21) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#43) Opening brace must not be followed by a blank line
(#89) Blank line found at start of control structure
(#91) Long list syntax is not allowed
(#100) Long list syntax is not allowed
(#160) Expected 1 newline at end of file; 0 found
mod/pokcertificate/classes/external/verify_authentication.php
(#19) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#41) Opening brace must not be followed by a blank line
(#84) Parentheses must be used when instantiating a new class
(#90) Parentheses must be used when instantiating a new class
(#92) Parentheses must be used when instantiating a new class
(#123) Expected 1 newline at end of file; 0 found
mod/pokcertificate/classes/external/view_pokcertificate.php
(#19) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#40) Opening brace must not be followed by a blank line
(#79) Long list syntax is not allowed
(#109) Expected 1 newline at end of file; 0 found
mod/pokcertificate/classes/form/editprofile_form.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#42) Opening brace must not be followed by a blank line
mod/pokcertificate/classes/form/fieldmapping_form.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#39) Opening brace must not be followed by a blank line
(#63) Whitespace found at end of line within string
(#64) Whitespace found at end of line within string
(#65) Whitespace found at end of line within string
(#66) Whitespace found at end of line within string
(#68) Whitespace found at end of line within string
(#69) Whitespace found at end of line within string
(#70) Whitespace found at end of line within string
(#71) Whitespace found at end of line within string
(#72) Whitespace found at end of line within string
(#73) Whitespace found at end of line within string
(#91) Whitespace found at end of line within string
(#92) Whitespace found at end of line within string
(#103) Whitespace found at end of line within string
(#119) Blank line found at start of control structure
(#121) Whitespace found at end of line within string
(#122) Whitespace found at end of line within string
(#132) Whitespace found at end of line within string
(#142) Whitespace found at end of line within string
mod/pokcertificate/classes/form/searchfilter_form.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#40) Opening brace must not be followed by a blank line
(#70) Blank line found at start of control structure
(#106) Blank line found at start of control structure
(#125) Whitespace found at end of line within string
(#126) Whitespace found at end of line within string
(#127) Whitespace found at end of line within string
mod/pokcertificate/classes/form/updateprofile_form.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#92) Commas (,) must be followed by white space.
(#92) Expected 1 space between the comma and "'firstname'". Found: no spaces
(#92) Line exceeds 132 characters; contains 137 characters
(#109) Blank line found at start of control structure
(#156) Blank line found at start of control structure
mod/pokcertificate/classes/form/userupload_form.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#47) Expected 1 space after comma in argument list; 2 found
(#47) Expected 1 space between the comma and "'delimiter_name'". Found: 2 spaces
(#49) Expected 1 space after comma in argument list; 2 found
(#49) Expected 1 space between the comma and "'comma'". Found: 2 spaces
(#51) Expected 1 space after comma in argument list; 2 found
(#51) Expected 1 space between the comma and "'encoding'". Found: 2 spaces
(#53) Expected 1 space after comma in argument list; 2 found
(#53) Expected 1 space between the comma and "'UTF-8'". Found: 2 spaces
mod/pokcertificate/classes/form/verifyauth_form.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#79) Whitespace found at end of line within string
mod/pokcertificate/classes/helper.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#111) Parentheses must be used when instantiating a new class
(#113) Blank line found at start of control structure
(#243) Whitespace found at end of line within string
(#245) Whitespace found at end of line within string
(#246) Whitespace found at end of line within string
(#248) Whitespace found at end of line within string
(#249) Whitespace found at end of line within string
(#250) Whitespace found at end of line within string
(#251) Whitespace found at end of line within string
(#252) Whitespace found at end of line within string
(#253) Whitespace found at end of line within string
(#254) Whitespace found at end of line within string
(#255) Whitespace found at end of line within string
(#328) Whitespace found at end of line within string
(#329) Whitespace found at end of line within string
(#330) Whitespace found at end of line within string
(#331) Whitespace found at end of line within string
(#332) Whitespace found at end of line within string
(#333) Whitespace found at end of line within string
(#334) Whitespace found at end of line within string
(#335) Whitespace found at end of line within string
(#336) Whitespace found at end of line within string
(#337) Whitespace found at end of line within string
(#338) Whitespace found at end of line within string
(#340) Whitespace found at end of line within string
(#341) Whitespace found at end of line within string
(#342) Whitespace found at end of line within string
(#343) Whitespace found at end of line within string
(#344) Whitespace found at end of line within string
(#345) Whitespace found at end of line within string
(#346) Whitespace found at end of line within string
(#347) Whitespace found at end of line within string
(#348) Whitespace found at end of line within string
(#349) Whitespace found at end of line within string
(#350) Whitespace found at end of line within string
(#383) Whitespace found at end of line within string
(#461) Whitespace found at end of line within string
(#462) Whitespace found at end of line within string
(#463) Whitespace found at end of line within string
(#464) Whitespace found at end of line within string
(#465) Whitespace found at end of line within string
(#466) Whitespace found at end of line within string
(#467) Whitespace found at end of line within string
(#468) Whitespace found at end of line within string
(#469) Whitespace found at end of line within string
(#470) Whitespace found at end of line within string
(#471) Whitespace found at end of line within string
(#472) Whitespace found at end of line within string
(#473) Whitespace found at end of line within string
(#474) Whitespace found at end of line within string
(#475) Whitespace found at end of line within string
(#476) Whitespace found at end of line within string
(#478) Whitespace found at end of line within string
(#479) Whitespace found at end of line within string
(#480) Whitespace found at end of line within string
(#481) Whitespace found at end of line within string
(#482) Whitespace found at end of line within string
(#483) Whitespace found at end of line within string
(#484) Whitespace found at end of line within string
(#485) Whitespace found at end of line within string
(#486) Whitespace found at end of line within string
(#487) Whitespace found at end of line within string
(#488) Whitespace found at end of line within string
(#523) Whitespace found at end of line within string
(#533) Space found before comma in argument list
(#533) Expected no space between "$fromsql" and the comma. Found: 1 space
(#538) Blank line found at start of control structure
(#548) Whitespace found at end of line within string
(#695) Each PHP statement must be on a line by itself
(#709) Missing docblock for function pokcertificate_userslist
(#743) Each PHP statement must be on a line by itself
mod/pokcertificate/classes/local/progresslibfunctions.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#38) Opening brace must not be followed by a blank line
mod/pokcertificate/classes/local/syncfunctionality.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#41) Opening brace must not be followed by a blank line
(#95) Closing brace must not be followed by any comment or statement on the same line
(#139) Whitespace found at end of line within string
(#140) Whitespace found at end of line within string
(#195) Closing brace must not be followed by any comment or statement on the same line
(#221) Closing brace must not be followed by any comment or statement on the same line
(#249) Closing brace must not be followed by any comment or statement on the same line
(#261) Parentheses must be used when instantiating a new class
(#270) Closing brace must not be followed by any comment or statement on the same line
(#281) Parentheses must be used when instantiating a new class
(#288) Closing brace must not be followed by any comment or statement on the same line
(#310) Closing brace must not be followed by any comment or statement on the same line
(#332) Closing brace must not be followed by any comment or statement on the same line
(#357) Whitespace found at end of line within string
(#358) Whitespace found at end of line within string
(#370) Closing brace must not be followed by any comment or statement on the same line
(#393) Closing brace must not be followed by any comment or statement on the same line
(#394) Closing brace must not be followed by any comment or statement on the same line
mod/pokcertificate/classes/output/actionbar.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#30) Opening brace must not be followed by a blank line
(#34) Missing member variable doc comment
(#73) Blank line found at start of control structure
mod/pokcertificate/classes/output/renderer.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#35) Opening brace must not be followed by a blank line
(#73) Whitespace found at end of line within string
(#74) Whitespace found at end of line within string
(#76) Whitespace found at end of line within string
(#102) Blank line found at start of control structure
(#104) Blank line found at start of control structure
(#150) Parentheses must be used when instantiating a new class
(#355) Parentheses must be used when instantiating a new class
(#369) Whitespace found at end of line
(#374) Whitespace found at end of line
(#375) Expected "if (...) {\n"; found "if (...){\n"
(#375) Expected 1 space after closing parenthesis; found 0
(#409) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#476) Expected 1 space between comma and type hint "\moodle_url"; 2 found
(#476) Expected 1 space between the comma and "\". Found: 2 spaces
(#635) Empty lines are not allowed in multi-line function calls
(#793) Parentheses must be used when instantiating a new class
(#795) Expected "if (...) {\n"; found "if(...){\n"
(#795) Expected 1 space after IF keyword; 0 found
(#795) Expected 1 space after closing parenthesis; found 0
(#812) Whitespace found at end of line within string
(#813) Whitespace found at end of line within string
(#815) Whitespace found at end of line within string
mod/pokcertificate/classes/persistent/pokcertificate.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#28) Opening brace must not be followed by a blank line
mod/pokcertificate/classes/persistent/pokcertificate_fieldmapping.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#28) Opening brace must not be followed by a blank line
mod/pokcertificate/classes/persistent/pokcertificate_issues.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#28) Opening brace must not be followed by a blank line
mod/pokcertificate/classes/persistent/pokcertificate_log.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#28) Opening brace must not be followed by a blank line
mod/pokcertificate/classes/persistent/pokcertificate_templates.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#29) Opening brace must not be followed by a blank line
mod/pokcertificate/classes/pok.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#39) Opening brace must not be followed by a blank line
(#222) Parentheses must be used when instantiating a new class
(#240) Blank line found at start of control structure
(#257) Blank line found at start of control structure
(#342) Parentheses must be used when instantiating a new class
(#348) Parentheses must be used when instantiating a new class
(#403) Blank line found at start of control structure
(#411) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#418) Parentheses must be used when instantiating a new class
(#447) Parentheses must be used when instantiating a new class
(#466) Parentheses must be used when instantiating a new class
(#481) Blank line found at start of control structure
(#484) Blank line found at start of control structure
(#530) Parentheses must be used when instantiating a new class
(#545) Expected "if (...) {\n"; found "if (...){\n"
(#545) Expected 1 space after closing parenthesis; found 0
(#562) Blank line found at start of control structure
(#567) Parentheses must be used when instantiating a new class
(#650) Blank line found at start of control structure
(#673) Whitespace found at end of line within string
(#674) Whitespace found at end of line within string
(#675) Whitespace found at end of line within string
(#676) Whitespace found at end of line within string
(#700) The first expression of a multi-line control structure must be on the line after the opening parenthesis
mod/pokcertificate/classes/privacy/provider.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#36) Missing docblock for class provider
(#36) The interface names in a "class implements" statement should be ordered alphabetically. Expected: \core_privacy\local\metadata\provider, \core_privacy\local\request\plugin\provider, \core_privacy\local\request\core_userlist_provider; Found: \core_privacy\local\request\core_userlist_provider, \core_privacy\local\metadata\provider, \core_privacy\local\request\plugin\provider
(#39) Opening brace must not be followed by a blank line
(#73) Whitespace found at end of line within string
(#74) Whitespace found at end of line within string
(#75) Whitespace found at end of line within string
(#76) Whitespace found at end of line within string
(#77) Whitespace found at end of line within string
(#78) Whitespace found at end of line within string
(#79) Whitespace found at end of line within string
(#80) Whitespace found at end of line within string
(#81) Whitespace found at end of line within string
(#82) Whitespace found at end of line within string
(#83) Whitespace found at end of line within string
(#84) Whitespace found at end of line within string
(#111) Whitespace found at end of line within string
(#112) Whitespace found at end of line within string
(#113) Whitespace found at end of line within string
(#114) Whitespace found at end of line within string
(#115) Whitespace found at end of line within string
(#116) Whitespace found at end of line within string
(#117) Whitespace found at end of line within string
(#118) Whitespace found at end of line within string
(#155) Long list syntax is not allowed
(#241) Long list syntax is not allowed
(#257) Long list syntax is not allowed
(#258) Whitespace found at end of line within string
(#259) Whitespace found at end of line within string
(#260) Whitespace found at end of line within string
(#261) Whitespace found at end of line within string
(#262) Whitespace found at end of line within string
(#263) Whitespace found at end of line within string
(#264) Whitespace found at end of line within string
mod/pokcertificate/classes/search/activity.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#26) Opening brace must not be followed by a blank line
mod/pokcertificate/classes/task/issue_certitficate_user.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#56) Blank line found at start of control structure
(#72) Blank line found at start of control structure
(#80) Blank line found at start of control structure
(#100) Whitespace found at end of line within string
(#121) Whitespace found at end of line within string
(#122) Whitespace found at end of line within string
(#123) Whitespace found at end of line within string
(#124) Whitespace found at end of line within string
mod/pokcertificate/constants.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
mod/pokcertificate/coursecertificatestatus.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
mod/pokcertificate/db/access.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
mod/pokcertificate/db/log.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
mod/pokcertificate/db/services.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#39) Whitespace found at end of line within string
(#40) Whitespace found at end of line within string
(#60) Expected 1 newline at end of file; 0 found
mod/pokcertificate/db/tasks.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
mod/pokcertificate/db/uninstall.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
mod/pokcertificate/db/upgrade.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
mod/pokcertificate/fieldmapping.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#60) Parentheses must be used when instantiating a new class
(#63) Parentheses must be used when instantiating a new class
mod/pokcertificate/generalcertificate.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
mod/pokcertificate/incompletestudent.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
mod/pokcertificate/index.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
mod/pokcertificate/lang/en/pokcertificate.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#73) Whitespace found at end of line within string
(#74) Whitespace found at end of line within string
(#75) Whitespace found at end of line within string
(#76) Whitespace found at end of line within string
(#77) Whitespace found at end of line within string
(#78) Whitespace found at end of line within string
(#79) Whitespace found at end of line within string
(#80) Whitespace found at end of line within string
(#81) Whitespace found at end of line within string
(#82) Whitespace found at end of line within string
(#83) 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
(#172) Whitespace found at end of line within string
(#173) Whitespace found at end of line within string
(#174) Whitespace found at end of line within string
(#175) Whitespace found at end of line within string
(#176) Whitespace found at end of line within string
(#177) Whitespace found at end of line within string
(#178) Whitespace found at end of line within string
(#179) Whitespace found at end of line within string
(#180) Whitespace found at end of line within string
(#181) Whitespace found at end of line within string
(#182) Whitespace found at end of line within string
(#183) Whitespace found at end of line within string
(#184) Whitespace found at end of line within string
(#185) Whitespace found at end of line within string
(#186) Whitespace found at end of line within string
(#187) Whitespace found at end of line within string
(#188) Whitespace found at end of line within string
(#189) Whitespace found at end of line within string
(#190) Whitespace found at end of line within string
(#191) Whitespace found at end of line within string
(#192) Whitespace found at end of line within string
(#193) Whitespace found at end of line within string
(#194) Whitespace found at end of line within string
(#195) Whitespace found at end of line within string
(#196) Whitespace found at end of line within string
(#197) Whitespace found at end of line within string
(#198) Whitespace found at end of line within string
(#199) Whitespace found at end of line within string
(#225) Whitespace found at end of line within string
(#226) Whitespace found at end of line within string
(#228) Whitespace found at end of line within string
(#229) Whitespace found at end of line within string
(#238) Whitespace found at end of line within string
mod/pokcertificate/lib.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#198) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#202) Each line in a multi-line control structure must be indented at least once; expected at least 8 spaces, but found 4
(#202) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#267) Each PHP statement must be on a line by itself
(#269) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#276) Whitespace found at end of line within string
(#428) Blank line found at start of control structure
(#472) Whitespace found at end of line within string
(#473) Whitespace found at end of line within string
(#474) Whitespace found at end of line within string
mod/pokcertificate/mod_form.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#82) Parentheses must be used when instantiating a new class
(#161) Missing docblock for function completion_rule_enabled
mod/pokcertificate/pokcertificate.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#61) Whitespace found at end of line within string
(#62) Whitespace found at end of line within string
(#66) Whitespace found at end of line within string
mod/pokcertificate/preview.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
mod/pokcertificate/previewusers.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#57) Blank line found at start of control structure
mod/pokcertificate/settings.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#37) Expected 1 blank line at end of file; 2 found
mod/pokcertificate/tests/api_test.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#39) Test method test_api_instance() is missing any coverage information, own or at class level
(#55) Parentheses must be used when instantiating a new class
(#62) Parentheses must be used when instantiating a new class
(#66) This comment is 65% valid code; is this commented out code?
(#71) Parentheses must be used when instantiating a new class
(#93) Parentheses must be used when instantiating a new class
(#118) Parentheses must be used when instantiating a new class
(#131) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#139) Parentheses must be used when instantiating a new class
(#153) Blank line found at start of control structure
mod/pokcertificate/tests/custom_completion_test.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#48) Opening brace must not be followed by a blank line
(#82) Test method test_get_state() is missing any coverage information, own or at class level
(#124) Test method test_get_defined_custom_rules() is missing any coverage information, own or at class level
(#133) Test method test_get_custom_rule_descriptions() is missing any coverage information, own or at class level
(#159) Test method test_is_defined() is missing any coverage information, own or at class level
(#179) Data provider method "get_available_custom_rules_provider" will need to be converted to static in future.
(#197) Test method test_get_available_custom_rules() is missing any coverage information, own or at class level
mod/pokcertificate/tests/generator/lib.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#35) Opening brace must not be followed by a blank line
(#45) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $options.
(#95) Parentheses must be used when instantiating a new class
(#99) Parentheses must be used when instantiating a new class
(#101) Expected 1 space after comma in argument list; 2 found
(#101) Expected 1 space between the comma and "$templatedefinition". Found: 2 spaces
(#143) The behaviour of hexadecimal numeric strings was inconsistent prior to PHP 7 and support has been removed in PHP 7. Found: '0x8cd7c619a1685a1f6e991946af6295ca05210af7'
mod/pokcertificate/tests/generator_test.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#31) Opening brace must not be followed by a blank line
(#37) Test method test_create_instance() is missing any coverage information, own or at class level
(#71) Test method test_update_instance() is missing any coverage information, own or at class level
(#134) Test method test_delete_instance() is missing any coverage information, own or at class level
(#164) Test method test_fieldmapping_save_instance() is missing any coverage information, own or at class level
mod/pokcertificate/tests/helper_test.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#29) Opening brace must not be followed by a blank line
(#39) Test method test_pokcertificate_validate_apikey() is missing any coverage information, own or at class level
(#58) Test method test_pokcertificate_incompletestudentprofilelist() is missing any coverage information, own or at class level
(#69) Test method test_pokcertificate_coursecertificatestatuslist() is missing any coverage information, own or at class level
(#106) Test method test_validate_userinputs() is missing any coverage information, own or at class level
mod/pokcertificate/updateprofile.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#42) Blank line found at start of control structure
(#69) Blank line found at start of control structure
(#72) Blank line found at start of control structure
(#89) Blank line found at start of control structure
(#111) Blank line found at start of control structure
(#123) Blank line found at start of control structure
mod/pokcertificate/userupload.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
mod/pokcertificate/userupload_help.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#55) Expected 1 blank line at end of file; 2 found
mod/pokcertificate/userupload_sample.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#66) Whitespace found at end of line within string
mod/pokcertificate/utility.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#36) Opening brace must not be followed by a blank line
mod/pokcertificate/version.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
mod/pokcertificate/view.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#69) Blank line found at start of control structure

Javascript coding style problems

(160 errors, 36 warnings)

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

mod/pokcertificate/amd/src/pokcertificate.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)
(#33) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#34) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#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 JSDoc block to be aligned. (jsdoc/check-alignment)
(#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) Missing space before opening brace. (space-before-blocks)
(#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) Each then() should return a value or throw (promise/always-return)
(#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) Missing space before value for key 'methodname'. (key-spacing)
(#60) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#61) Missing space before value for key 'prodtype'. (key-spacing)
(#61) A space is required after ','. (comma-spacing)
(#61) Missing space before value for key 'institution'. (key-spacing)
(#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 space(s) after "if". (keyword-spacing)
(#66) Missing space before opening brace. (space-before-blocks)
(#66) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#67) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#68) Operator '+' must be spaced. (space-infix-ops)
(#68) Operator '+' must be spaced. (space-infix-ops)
(#68) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#69) Expected space(s) before "else". (keyword-spacing)
(#69) Expected space(s) after "else". (keyword-spacing)
(#69) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#70) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#71) Operator '+' must be spaced. (space-infix-ops)
(#71) Operator '+' must be spaced. (space-infix-ops)
(#71) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#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 JSDoc block to be aligned. (jsdoc/check-alignment)
(#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) Missing space before opening brace. (space-before-blocks)
(#88) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#89) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#90) Expected space or tab after '//' in comment. (spaced-comment)
(#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) Missing space before value for key 'methodname'. (key-spacing)
(#93) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#94) Missing space before value for key 'type'. (key-spacing)
(#94) A space is required after ','. (comma-spacing)
(#94) Missing space before value for key 'cmid'. (key-spacing)
(#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 catch,fail() or return (promise/catch-or-return)
(#99) Each then() should return a value or throw (promise/always-return)
(#99) Unexpected space before function parentheses. (space-before-function-paren)
(#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) Unexpected empty function. (no-empty-function)
(#102) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#103) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#104) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#105) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#106) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#107) Expected JSDoc block to be aligned. (jsdoc/check-alignment)
(#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) Missing space before opening brace. (space-before-blocks)
(#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) 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) A space is required after ','. (comma-spacing)
(#120) Missing space before value for key 'courseid'. (key-spacing)
(#120) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#121) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#122) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#123) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#124) Expected space(s) after "if". (keyword-spacing)
(#124) Missing space before opening brace. (space-before-blocks)
(#124) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#125) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#126) A space is required after ','. (comma-spacing)
(#126) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#127) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#128) A space is required after ','. (comma-spacing)
(#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) Operator '+' must be spaced. (space-infix-ops)
(#134) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#135) The function binding is unnecessary. (no-extra-bind)
(#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) 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) 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)
(#154) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#155) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#156) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#157) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#158) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#159) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#160) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)

CSS problems

(211 errors, 12 warnings)

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

mod/pokcertificate/styles.css
(#204) Invalid value for "max-width" (csstree/validator)
(#374) Expected empty line before at-rule (at-rule-empty-line-before)
(#374) Expected newline after "}" (block-closing-brace-newline-after)
(#374) Expected newline after "}" (block-closing-brace-newline-after)
(#368) Expected newline before "}" (block-closing-brace-newline-before)
(#374) Expected newline before "}" (block-closing-brace-newline-before)
(#374) Expected newline before "}" (block-closing-brace-newline-before)
(#382) Expected newline before "}" (block-closing-brace-newline-before)
(#420) Expected newline before "}" (block-closing-brace-newline-before)
(#556) Expected newline before "}" (block-closing-brace-newline-before)
(#374) Expected newline before "}" (block-closing-brace-newline-before)
(#420) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#368) Expected newline after "{" (block-opening-brace-newline-after)
(#374) Expected newline after "{" (block-opening-brace-newline-after)
(#374) Expected newline after "{" (block-opening-brace-newline-after)
(#382) Expected newline after "{" (block-opening-brace-newline-after)
(#420) Expected newline after "{" (block-opening-brace-newline-after)
(#556) Expected newline after "{" (block-opening-brace-newline-after)
(#374) Expected newline after "{" (block-opening-brace-newline-after)
(#420) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#44) Expected single space before "{" (block-opening-brace-space-before)
(#95) Expected single space before "{" (block-opening-brace-space-before)
(#100) Expected single space before "{" (block-opening-brace-space-before)
(#105) Expected single space before "{" (block-opening-brace-space-before)
(#110) Expected single space before "{" (block-opening-brace-space-before)
(#115) Expected single space before "{" (block-opening-brace-space-before)
(#138) Expected single space before "{" (block-opening-brace-space-before)
(#143) Expected single space before "{" (block-opening-brace-space-before)
(#147) Expected single space before "{" (block-opening-brace-space-before)
(#152) Expected single space before "{" (block-opening-brace-space-before)
(#156) Expected single space before "{" (block-opening-brace-space-before)
(#162) Expected single space before "{" (block-opening-brace-space-before)
(#166) Expected single space before "{" (block-opening-brace-space-before)
(#170) Expected single space before "{" (block-opening-brace-space-before)
(#174) Expected single space before "{" (block-opening-brace-space-before)
(#187) Expected single space before "{" (block-opening-brace-space-before)
(#190) Expected single space before "{" (block-opening-brace-space-before)
(#194) Expected single space before "{" (block-opening-brace-space-before)
(#198) Expected single space before "{" (block-opening-brace-space-before)
(#207) Expected single space before "{" (block-opening-brace-space-before)
(#210) Expected single space before "{" (block-opening-brace-space-before)
(#224) Expected single space before "{" (block-opening-brace-space-before)
(#260) Expected single space before "{" (block-opening-brace-space-before)
(#384) Expected single space before "{" (block-opening-brace-space-before)
(#388) Expected single space before "{" (block-opening-brace-space-before)
(#392) Expected single space before "{" (block-opening-brace-space-before)
(#397) Expected single space before "{" (block-opening-brace-space-before)
(#401) Expected single space before "{" (block-opening-brace-space-before)
(#405) Expected single space before "{" (block-opening-brace-space-before)
(#450) Expected single space before "{" (block-opening-brace-space-before)
(#456) Expected single space before "{" (block-opening-brace-space-before)
(#459) Expected single space before "{" (block-opening-brace-space-before)
(#462) Expected single space before "{" (block-opening-brace-space-before)
(#472) Expected single space before "{" (block-opening-brace-space-before)
(#475) Expected single space before "{" (block-opening-brace-space-before)
(#19) Expected "#FFF" to be "#fff" (color-hex-case)
(#20) Expected "#3838381A" to be "#3838381a" (color-hex-case)
(#257) Expected "#cc0000" to be "#c00" (color-hex-length)
(#447) Expected "#ffffff" to be "#fff" (color-hex-length)
(#144) Expected single space before "!" (declaration-bang-space-before)
(#153) Expected single space before "!" (declaration-bang-space-before)
(#167) Expected single space before "!" (declaration-bang-space-before)
(#188) Expected single space before "!" (declaration-bang-space-before)
(#221) Expected single space before "!" (declaration-bang-space-before)
(#370) Expected newline after ";" in a multi-line declaration block (declaration-block-semicolon-newline-after)
(#370) Expected newline after ";" in a multi-line declaration block (declaration-block-semicolon-newline-after)
(#370) Expected newline after ";" in a multi-line declaration block (declaration-block-semicolon-newline-after)
(#370) Expected newline after ";" in a multi-line declaration block (declaration-block-semicolon-newline-after)
(#370) Expected newline after ";" in a multi-line declaration block (declaration-block-semicolon-newline-after)
(#371) Expected newline after ";" in a multi-line declaration block (declaration-block-semicolon-newline-after)
(#371) Expected newline after ";" in a multi-line declaration block (declaration-block-semicolon-newline-after)
(#372) Expected newline after ";" in a multi-line declaration block (declaration-block-semicolon-newline-after)
(#373) Expected newline after ";" in a multi-line declaration block (declaration-block-semicolon-newline-after)
(#378) Expected newline after ";" in a multi-line declaration block (declaration-block-semicolon-newline-after)
(#378) Expected newline after ";" in a multi-line declaration block (declaration-block-semicolon-newline-after)
(#379) Expected newline after ";" in a multi-line declaration block (declaration-block-semicolon-newline-after)
(#380) Expected newline after ";" in a multi-line declaration block (declaration-block-semicolon-newline-after)
(#368) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#97) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#101) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#102) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#106) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#107) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#111) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#112) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#116) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#117) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#144) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#167) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#195) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#196) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#199) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#201) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#208) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#211) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#217) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#389) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#398) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#402) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#473) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#532) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#533) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#534) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#535) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#536) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#537) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#538) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#539) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#540) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#541) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#96) Unexpected whitespace before ":" (declaration-colon-space-before)
(#135) Unexpected !important (declaration-no-important)
(#144) Unexpected !important (declaration-no-important)
(#153) Unexpected !important (declaration-no-important)
(#167) Unexpected !important (declaration-no-important)
(#188) Unexpected !important (declaration-no-important)
(#221) Unexpected !important (declaration-no-important)
(#473) Unexpected !important (declaration-no-important)
(#476) Unexpected !important (declaration-no-important)
(#477) Unexpected !important (declaration-no-important)
(#81) Unexpected unit (length-zero-no-unit)
(#89) Unexpected unit (length-zero-no-unit)
(#121) Unexpected unit (length-zero-no-unit)
(#121) Unexpected unit (length-zero-no-unit)
(#188) Unexpected unit (length-zero-no-unit)
(#389) Unexpected unit (length-zero-no-unit)
(#389) Unexpected unit (length-zero-no-unit)
(#389) Unexpected unit (length-zero-no-unit)
(#50) Expected indentation of 0 spaces (indentation)
(#52) Expected indentation of 0 spaces (indentation)
(#59) Expected indentation of 0 spaces (indentation)
(#61) Expected indentation of 0 spaces (indentation)
(#64) Expected indentation of 0 spaces (indentation)
(#66) Expected indentation of 0 spaces (indentation)
(#69) Expected indentation of 0 spaces (indentation)
(#71) Expected indentation of 0 spaces (indentation)
(#72) Expected indentation of 0 spaces (indentation)
(#77) Expected indentation of 0 spaces (indentation)
(#79) Expected indentation of 0 spaces (indentation)
(#85) Expected indentation of 0 spaces (indentation)
(#87) Expected indentation of 0 spaces (indentation)
(#93) Expected indentation of 0 spaces (indentation)
(#95) Expected indentation of 0 spaces (indentation)
(#98) Expected indentation of 0 spaces (indentation)
(#100) Expected indentation of 0 spaces (indentation)
(#103) Expected indentation of 0 spaces (indentation)
(#105) Expected indentation of 0 spaces (indentation)
(#108) Expected indentation of 0 spaces (indentation)
(#110) Expected indentation of 0 spaces (indentation)
(#113) Expected indentation of 0 spaces (indentation)
(#115) Expected indentation of 0 spaces (indentation)
(#118) Expected indentation of 0 spaces (indentation)
(#120) Expected indentation of 0 spaces (indentation)
(#204) Expected indentation of 4 spaces (indentation)
(#220) Expected indentation of 0 spaces (indentation)
(#224) Expected indentation of 0 spaces (indentation)
(#277) Expected indentation of 4 spaces (indentation)
(#278) Expected indentation of 4 spaces (indentation)
(#279) Expected indentation of 4 spaces (indentation)
(#280) Expected indentation of 4 spaces (indentation)
(#282) Expected indentation of 4 spaces (indentation)
(#284) Expected indentation of 4 spaces (indentation)
(#283) Expected indentation of 8 spaces (indentation)
(#288) Expected indentation of 4 spaces (indentation)
(#289) Expected indentation of 4 spaces (indentation)
(#290) Expected indentation of 4 spaces (indentation)
(#292) Expected indentation of 4 spaces (indentation)
(#294) Expected indentation of 4 spaces (indentation)
(#293) Expected indentation of 8 spaces (indentation)
(#298) Expected indentation of 4 spaces (indentation)
(#299) Expected indentation of 4 spaces (indentation)
(#300) Expected indentation of 4 spaces (indentation)
(#301) Expected indentation of 4 spaces (indentation)
(#302) Expected indentation of 4 spaces (indentation)
(#306) Expected indentation of 4 spaces (indentation)
(#307) Expected indentation of 4 spaces (indentation)
(#308) Expected indentation of 4 spaces (indentation)
(#309) Expected indentation of 4 spaces (indentation)
(#310) Expected indentation of 4 spaces (indentation)
(#311) Expected indentation of 4 spaces (indentation)
(#312) Expected indentation of 4 spaces (indentation)
(#316) Expected indentation of 4 spaces (indentation)
(#320) Expected indentation of 4 spaces (indentation)
(#324) Expected indentation of 4 spaces (indentation)
(#328) Expected indentation of 4 spaces (indentation)
(#329) Expected indentation of 4 spaces (indentation)
(#333) Expected indentation of 4 spaces (indentation)
(#337) Expected indentation of 4 spaces (indentation)
(#338) Expected indentation of 4 spaces (indentation)
(#346) Expected indentation of 4 spaces (indentation)
(#347) Expected indentation of 4 spaces (indentation)
(#348) Expected indentation of 4 spaces (indentation)
(#349) Expected indentation of 4 spaces (indentation)
(#353) Expected indentation of 4 spaces (indentation)
(#354) Expected indentation of 4 spaces (indentation)
(#355) Expected indentation of 4 spaces (indentation)
(#356) Expected indentation of 4 spaces (indentation)
(#357) Expected indentation of 4 spaces (indentation)
(#358) Expected indentation of 4 spaces (indentation)
(#359) Expected indentation of 4 spaces (indentation)
(#360) Expected indentation of 4 spaces (indentation)
(#361) Expected indentation of 4 spaces (indentation)
(#370) Expected indentation of 4 spaces (indentation)
(#371) Expected indentation of 4 spaces (indentation)
(#378) Expected indentation of 4 spaces (indentation)
(#379) Expected indentation of 4 spaces (indentation)
(#380) Expected indentation of 4 spaces (indentation)
(#385) Expected indentation of 4 spaces (indentation)
(#424) Expected indentation of 4 spaces (indentation)
(#425) Expected indentation of 4 spaces (indentation)
(#426) Expected indentation of 4 spaces (indentation)
(#435) Expected indentation of 4 spaces (indentation)
(#439) Expected indentation of 4 spaces (indentation)
(#436) Expected indentation of 8 spaces (indentation)
(#437) Expected indentation of 8 spaces (indentation)
(#438) Expected indentation of 8 spaces (indentation)
(#444) Expected indentation of 4 spaces (indentation)
(#445) Expected indentation of 4 spaces (indentation)
(#446) Expected indentation of 4 spaces (indentation)
(#447) Expected indentation of 4 spaces (indentation)
(#553) Expected indentation of 0 spaces (indentation)
(#555) Expected indentation of 0 spaces (indentation)
(#557) Expected indentation of 0 spaces (indentation)

PHPDocs style problems

(1 errors, 0 warnings)

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

mod/pokcertificate/classes/helper.php
(#438) Phpdocs for function helper::pokcertificate_awardgeneralcertificatelist has incomplete parameters list

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, 86 warnings)

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

mod/pokcertificate/templates/awardgeneralcertificates.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 5: Stray end tag “div”. ( </div></div><scri)
mod/pokcertificate/templates/certificatetemplates.mustache
(#1) HTML Validation error, line 9: Duplicate attribute “checked”. ( <input type="radio" id="type1" class="optradio" name="type" value = "0" checked="checked" data-action = "templatetype" checked="check)
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( function disableButton() {
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( function disableButton() {
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( var templates = document.getElementsByClassName("certradio");
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( var certbutton = document.getElementById("certbutton");
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( var atLeastOneSelected = false;
(#1) ESLint warning [keyword-spacing]: Expected space(s) after "if". ( if($('.certificates_container .selection_btn').hasClass('btn-success')){
(#1) ESLint error [no-undef]: '$' is not defined. ( if($('.certificates_container .selection_btn').hasClass('btn-success')){
(#1) ESLint warning [space-before-blocks]: Missing space before opening brace. ( if($('.certificates_container .selection_btn').hasClass('btn-success')){
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( if($('.certificates_container .selection_btn').hasClass('btn-success')){
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( certbutton.disabled = atLeastOneSelected;
(#1) ESLint warning [keyword-spacing]: Expected space(s) before "else". ( }else{
(#1) ESLint warning [keyword-spacing]: Expected space(s) after "else". ( }else{
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( }else{
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( for (var i = 0; i < templates.length; i++) {
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( if (templates[i].checked) {
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( atLeastOneSelected = true;
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( break;
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( }
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( }
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( certbutton.disabled = !atLeastOneSelected;
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( }
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( }
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( // Call the disableButton function when the page loads.
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( // Call the disableButton function when the page loads.
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( window.addEventListener("load", disableButton);
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( $(document).ready(function(){
(#1) ESLint error [no-undef]: '$' is not defined. ( $(document).ready(function(){
(#1) ESLint warning [space-before-blocks]: Missing space before opening brace. ( $(document).ready(function(){
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( $(document).ready(function(){
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( $('.certificates_container .selection_btn').click(function(e){
(#1) ESLint error [no-undef]: '$' is not defined. ( $('.certificates_container .selection_btn').click(function(e){
(#1) ESLint warning [space-before-blocks]: Missing space before opening brace. ( $('.certificates_container .selection_btn').click(function(e){
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( $('.certificates_container .selection_btn').click(function(e){
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( e.preventDefault();
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( var certbutton = document.getElementById("certbutton");
(#1) ESLint warning [camelcase]: Identifier 'card_element' is not in camel case. ( var card_element = $(this).parent().parent().parent();
(#1) ESLint error [no-undef]: '$' is not defined. ( var card_element = $(this).parent().parent().parent();
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( var card_element = $(this).parent().parent().parent();
(#1) ESLint warning [camelcase]: Identifier 'card_element' is not in camel case. ( card_element.find('.certradio').prop('checked',true);
(#1) ESLint warning [comma-spacing]: A space is required after ','. ( card_element.find('.certradio').prop('checked',true);
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( card_element.find('.certradio').prop('checked',true);
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( certbutton.disabled = false;
(#1) ESLint error [no-undef]: '$' is not defined. ( $('.certificates_container .selection_btn').removeClass('btn-success').addClass('btn-light');
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( $('.certificates_container .selection_btn').removeClass('btn-success').addClass('btn-light');
(#1) ESLint error [no-undef]: '$' is not defined. ( $(this).removeClass('btn-light').addClass('btn-success');
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( $(this).removeClass('btn-light').addClass('btn-success');
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( });
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( }); ), Line: 33 Column: 8
mod/pokcertificate/templates/certificatetypes.mustache
(#1) HTML Validation error, line 4: Saw “=” when expecting an attribute name. Probable cause: Attribute name missing. (> <input type="radio" name="optradio" data-value = "free" data-cmid = data-action = "temp)
(#1) HTML Validation error, line 4: Quote “"” in attribute name. Probable cause: Matching quote missing somewhere earlier. (a-action = "templa)
(#1) HTML Validation error, line 4: Quote “"” in attribute name. Probable cause: Matching quote missing somewhere earlier. (action = "templatetype" check)
(#1) HTML Validation info, line 4: Attribute “=” is not serializable as XML 1.0. (platetype" checked="checked">((free)
(#1) HTML Validation info, line 4: Attribute “"templatetype"” is not serializable as XML 1.0. (platetype" checked="checked">((free)
(#1) HTML Validation error, line 4: Attribute “=” not allowed on element “input” at this point. (platetype" checked="checked">((free)
(#1) HTML Validation error, line 4: Attribute “"templatetype"” not allowed on element “input” at this point. (platetype" checked="checked">((free)
(#1) HTML Validation error, line 7: Saw “=” when expecting an attribute name. Probable cause: Attribute name missing. (> <input type="radio" name="optradio" data-value = "paid" data-cmid = data-action = "temp)
(#1) HTML Validation error, line 7: Quote “"” in attribute name. Probable cause: Matching quote missing somewhere earlier. (a-action = "templa)
(#1) HTML Validation error, line 7: Quote “"” in attribute name. Probable cause: Matching quote missing somewhere earlier. (action = "templatetype">((pai)
(#1) HTML Validation info, line 7: Attribute “=” is not serializable as XML 1.0. (platetype">((paid)
(#1) HTML Validation info, line 7: Attribute “"templatetype"” is not serializable as XML 1.0. (platetype">((paid)
(#1) HTML Validation error, line 7: Attribute “=” not allowed on element “input” at this point. (platetype">((paid)
(#1) HTML Validation error, line 7: Attribute “"templatetype"” not allowed on element “input” at this point. (platetype">((paid)
mod/pokcertificate/templates/coursecertificatestatus.mustache
(#1) Example context missing (@template section not found.)
mod/pokcertificate/templates/incompletestudentprofileview.mustache
(#1) Example context missing (@template section not found.)
mod/pokcertificate/templates/loader.mustache
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( $(document).ready(function(){
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( $(document).ready(function(){
(#1) ESLint error [no-undef]: '$' is not defined. ( $(document).ready(function(){
(#1) ESLint warning [space-before-blocks]: Missing space before opening brace. ( $(document).ready(function(){
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( $(document).ready(function(){
(#1) ESLint error [no-undef]: '$' is not defined. ( var pokcertificateloader = $('.pokcertificateloader');
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( var pokcertificateloader = $('.pokcertificateloader');
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( pokcertificateloader.hide();
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( });
(#1) ESLint error [no-undef]: '$' is not defined. ( $(window).on("beforeunload", function(){
(#1) ESLint warning [space-before-blocks]: Missing space before opening brace. ( $(window).on("beforeunload", function(){
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( $(window).on("beforeunload", function(){
(#1) ESLint error [no-undef]: '$' is not defined. ( var pokcertificateloader = $('.pokcertificateloader');
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( var pokcertificateloader = $('.pokcertificateloader');
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( pokcertificateloader.show();
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( }); ), Line: 10 Column: 9
mod/pokcertificate/templates/setting_view.mustache
(#1) HTML Validation error, line 6: Bad value “50px” for attribute “width” on element “img”: Expected a digit but saw “p” instead. ( <img src="/mod/pokcertificate/pix/settingview/lock.png" alt="Lock" width="50px" class="img-fluid"> )
(#1) HTML Validation error, line 18: Bad value “140px” for attribute “width” on element “img”: Expected a digit but saw “p” instead. ( <img src="/mod/pokcertificate/pix/settingview/pok.png" alt="POK_logo" width="140px" class="img-fluid"> )
mod/pokcertificate/templates/userbulkuploadbutton.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 4: The element “button” must not appear as a descendant of the “a” element. (php'> <button type='button' class='btn btn-primary float-right'>((bulk)
mod/pokcertificate/templates/verificationstats.mustache
(#1) HTML Validation error, line 6: The “big” element is obsolete. Use CSS instead. (-primary"><big></big>)
(#1) HTML Validation error, line 10: The “big” element is obsolete. Use CSS instead. (primary "><big>((unli)
(#1) HTML Validation error, line 14: The “big” element is obsolete. Use CSS instead. (primary "><big></big>)

Gherkin .feature problems

(0 errors, 0 warnings)

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