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

(475 errors, 112 warnings)

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

public/question/type/regexmatch/backup/moodle2/backup_qtype_regexmatch_plugin.class.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) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
public/question/type/regexmatch/backup/moodle2/restore_qtype_regexmatch_plugin.class.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 "//".
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#30) Opening brace must not be followed by a blank line
public/question/type/regexmatch/classes/output/mobile.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 "//".
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#34) Opening brace must not be followed by a blank line
(#47) Expected at least 1 space after "."; 0 found
public/question/type/regexmatch/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 "//".
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#31) Opening brace must not be followed by a blank line
public/question/type/regexmatch/common/common.php
(#1) Missing docblock for file common.php
(#1) Moodle boilerplate not found
(#1) Opening PHP tag must be on a line by itself
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#5) Expected MOODLE_INTERNAL check or config.php inclusion. Multiple artifacts detected.
(#5) Missing docblock for constant QTYPE_REGEXMATCH_COMMON_SEPARATOR_KEY
(#6) Missing docblock for constant QTYPE_REGEXMATCH_COMMON_FEEDBACK_KEY
(#7) Missing docblock for constant QTYPE_REGEXMATCH_COMMON_SIZE_KEY
(#8) Missing docblock for constant QTYPE_REGEXMATCH_COMMON_POINTS_KEY
(#9) Missing docblock for constant QTYPE_REGEXMATCH_COMMON_COMMENT_KEY
(#18) DocBlock missing a @package tag for class qtype_regexmatch_common_regex. Expected @package qtype_regexmatch
(#32) Expected "bool" but found "boolean" for @var tag in member variable comment
(#45) Missing docblock for function __construct
(#52) Inline comments must end in full-stops, exclamation marks, or question marks
(#57) Inline comments must end in full-stops, exclamation marks, or question marks
(#60) Inline comments must end in full-stops, exclamation marks, or question marks
(#74) The CASE body must start on the line following the statement
(#74) Terminating statement must be on a line by itself
(#74) Closing brace must be on a line by itself
(#74) Each PHP statement must be on a line by itself
(#75) The CASE body must start on the line following the statement
(#75) Terminating statement must be on a line by itself
(#75) Closing brace must be on a line by itself
(#75) Each PHP statement must be on a line by itself
(#76) The CASE body must start on the line following the statement
(#76) Terminating statement must be on a line by itself
(#76) Closing brace must be on a line by itself
(#76) Each PHP statement must be on a line by itself
(#77) The CASE body must start on the line following the statement
(#77) Terminating statement must be on a line by itself
(#77) Closing brace must be on a line by itself
(#77) Each PHP statement must be on a line by itself
(#78) The CASE body must start on the line following the statement
(#78) Terminating statement must be on a line by itself
(#78) Closing brace must be on a line by itself
(#78) Each PHP statement must be on a line by itself
(#79) The CASE body must start on the line following the statement
(#79) Terminating statement must be on a line by itself
(#79) Closing brace must be on a line by itself
(#79) Each PHP statement must be on a line by itself
(#80) The CASE body must start on the line following the statement
(#80) Terminating statement must be on a line by itself
(#80) Closing brace must be on a line by itself
(#80) Each PHP statement must be on a line by itself
(#82) The CASE body must start on the line following the statement
(#82) Terminating statement must be on a line by itself
(#82) Closing brace must be on a line by itself
(#82) Each PHP statement must be on a line by itself
(#83) The CASE body must start on the line following the statement
(#83) Terminating statement must be on a line by itself
(#83) Closing brace must be on a line by itself
(#83) Each PHP statement must be on a line by itself
(#84) The CASE body must start on the line following the statement
(#84) Terminating statement must be on a line by itself
(#84) Closing brace must be on a line by itself
(#84) Each PHP statement must be on a line by itself
(#85) The CASE body must start on the line following the statement
(#85) Terminating statement must be on a line by itself
(#85) Closing brace must be on a line by itself
(#85) Each PHP statement must be on a line by itself
(#86) The CASE body must start on the line following the statement
(#86) Terminating statement must be on a line by itself
(#86) Closing brace must be on a line by itself
(#86) Each PHP statement must be on a line by itself
(#87) The CASE body must start on the line following the statement
(#87) Terminating statement must be on a line by itself
(#87) Closing brace must be on a line by itself
(#87) Each PHP statement must be on a line by itself
(#88) The CASE body must start on the line following the statement
(#88) Terminating statement must be on a line by itself
(#88) Closing brace must be on a line by itself
(#88) Each PHP statement must be on a line by itself
(#97) DocBlock missing a @package tag for class qtype_regexmatch_common_answer. Expected @package qtype_regexmatch
(#97) Each class must be in a file by itself
(#97) Opening brace must not be followed by a blank line
(#124) Missing docblock for function __construct
(#136) Inline comments must end in full-stops, exclamation marks, or question marks
(#139) Inline comments must end in full-stops, exclamation marks, or question marks
(#140) Expected "if (...) {\n"; found "if(...) {\n"
(#140) Expected 1 space after IF keyword; 0 found
(#142) Expected "do {\n...} while (...);\n"; found "do {\n...} while(...);\n"
(#143) Expected "if (...) {\n"; found "if(...) {\n"
(#143) Expected 1 space after IF keyword; 0 found
(#147) Blank line found at end of control structure
(#148) Blank line found at start of control structure
(#150) Expected "if (...) {\n"; found "if(...) {\n"
(#150) Expected 1 space after IF keyword; 0 found
(#151) No space found before comment text; expected "// Invalid syntax." but found "//Invalid syntax."
(#152) Short array syntax must be used to define arrays
(#156) Variable "percentMatch" must be all lower-case
(#157) Variable "percentMatch" must be all lower-case
(#158) Variable "percentMatch" must be all lower-case
(#163) Inline comments must end in full-stops, exclamation marks, or question marks
(#165) Inline comments must end in full-stops, exclamation marks, or question marks
(#166) Inline comments must start with a capital letter, digit or 3-dots sequence
(#166) Inline comments must end in full-stops, exclamation marks, or question marks
(#168) Inline comments must end in full-stops, exclamation marks, or question marks
(#169) Inline comments must start with a capital letter, digit or 3-dots sequence
(#169) Inline comments must end in full-stops, exclamation marks, or question marks
(#170) Inline comments must end in full-stops, exclamation marks, or question marks
(#171) Inline comments must start with a capital letter, digit or 3-dots sequence
(#171) Inline comments must end in full-stops, exclamation marks, or question marks
(#175) Inline comments must end in full-stops, exclamation marks, or question marks
(#178) Blank line found at end of control structure
(#179) Expected 1 space after WHILE keyword; 0 found
(#181) Inline comments must end in full-stops, exclamation marks, or question marks
(#183) Blank line found at end of control structure
(#185) Inline comments must end in full-stops, exclamation marks, or question marks
(#185) No space found before comment text; expected "// Invalid syntax. Maybe it is an old regex" but found "//Invalid syntax. Maybe it is an old regex"
(#186) Short array syntax must be used to define arrays
(#197) Inline comments must end in full-stops, exclamation marks, or question marks
(#199) Expected "if (...) {\n"; found "if(...) {\n"
(#199) Expected 1 space after IF keyword; 0 found
(#201) Inline comments must end in full-stops, exclamation marks, or question marks
(#201) No space found before comment text; expected "// This can safely be ignored" but found "//This can safely be ignored"
(#202) Blank line found at end of control structure
(#204) Inline comments must start with a capital letter, digit or 3-dots sequence
(#204) Inline comments must end in full-stops, exclamation marks, or question marks
(#206) Blank line found at end of control structure
(#210) Blank line found at end of control structure
(#212) Inline comments must start with a capital letter, digit or 3-dots sequence
(#212) Inline comments must end in full-stops, exclamation marks, or question marks
(#214) Blank line found at end of control structure
(#216) Inline comments must start with a capital letter, digit or 3-dots sequence
(#216) Inline comments must end in full-stops, exclamation marks, or question marks
(#218) Blank line found at end of control structure
(#220) Expected 1 space after IF keyword; 0 found
(#220) Inline control structures are not allowed
(#221) Expected 1 space after IF keyword; 0 found
(#221) Inline control structures are not allowed
(#233) DocBlock missing a @package tag for function qtype_regexmatch_common_str_starts_with. Expected @package qtype_regexmatch
(#243) DocBlock missing a @package tag for function qtype_regexmatch_common_construct_regex. Expected @package qtype_regexmatch
(#246) Expected 1 space after IF keyword; 0 found
(#246) Inline control structures are not allowed
(#249) Expected 1 space after IF keyword; 0 found
(#249) Inline control structures are not allowed
(#251) Short array syntax must be used to define arrays
(#252) Short array syntax must be used to define arrays
(#256) Expected 1 space after IF keyword; 0 found
(#256) Inline control structures are not allowed
(#258) Short array syntax must be used to define arrays
(#259) Short array syntax must be used to define arrays
(#263) Inline comments must start with a capital letter, digit or 3-dots sequence
(#266) Inline comments must end in full-stops, exclamation marks, or question marks
(#267) Short array syntax must be used to define arrays
(#268) Short array syntax must be used to define arrays
(#271) Inline comments must end in full-stops, exclamation marks, or question marks
(#272) Expected 1 space after IF keyword; 0 found
(#272) Inline control structures are not allowed
(#275) Expected 1 space after IF keyword; 0 found
(#275) Inline control structures are not allowed
(#288) DocBlock missing a @package tag for function qtype_regexmatch_common_try_regex. Expected @package qtype_regexmatch
(#288) Line exceeds 132 characters; contains 147 characters
(#292) Expected 1 space after IF keyword; 0 found
(#292) Inline control structures are not allowed
(#292) Expected 0 spaces after opening bracket; 1 found
(#295) Expected "if (...) {\n"; found "if(...) {\n"
(#295) Expected 1 space after IF keyword; 0 found
(#295) Expected 0 spaces after opening bracket; 1 found
(#300) Expected "if (...) {\n"; found "if(...) {\n"
(#300) Expected 1 space after IF keyword; 0 found
(#300) Expected 0 spaces after opening bracket; 1 found
(#307) Expected 1 space after comma in argument list; 2 found
(#307) Expected 1 space between the comma and "$regex". Found: 2 spaces
(#311) Expected 1 space after IF keyword; 0 found
(#311) Inline control structures are not allowed
(#313) Expected "if (...) {\n"; found "if(...) {\n"
(#313) Expected 1 space after IF keyword; 0 found
(#318) Expected "if (...) {\n"; found "if(...) {\n"
(#318) Expected 1 space after IF keyword; 0 found
(#325) Expected 1 space after IF keyword; 0 found
(#325) Inline control structures are not allowed
(#335) Inline comments must end in full-stops, exclamation marks, or question marks
(#336) Expected 1 space after comma in argument list; 2 found
(#336) Expected 1 space between the comma and "$regex". Found: 2 spaces
(#338) Expected "if (...) {\n"; found "if(...) {\n"
(#338) Expected 1 space after IF keyword; 0 found
(#343) Expected 1 newline at end of file; 0 found
public/question/type/regexmatch/db/mobile.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) Inline comments must start with a capital letter, digit or 3-dots sequence
(#39) Inline comments must end in full-stops, exclamation marks, or question marks
(#45) Inline comments must start with a capital letter, digit or 3-dots sequence
(#45) Inline comments must end in full-stops, exclamation marks, or question marks
public/question/type/regexmatch/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 "//".
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
public/question/type/regexmatch/edit_regexmatch_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 "//".
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#37) Opening brace must not be followed by a blank line
(#51) Inline comments must end in full-stops, exclamation marks, or question marks
(#78) Short array syntax must be used to define arrays
(#80) Inline comments must end in full-stops, exclamation marks, or question marks
(#81) Opening parenthesis of a multi-line function call must be the last content on the line
(#84) Short array syntax must be used to define arrays
(#90) Opening parenthesis of a multi-line function call must be the last content on the line
(#96) Opening parenthesis of a multi-line function call must be the last content on the line
(#99) Short array syntax must be used to define arrays
(#146) Inline comments must start with a capital letter, digit or 3-dots sequence
(#146) Inline comments must end in full-stops, exclamation marks, or question marks
(#151) Inline comments must start with a capital letter, digit or 3-dots sequence
(#151) Inline comments must end in full-stops, exclamation marks, or question marks
(#158) Inline comments must end in full-stops, exclamation marks, or question marks
(#159) Inline comments must start with a capital letter, digit or 3-dots sequence
(#159) Inline comments must end in full-stops, exclamation marks, or question marks
(#160) Inline comments must end in full-stops, exclamation marks, or question marks
(#161) Inline comments must start with a capital letter, digit or 3-dots sequence
(#161) Inline comments must end in full-stops, exclamation marks, or question marks
(#163) Expected "if (...) {\n"; found "if(...) {\n"
(#163) Expected 1 space after IF keyword; 0 found
(#178) Inline comments must end in full-stops, exclamation marks, or question marks
(#201) Line exceeds 132 characters; contains 171 characters
(#205) Blank line found at end of control structure
(#207) Blank line found at end of control structure
(#212) Blank line found at end of control structure
(#217) Blank line found at end of control structure
public/question/type/regexmatch/lang/de/qtype_regexmatch.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) Unexpected string end, it should be a line feed after a semicolon
(#27) Unexpected string end, it should be a line feed after a semicolon
(#28) Unexpected string end, it should be a line feed after a semicolon
(#28) Unexpected comment found. Auto-fixing will not work after this comment
(#29) Whitespace found at end of line within string
(#30) The use of backticks in strings is not recommended
(#30) Whitespace found at end of line within string
(#31) Whitespace found at end of line within string
(#32) Whitespace found at end of line within string
(#33) Whitespace found at end of line within string
(#34) The use of backticks in strings is not recommended
(#34) Whitespace found at end of line within string
(#35) The use of backticks in strings is not recommended
(#35) Whitespace found at end of line within string
(#36) The use of backticks in strings is not recommended
(#36) Whitespace found at end of line within string
(#37) Whitespace found at end of line within string
(#38) The use of backticks in strings is not recommended
(#38) Whitespace found at end of line within string
(#39) Whitespace found at end of line within string
(#40) Whitespace found at end of line within string
(#41) The use of backticks in strings is not recommended
(#41) Whitespace found at end of line within string
(#42) The use of backticks in strings is not recommended
(#42) Whitespace found at end of line within string
(#43) Whitespace found at end of line within string
(#44) The use of backticks in strings is not recommended
(#44) Whitespace found at end of line within string
(#45) The use of backticks in strings is not recommended
(#45) Whitespace found at end of line within string
(#46) Whitespace found at end of line within string
(#47) The use of backticks in strings is not recommended
(#47) Whitespace found at end of line within string
(#48) Whitespace found at end of line within string
(#49) Whitespace found at end of line within string
(#50) Whitespace found at end of line within string
(#51) Whitespace found at end of line within string
(#52) Whitespace found at end of line within string
(#53) Whitespace found at end of line within string
(#54) Whitespace found at end of line within string
(#55) Whitespace found at end of line within string
(#56) Whitespace found at end of line within string
(#57) Whitespace found at end of line within string
(#58) Whitespace found at end of line within string
(#59) Whitespace found at end of line within string
(#60) Whitespace found at end of line within string
(#61) Whitespace found at end of line within string
(#62) Whitespace found at end of line within string
(#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
(#67) 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
(#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
(#85) Unexpected string end, it should be a line feed after a semicolon
(#86) Unexpected string end, it should be a line feed after a semicolon
(#87) Unexpected string end, it should be a line feed after a semicolon
(#87) Unexpected comment found. Auto-fixing will not work after this comment
(#88) Whitespace found at end of line within string
(#89) The use of backticks in strings is not recommended
(#89) Whitespace found at end of line within string
(#90) 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
(#93) Whitespace found at end of line within string
(#94) Whitespace found at end of line within string
(#95) Whitespace found at end of line within string
(#96) The use of backticks in strings is not recommended
(#96) Whitespace found at end of line within string
(#97) Whitespace found at end of line within string
(#98) Whitespace found at end of line within string
(#99) The use of backticks in strings is not recommended
(#99) Whitespace found at end of line within string
(#100) The use of backticks in strings is not recommended
(#100) Whitespace found at end of line within string
(#101) Whitespace found at end of line within string
(#102) Whitespace found at end of line within string
(#103) Whitespace found at end of line within string
(#104) Whitespace found at end of line within string
(#105) Whitespace found at end of line within string
(#106) The use of backticks in strings is not recommended
(#106) Whitespace found at end of line within string
(#107) Whitespace found at end of line within string
(#108) The use of backticks in strings is not recommended
(#108) Whitespace found at end of line within string
(#109) Whitespace found at end of line within string
(#110) Whitespace found at end of line within string
(#111) Whitespace found at end of line within string
(#112) The use of backticks in strings is not recommended
(#112) Whitespace found at end of line within string
(#113) The use of backticks in strings is not recommended
(#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
(#117) Unexpected string end, it should be a line feed after a semicolon
(#117) Unexpected comment found. Auto-fixing will not work after this comment
(#118) Whitespace found at end of line within string
(#119) Whitespace found at end of line within string
(#120) Whitespace found at end of line within string
(#121) The use of backticks in strings is not recommended
(#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
(#125) Whitespace found at end of line within string
(#128) Unexpected string end, it should be a line feed after a semicolon
(#129) Unexpected string end, it should be a line feed after a semicolon
(#130) Unexpected string end, it should be a line feed after a semicolon
(#131) Unexpected string end, it should be a line feed after a semicolon
(#132) Unexpected string end, it should be a line feed after a semicolon
(#133) Unexpected string end, it should be a line feed after a semicolon
(#134) Unexpected string end, it should be a line feed after a semicolon
(#135) Unexpected string end, it should be a line feed after a semicolon
(#136) Unexpected string end, it should be a line feed after a semicolon
(#137) Unexpected string end, it should be a line feed after a semicolon
(#138) Unexpected string end, it should be a line feed after a semicolon
(#139) Unexpected string end, it should be a line feed after a semicolon
(#140) Unexpected string end, it should be a line feed after a semicolon
(#141) Unexpected string end, it should be a line feed after a semicolon
(#142) Unexpected string end, it should be a line feed after a semicolon
(#143) Unexpected string end, it should be a line feed after a semicolon
public/question/type/regexmatch/lang/en/qtype_regexmatch.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) Unexpected string end, it should be a line feed after a semicolon
(#27) Unexpected string end, it should be a line feed after a semicolon
(#28) Unexpected string end, it should be a line feed after a semicolon
(#28) Unexpected comment found. Auto-fixing will not work after this comment
(#29) Whitespace found at end of line within string
(#30) The use of backticks in strings is not recommended
(#30) Whitespace found at end of line within string
(#31) Whitespace found at end of line within string
(#32) Whitespace found at end of line within string
(#33) Whitespace found at end of line within string
(#34) The use of backticks in strings is not recommended
(#34) Whitespace found at end of line within string
(#35) The use of backticks in strings is not recommended
(#35) Whitespace found at end of line within string
(#36) The use of backticks in strings is not recommended
(#36) Whitespace found at end of line within string
(#37) Whitespace found at end of line within string
(#38) The use of backticks in strings is not recommended
(#38) Whitespace found at end of line within string
(#39) Whitespace found at end of line within string
(#40) Whitespace found at end of line within string
(#41) The use of backticks in strings is not recommended
(#41) Whitespace found at end of line within string
(#42) The use of backticks in strings is not recommended
(#42) Whitespace found at end of line within string
(#43) Whitespace found at end of line within string
(#44) The use of backticks in strings is not recommended
(#44) Whitespace found at end of line within string
(#45) Whitespace found at end of line within string
(#46) The use of backticks in strings is not recommended
(#46) Whitespace found at end of line within string
(#47) Whitespace found at end of line within string
(#48) Whitespace found at end of line within string
(#49) Whitespace found at end of line within string
(#50) Whitespace found at end of line within string
(#51) Whitespace found at end of line within string
(#52) Whitespace found at end of line within string
(#53) Whitespace found at end of line within string
(#54) Whitespace found at end of line within string
(#55) Whitespace found at end of line within string
(#56) Whitespace found at end of line within string
(#57) Whitespace found at end of line within string
(#58) Whitespace found at end of line within string
(#59) Whitespace found at end of line within string
(#60) Whitespace found at end of line within string
(#61) Whitespace found at end of line within string
(#62) Whitespace found at end of line within string
(#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
(#67) 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
(#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
(#82) Unexpected string end, it should be a line feed after a semicolon
(#83) Unexpected string end, it should be a line feed after a semicolon
(#84) Unexpected string end, it should be a line feed after a semicolon
(#84) Unexpected comment found. Auto-fixing will not work after this comment
(#85) Whitespace found at end of line within string
(#86) The use of backticks in strings is not recommended
(#86) Whitespace found at end of line within string
(#87) Whitespace found at end of line within string
(#88) Whitespace found at end of line within string
(#89) Whitespace found at end of line within string
(#90) Whitespace found at end of line within string
(#91) Whitespace found at end of line within string
(#92) The use of backticks in strings is not recommended
(#92) Whitespace found at end of line within string
(#93) Whitespace found at end of line within string
(#94) Whitespace found at end of line within string
(#95) The use of backticks in strings is not recommended
(#95) Whitespace found at end of line within string
(#96) The use of backticks in strings is not recommended
(#96) Whitespace found at end of line within string
(#97) Whitespace found at end of line within string
(#98) Whitespace found at end of line within string
(#99) Whitespace found at end of line within string
(#100) The use of backticks in strings is not recommended
(#100) Whitespace found at end of line within string
(#101) The use of backticks in strings is not recommended
(#101) Whitespace found at end of line within string
(#102) Whitespace found at end of line within string
(#103) Whitespace found at end of line within string
(#104) Whitespace found at end of line within string
(#105) The use of backticks in strings is not recommended
(#105) Whitespace found at end of line within string
(#106) The use of backticks in strings is not recommended
(#106) Whitespace found at end of line within string
(#107) Whitespace found at end of line within string
(#109) Unexpected string end, it should be a line feed after a semicolon
(#109) Unexpected comment found. Auto-fixing will not work after this comment
(#110) 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) The use of backticks in strings is not recommended
(#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
(#120) Unexpected string end, it should be a line feed after a semicolon
(#121) Unexpected string end, it should be a line feed after a semicolon
(#122) Unexpected string end, it should be a line feed after a semicolon
(#123) Unexpected string end, it should be a line feed after a semicolon
(#124) Unexpected string end, it should be a line feed after a semicolon
(#125) Unexpected string end, it should be a line feed after a semicolon
(#126) Unexpected string end, it should be a line feed after a semicolon
(#127) Unexpected string end, it should be a line feed after a semicolon
(#128) Unexpected string end, it should be a line feed after a semicolon
(#129) Unexpected string end, it should be a line feed after a semicolon
(#130) Unexpected string end, it should be a line feed after a semicolon
(#131) Unexpected string end, it should be a line feed after a semicolon
(#132) Unexpected string end, it should be a line feed after a semicolon
(#133) Unexpected string end, it should be a line feed after a semicolon
(#134) Unexpected string end, it should be a line feed after a semicolon
(#135) Unexpected string end, it should be a line feed after a semicolon
public/question/type/regexmatch/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 "//".
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#44) Incorrect spacing between argument "$options" and equals sign; expected 1 but found 0
(#44) Incorrect spacing between default value and equals sign for argument "$options"; expected 1 but found 0
(#44) Short array syntax must be used to define arrays
public/question/type/regexmatch/question.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) Short array syntax must be used to define arrays
(#41) Short array syntax must be used to define arrays
(#51) Opening brace must not be followed by a blank line
(#56) Short array syntax must be used to define arrays
(#60) Short array syntax must be used to define arrays
(#95) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#95) Only one argument is allowed per line in a multi-line function call
(#95) Only one argument is allowed per line in a multi-line function call
(#95) Closing parenthesis of a multi-line function call must be on a line by itself
(#103) Short array syntax must be used to define arrays
(#174) Short array syntax must be used to define arrays
(#191) Inline comments must end in full-stops, exclamation marks, or question marks
(#205) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#205) Multi-line function declarations must define one parameter per line
(#205) Multi-line function declarations must define one parameter per line
(#205) Multi-line function declarations must define one parameter per line
(#206) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#206) Multi-line function declarations must define one parameter per line
(#206) The closing parenthesis of a multi-line function declaration must be on a new line
(#210) Opening parenthesis of a multi-line function call must be the last content on the line
(#210) Only one argument is allowed per line in a multi-line function call
(#210) Only one argument is allowed per line in a multi-line function call
(#210) Only one argument is allowed per line in a multi-line function call
(#211) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#211) Only one argument is allowed per line in a multi-line function call
(#211) Closing parenthesis of a multi-line function call must be on a line by itself
(#214) Expected 1 blank line at end of file; 3 found
public/question/type/regexmatch/questiontype.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
(#148) Expected at least 1 space before "."; 0 found
(#148) Expected at least 1 space after "."; 0 found
public/question/type/regexmatch/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 "//".
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#36) Opening brace must not be followed by a blank line
(#50) Inline comments must start with a capital letter, digit or 3-dots sequence
(#50) Inline comments must end in full-stops, exclamation marks, or question marks
(#51) This comment is 50% valid code; is this commented out code?
(#54) Inline comments must end in full-stops, exclamation marks, or question marks
(#57) Inline comments must end in full-stops, exclamation marks, or question marks
(#73) Inline comments must end in full-stops, exclamation marks, or question marks
(#74) Short array syntax must be used to define arrays
(#76) Inline comments must end in full-stops, exclamation marks, or question marks
(#78) Short array syntax must be used to define arrays
(#102) This comment is 50% valid code; is this commented out code?
(#105) Inline comments must end in full-stops, exclamation marks, or question marks
(#117) Only one argument is allowed per line in a multi-line function call
public/question/type/regexmatch/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 "//".
(#38) Inline comments must end in full-stops, exclamation marks, or question marks

Javascript coding style problems

(160 errors, 5 warnings)

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

public/question/type/regexmatch/javascript/mobile.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) Trailing spaces not allowed. (no-trailing-spaces)
(#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) Unexpected console statement. (no-console)
(#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) 'questiontext' is assigned a value but never used. (no-unused-vars)
(#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) Trailing spaces not allowed. (no-trailing-spaces)
(#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) Trailing spaces not allowed. (no-trailing-spaces)
(#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) Unexpected empty arrow function. (no-empty-function)
(#62) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#63) Trailing spaces not allowed. (no-trailing-spaces)
(#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 an assignment or function call and instead saw an expression. (no-unused-expressions)
(#68) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
public/question/type/regexmatch/mobile/mobile.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) Trailing spaces not allowed. (no-trailing-spaces)
(#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) Unexpected console statement. (no-console)
(#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) 'questiontext' is assigned a value but never used. (no-unused-vars)
(#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) Trailing spaces not allowed. (no-trailing-spaces)
(#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) Trailing spaces not allowed. (no-trailing-spaces)
(#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) Trailing spaces not allowed. (no-trailing-spaces)
(#62) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#63) Trailing spaces not allowed. (no-trailing-spaces)
(#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) Comments should not begin with a lowercase character. (capitalized-comments)
(#66) Expected space or tab after '//' in comment. (spaced-comment)
(#66) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#67) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#67) Missing semicolon. (semi)
(#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) Comments should not begin with a lowercase character. (capitalized-comments)
(#71) Expected space or tab after '//' in comment. (spaced-comment)
(#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 an assignment or function call and instead saw an expression. (no-unused-expressions)
(#76) 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

(2 errors, 0 warnings)

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

public/question/type/regexmatch/common/common.php
(#131) Phpdocs for function qtype_regexmatch_common_answer::parse has incomplete parameters list
(#192) Phpdocs for function qtype_regexmatch_common_answer::read_key_value_pairs 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

(0 errors, 0 warnings)

This section shows files built by grunt and not commited [More info]


shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 0 warnings)

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


Gherkin .feature problems

(0 errors, 0 warnings)

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