Prechecker results: error


PHP lint problems

(0 errors, 0 warnings)

This section shows php lint problems in the code detected by php -l [More info]


PHP coding style problems

(40 errors, 14 warnings)

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

blocks/quickfindlist/block_quickfindlist.php
(#30) Expected MOODLE_INTERNAL check or config.php inclusion
(#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
(#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"
(#102) Variable "context_system" must not contain underscores.
(#104) Variable "context_system" must not contain underscores.
(#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
(#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"
blocks/quickfindlist/edit_form.php
(#30) Expected MOODLE_INTERNAL check or config.php inclusion
(#51) Whitespace found at end of line
(#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
(#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
(#30) Expected 1 space after "="; 2 found
(#34) Expected 1 space after "="; 2 found
blocks/quickfindlist/lang/ru/block_quickfindlist.php
(#30) Expected 1 space after "="; 2 found
(#30) This comment is 50% valid code; is this commented out code?
(#32) Inline comments must end in full-stops, exclamation marks, or question marks
(#36) Expected 1 space after "="; 2 found
(#39) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) Inline comments must end in full-stops, exclamation marks, or question marks
(#43) Inline comments must end in full-stops, exclamation marks, or question marks
blocks/quickfindlist/quickfind.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#30) Expected login check (require_login, require_course_login, 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
(#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
(#65) Variable "whereArr" must be all lower-case
(#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
(#85) The use of the AS keyword to alias tables is bad for cross-db
(#86) 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) Infix operators must be spaced. (space-infix-ops)
(#20) Infix operators must be spaced. (space-infix-ops)
(#24) Infix operators must be spaced. (space-infix-ops)
(#25) Infix operators 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) Infix operators must be spaced. (space-infix-ops)
(#50) Infix operators must be spaced. (space-infix-ops)
(#70) Infix operators must be spaced. (space-infix-ops)
(#70) Infix operators must be spaced. (space-infix-ops)
(#70) Infix operators must be spaced. (space-infix-ops)
(#70) Infix operators must be spaced. (space-infix-ops)
(#70) Infix operators must be spaced. (space-infix-ops)
(#70) Infix operators must be spaced. (space-infix-ops)
(#73) Infix operators must be spaced. (space-infix-ops)
(#74) Infix operators 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

(7 errors, 2 warnings)

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

blocks/quickfindlist/block_quickfindlist.php
(#32) Function block_quickfindlist::init is not documented
(#38) Function block_quickfindlist::instance_allow_multiple is not documented
(#42) Function block_quickfindlist::preferred_width is not documented
(#27) Class block_quickfindlist does not have @copyright tag
(#27) Class block_quickfindlist does not have @license tag
blocks/quickfindlist/edit_form.php
(#27) Class block_quickfindlist_edit_form does not have @copyright tag
(#27) Class block_quickfindlist_edit_form does not have @license tag
(#38) Not recommended phpdocs tag @access used
blocks/quickfindlist/quickfind.php
(#2) Empty line found after PHP open tag

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]

Task "gherkinlint" failed. Use --force to continue.
Problems running grunt

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]