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

(67 errors, 64 warnings)

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

blocks/quickfindlist/block_quickfindlist.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#32) Missing docblock for function init
(#38) Missing docblock for function instance_allow_multiple
(#42) Missing docblock for function preferred_width
(#43) Inline comments must end in full-stops, exclamation marks, or question marks
(#65) The use of the AS keyword to alias tables is bad for cross-db
(#66) The use of the AS keyword to alias tables is bad for cross-db
(#71) Short array syntax must be used to define arrays
(#74) There should be a comma after the last array item in a multi-line array.
(#78) Inline comments must start with a capital letter, digit or 3-dots sequence
(#78) Inline comments must end in full-stops, exclamation marks, or question marks
(#78) No space found before comment text; expected "// don't give a warning for blocks without a role configured" but found "//don't give a warning for blocks without a role configured"
(#92) Short array syntax must be used to define arrays
(#102) Variable "context_system" must not contain underscores.
(#104) Variable "context_system" must not contain underscores.
(#109) Short array syntax must be used to define arrays
(#115) Short array syntax must be used to define arrays
(#116) Short array syntax must be used to define arrays
(#120) There should be a comma after the last array item in a multi-line array.
(#123) Short array syntax must be used to define arrays
(#127) There should be a comma after the last array item in a multi-line array.
(#130) Short array syntax must be used to define arrays
(#134) There should be a comma after the last array item in a multi-line array.
(#137) Short array syntax must be used to define arrays
(#140) There should be a comma after the last array item in a multi-line array.
(#150) Short array syntax must be used to define arrays
(#152) The use of the AS keyword to alias tables is bad for cross-db
(#157) The use of the AS keyword to alias tables is bad for cross-db
(#158) The use of the AS keyword to alias tables is bad for cross-db
(#180) Short array syntax must be used to define arrays
(#181) Short array syntax must be used to define arrays
(#187) Short array syntax must be used to define arrays
(#189) Short array syntax must be used to define arrays
(#195) There should be a comma after the last array item in a multi-line array.
(#201) Expected 1 space before "="; 0 found
(#201) Expected 1 space after "="; 0 found
blocks/quickfindlist/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 "//".
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#29) Short array syntax must be used to define arrays
(#31) Short array syntax must be used to define arrays
(#36) Short array syntax must be used to define arrays
(#38) There should be a comma after the last array item in a multi-line array.
(#41) There should be a comma after the last array item in a multi-line array.
(#44) Short array syntax must be used to define arrays
(#48) Short array syntax must be used to define arrays
(#53) There should be a comma after the last array item in a multi-line array.
(#54) There should be a comma after the last array item in a multi-line array.
(#56) Duplicate array key found. The value will be overwritten. The string array key "block/quickfindlist:addinstance" was first seen on line 31
(#56) Short array syntax must be used to define arrays
(#61) Short array syntax must be used to define arrays
(#63) There should be a comma after the last array item in a multi-line array.
(#65) There should be a comma after the last array item in a multi-line array.
(#67) Short array syntax must be used to define arrays
(#70) Short array syntax must be used to define arrays
(#71) There should be a comma after the last array item in a multi-line array.
(#74) There should be a comma after the last array item in a multi-line array.
(#75) There should be a comma after the last array item in a multi-line array.
blocks/quickfindlist/edit_form.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#38) Docblock tag "@access" is not recommended.
(#51) Short array syntax must be used to define arrays
(#54) Short array syntax must be used to define arrays
(#57) The use of the AS keyword to alias tables is bad for cross-db
(#58) The use of the AS keyword to alias tables is bad for cross-db
(#63) Short array syntax must be used to define arrays
(#67) There should be a comma after the last array item in a multi-line array.
(#81) Short array syntax must be used to define arrays
(#90) Short array syntax must be used to define arrays
(#92) The use of the AS keyword to alias tables is bad for cross-db
(#93) The use of the AS keyword to alias tables is bad for cross-db
blocks/quickfindlist/lang/en/block_quickfindlist.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#29) The string key "blockname" is not in the correct order, it should be before "pluginname"
(#30) Expected 1 space after "="; 2 found
(#34) Expected 1 space after "="; 2 found
blocks/quickfindlist/lang/ru/block_quickfindlist.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#27) Unexpected comment found. Auto-fixing will not work after this comment
(#27) Inline comments must end in full-stops, exclamation marks, or question marks
(#28) Unexpected comment found. Auto-fixing will not work after this comment
(#28) Inline comments must end in full-stops, exclamation marks, or question marks
(#29) The string key "blockname" is not in the correct order, it should be before "pluginname"
(#29) Unexpected comment found. Auto-fixing will not work after this comment
(#29) Inline comments must end in full-stops, exclamation marks, or question marks
(#30) Expected 1 space after "="; 2 found
(#30) Unexpected comment found. Auto-fixing will not work after this comment
(#30) Inline comments must end in full-stops, exclamation marks, or question marks
(#31) Unexpected comment found. Auto-fixing will not work after this comment
(#32) Unexpected comment found. Auto-fixing will not work after this comment
(#32) Inline comments must end in full-stops, exclamation marks, or question marks
(#34) Unexpected comment found. Auto-fixing will not work after this comment
(#36) Expected 1 space after "="; 2 found
(#36) Unexpected comment found. Auto-fixing will not work after this comment
(#36) Inline comments must end in full-stops, exclamation marks, or question marks
(#37) Unexpected comment found. Auto-fixing will not work after this comment
(#37) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Unexpected comment found. Auto-fixing will not work after this comment
(#38) Inline comments must end in full-stops, exclamation marks, or question marks
(#39) Unexpected comment found. Auto-fixing will not work after this comment
(#39) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) Unexpected comment found. Auto-fixing will not work after this comment
(#41) Inline comments must end in full-stops, exclamation marks, or question marks
(#43) Unexpected comment found. Auto-fixing will not work after this comment
(#43) Inline comments must end in full-stops, exclamation marks, or question marks
blocks/quickfindlist/quickfind.php
(#2) Moodle boilerplate not found at first line
(#30) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
(#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
(#46) Variable "sStrings" must be all lower-case
(#48) Variable "sStrings" must be all lower-case
(#48) Variable "sStrings" must be all lower-case
(#53) Short array syntax must be used to define arrays
(#56) The use of the AS keyword to alias tables is bad for cross-db
(#59) Variable "sStrings" must be all lower-case
(#60) Variable "sStrings" must be all lower-case
(#61) Variable "sStrings" must be all lower-case
(#64) Short array syntax must be used to define arrays
(#65) Variable "whereArr" must be all lower-case
(#65) Short array syntax must be used to define arrays
(#68) Variable "whereArr" must be all lower-case
(#69) Variable "sStrings" must be all lower-case
(#72) Variable "whereArr" must be all lower-case
(#75) Variable "sStrings" must be all lower-case
(#76) Variable "sStrings" must be all lower-case
(#77) Variable "sStrings" must be all lower-case
(#78) Variable "sStrings" must be all lower-case
(#79) Line exceeds maximum limit of 180 characters; contains 253 characters
(#86) The use of the AS keyword to alias tables is bad for cross-db
(#87) The use of the AS keyword to alias tables is bad for cross-db
blocks/quickfindlist/version.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#27) Inline comments must end in full-stops, exclamation marks, or question marks

Javascript coding style problems

(0 errors, 18 warnings)

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

blocks/quickfindlist/amd/src/quickfindlist.js
(#19) Operator '+' must be spaced. (space-infix-ops)
(#20) Operator '+' must be spaced. (space-infix-ops)
(#24) Operator '+' must be spaced. (space-infix-ops)
(#25) Operator '+' must be spaced. (space-infix-ops)
(#28) Identifier 'search_on_type' is not in camel case. (camelcase)
(#31) Unnecessary escape character: \-. (no-useless-escape)
(#36) Identifier 'search_on_submit' is not in camel case. (camelcase)
(#39) Unnecessary escape character: \-. (no-useless-escape)
(#40) Operator '+' must be spaced. (space-infix-ops)
(#50) Operator '+' must be spaced. (space-infix-ops)
(#71) Operator '+' must be spaced. (space-infix-ops)
(#71) Operator '+' must be spaced. (space-infix-ops)
(#71) Operator '+' must be spaced. (space-infix-ops)
(#71) Operator '+' must be spaced. (space-infix-ops)
(#71) Operator '+' must be spaced. (space-infix-ops)
(#71) Operator '+' must be spaced. (space-infix-ops)
(#74) Operator '+' must be spaced. (space-infix-ops)
(#75) Operator '+' must be spaced. (space-infix-ops)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(0 errors, 0 warnings)

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


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 "gherkinlint" 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, 0 warnings)

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


Gherkin .feature problems

(162 errors, 0 warnings)

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

blocks/quickfindlist/tests/behat/ajaxform.feature
(#7) Wrong indentation for "Background", expected indentation level of 2, but got 4
(#8) Wrong indentation for "given", expected indentation level of 4, but got 8
(#15) Wrong indentation for "and", expected indentation level of 4, but got 8
(#22) Wrong indentation for "Step", expected indentation level of 4, but got 8
(#23) Wrong indentation for "and", expected indentation level of 4, but got 8
(#24) Wrong indentation for "and", expected indentation level of 4, but got 8
(#25) Wrong indentation for "and", expected indentation level of 4, but got 8
(#27) Wrong indentation for "scenario tag", expected indentation level of 2, but got 4
(#28) Wrong indentation for "Scenario", expected indentation level of 2, but got 4
(#29) Wrong indentation for "given", expected indentation level of 4, but got 8
(#31) Wrong indentation for "Step", expected indentation level of 4, but got 8
(#32) Wrong indentation for "Step", expected indentation level of 4, but got 8
(#33) Wrong indentation for "and", expected indentation level of 4, but got 8
(#34) Wrong indentation for "and", expected indentation level of 4, but got 8
(#35) Wrong indentation for "and", expected indentation level of 4, but got 8
(#36) Wrong indentation for "and", expected indentation level of 4, but got 8
(#38) Wrong indentation for "Step", expected indentation level of 4, but got 8
(#39) Wrong indentation for "Step", expected indentation level of 4, but got 8
(#40) Wrong indentation for "and", expected indentation level of 4, but got 8
(#41) Wrong indentation for "and", expected indentation level of 4, but got 8
(#42) Wrong indentation for "and", expected indentation level of 4, but got 8
(#43) Wrong indentation for "and", expected indentation level of 4, but got 8
(#45) Wrong indentation for "Step", expected indentation level of 4, but got 8
(#46) Wrong indentation for "Step", expected indentation level of 4, but got 8
(#47) Wrong indentation for "and", expected indentation level of 4, but got 8
(#48) Wrong indentation for "and", expected indentation level of 4, but got 8
(#49) Wrong indentation for "and", expected indentation level of 4, but got 8
(#50) Wrong indentation for "and", expected indentation level of 4, but got 8
(#52) Wrong indentation for "Step", expected indentation level of 4, but got 8
(#53) Wrong indentation for "Step", expected indentation level of 4, but got 8
(#54) Wrong indentation for "and", expected indentation level of 4, but got 8
(#56) Wrong indentation for "scenario tag", expected indentation level of 2, but got 4
(#57) Wrong indentation for "Scenario", expected indentation level of 2, but got 4
(#58) Wrong indentation for "given", expected indentation level of 4, but got 8
(#59) Wrong indentation for "and", expected indentation level of 4, but got 8
(#60) Wrong indentation for "and", expected indentation level of 4, but got 8
(#61) Wrong indentation for "and", expected indentation level of 4, but got 8
(#62) Wrong indentation for "Step", expected indentation level of 4, but got 8
(#64) Wrong indentation for "Step", expected indentation level of 4, but got 8
(#65) Wrong indentation for "Step", expected indentation level of 4, but got 8
(#66) Wrong indentation for "and", expected indentation level of 4, but got 8
(#67) Wrong indentation for "and", expected indentation level of 4, but got 8
(#68) Wrong indentation for "and", expected indentation level of 4, but got 8
(#69) Wrong indentation for "and", expected indentation level of 4, but got 8
(#71) Wrong indentation for "Step", expected indentation level of 4, but got 8
(#72) Wrong indentation for "Step", expected indentation level of 4, but got 8
(#73) Wrong indentation for "and", expected indentation level of 4, but got 8
(#74) Wrong indentation for "and", expected indentation level of 4, but got 8
(#75) Wrong indentation for "and", expected indentation level of 4, but got 8
(#76) Wrong indentation for "and", expected indentation level of 4, but got 8
(#78) Wrong indentation for "Step", expected indentation level of 4, but got 8
(#79) Wrong indentation for "Step", expected indentation level of 4, but got 8
(#80) Wrong indentation for "and", expected indentation level of 4, but got 8
(#81) Wrong indentation for "and", expected indentation level of 4, but got 8
(#82) Wrong indentation for "and", expected indentation level of 4, but got 8
(#83) Wrong indentation for "and", expected indentation level of 4, but got 8
(#85) Wrong indentation for "scenario tag", expected indentation level of 2, but got 4
(#86) Wrong indentation for "Scenario", expected indentation level of 2, but got 4
(#87) Wrong indentation for "given", expected indentation level of 4, but got 8
(#88) Wrong indentation for "and", expected indentation level of 4, but got 8
(#89) Wrong indentation for "and", expected indentation level of 4, but got 8
(#90) Wrong indentation for "and", expected indentation level of 4, but got 8
(#92) Wrong indentation for "Step", expected indentation level of 4, but got 8
(#93) Wrong indentation for "Step", expected indentation level of 4, but got 8
(#94) Wrong indentation for "and", expected indentation level of 4, but got 8
(#96) Wrong indentation for "scenario tag", expected indentation level of 2, but got 4
(#97) Wrong indentation for "Scenario", expected indentation level of 2, but got 4
(#98) Wrong indentation for "given", expected indentation level of 4, but got 8
(#99) Wrong indentation for "and", expected indentation level of 4, but got 8
(#100) Wrong indentation for "and", expected indentation level of 4, but got 8
(#101) Wrong indentation for "and", expected indentation level of 4, but got 8
(#103) Wrong indentation for "Step", expected indentation level of 4, but got 8
(#104) Wrong indentation for "Step", expected indentation level of 4, but got 8
(#105) Wrong indentation for "Step", expected indentation level of 4, but got 8
(#106) Wrong indentation for "and", expected indentation level of 4, but got 8
(#107) Wrong indentation for "and", expected indentation level of 4, but got 8
(#107) New line at EOF(end of file) is required
blocks/quickfindlist/tests/behat/quickfindlist.feature
(#7) Wrong indentation for "Background", expected indentation level of 2, but got 4
(#8) Wrong indentation for "given", expected indentation level of 4, but got 8
(#15) Wrong indentation for "and", expected indentation level of 4, but got 8
(#22) Wrong indentation for "Step", expected indentation level of 4, but got 8
(#23) Wrong indentation for "and", expected indentation level of 4, but got 8
(#24) Wrong indentation for "and", expected indentation level of 4, but got 8
(#25) Wrong indentation for "and", expected indentation level of 4, but got 8
(#27) Wrong indentation for "scenario tag", expected indentation level of 2, but got 4
(#28) Wrong indentation for "Scenario", expected indentation level of 2, but got 4
(#29) Wrong indentation for "given", expected indentation level of 4, but got 8
(#31) Wrong indentation for "Step", expected indentation level of 4, but got 8
(#32) Wrong indentation for "and", expected indentation level of 4, but got 8
(#33) Wrong indentation for "Step", expected indentation level of 4, but got 8
(#34) Wrong indentation for "and", expected indentation level of 4, but got 8
(#35) Wrong indentation for "and", expected indentation level of 4, but got 8
(#36) Wrong indentation for "and", expected indentation level of 4, but got 8
(#37) Wrong indentation for "and", expected indentation level of 4, but got 8
(#39) Wrong indentation for "Step", expected indentation level of 4, but got 8
(#40) Wrong indentation for "and", expected indentation level of 4, but got 8
(#41) Wrong indentation for "Step", expected indentation level of 4, but got 8
(#42) Wrong indentation for "and", expected indentation level of 4, but got 8
(#43) Wrong indentation for "and", expected indentation level of 4, but got 8
(#44) Wrong indentation for "and", expected indentation level of 4, but got 8
(#45) Wrong indentation for "and", expected indentation level of 4, but got 8
(#47) Wrong indentation for "Step", expected indentation level of 4, but got 8
(#48) Wrong indentation for "and", expected indentation level of 4, but got 8
(#49) Wrong indentation for "Step", expected indentation level of 4, but got 8
(#50) Wrong indentation for "and", expected indentation level of 4, but got 8
(#51) Wrong indentation for "and", expected indentation level of 4, but got 8
(#52) Wrong indentation for "and", expected indentation level of 4, but got 8
(#53) Wrong indentation for "and", expected indentation level of 4, but got 8
(#55) Wrong indentation for "Step", expected indentation level of 4, but got 8
(#56) Wrong indentation for "Step", expected indentation level of 4, but got 8
(#57) Wrong indentation for "and", expected indentation level of 4, but got 8
(#59) Wrong indentation for "scenario tag", expected indentation level of 2, but got 4
(#60) Wrong indentation for "Scenario", expected indentation level of 2, but got 4
(#61) Wrong indentation for "given", expected indentation level of 4, but got 8
(#62) Wrong indentation for "and", expected indentation level of 4, but got 8
(#63) Wrong indentation for "and", expected indentation level of 4, but got 8
(#64) Wrong indentation for "and", expected indentation level of 4, but got 8
(#65) Wrong indentation for "Step", expected indentation level of 4, but got 8
(#67) Wrong indentation for "Step", expected indentation level of 4, but got 8
(#68) Wrong indentation for "and", expected indentation level of 4, but got 8
(#69) Wrong indentation for "Step", expected indentation level of 4, but got 8
(#70) Wrong indentation for "and", expected indentation level of 4, but got 8
(#71) Wrong indentation for "and", expected indentation level of 4, but got 8
(#72) Wrong indentation for "and", expected indentation level of 4, but got 8
(#73) Wrong indentation for "and", expected indentation level of 4, but got 8
(#75) Wrong indentation for "Step", expected indentation level of 4, but got 8
(#76) Wrong indentation for "and", expected indentation level of 4, but got 8
(#77) Wrong indentation for "Step", expected indentation level of 4, but got 8
(#78) Wrong indentation for "and", expected indentation level of 4, but got 8
(#79) Wrong indentation for "and", expected indentation level of 4, but got 8
(#80) Wrong indentation for "and", expected indentation level of 4, but got 8
(#81) Wrong indentation for "and", expected indentation level of 4, but got 8
(#83) Wrong indentation for "Step", expected indentation level of 4, but got 8
(#84) Wrong indentation for "and", expected indentation level of 4, but got 8
(#85) Wrong indentation for "Step", expected indentation level of 4, but got 8
(#86) Wrong indentation for "and", expected indentation level of 4, but got 8
(#87) Wrong indentation for "and", expected indentation level of 4, but got 8
(#88) Wrong indentation for "and", expected indentation level of 4, but got 8
(#89) Wrong indentation for "and", expected indentation level of 4, but got 8
(#91) Wrong indentation for "scenario tag", expected indentation level of 2, but got 4
(#92) Wrong indentation for "Scenario", expected indentation level of 2, but got 4
(#93) Wrong indentation for "given", expected indentation level of 4, but got 8
(#94) Wrong indentation for "and", expected indentation level of 4, but got 8
(#95) Wrong indentation for "and", expected indentation level of 4, but got 8
(#96) Wrong indentation for "and", expected indentation level of 4, but got 8
(#98) Wrong indentation for "Step", expected indentation level of 4, but got 8
(#99) Wrong indentation for "and", expected indentation level of 4, but got 8
(#100) Wrong indentation for "Step", expected indentation level of 4, but got 8
(#101) Wrong indentation for "and", expected indentation level of 4, but got 8
(#103) Wrong indentation for "scenario tag", expected indentation level of 2, but got 4
(#104) Wrong indentation for "Scenario", expected indentation level of 2, but got 4
(#105) Wrong indentation for "given", expected indentation level of 4, but got 8
(#106) Wrong indentation for "and", expected indentation level of 4, but got 8
(#107) Wrong indentation for "and", expected indentation level of 4, but got 8
(#108) Wrong indentation for "and", expected indentation level of 4, but got 8
(#110) Wrong indentation for "Step", expected indentation level of 4, but got 8
(#111) Wrong indentation for "and", expected indentation level of 4, but got 8
(#112) Wrong indentation for "Step", expected indentation level of 4, but got 8
(#113) Wrong indentation for "Step", expected indentation level of 4, but got 8
(#114) Wrong indentation for "and", expected indentation level of 4, but got 8
(#115) Wrong indentation for "and", expected indentation level of 4, but got 8
(#115) New line at EOF(end of file) is required