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

(26 errors, 11 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
(#190) Expected 1 space after "=>"; 2 found
(#191) Expected 1 space after "=>"; 2 found
(#192) Expected 1 space after "=>"; 2 found
(#209) Expected 1 space before "="; 0 found
(#209) 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
(#59) The use of the AS keyword to alias tables is bad for cross-db
(#60) The use of the AS keyword to alias tables is bad for cross-db
(#94) The use of the AS keyword to alias tables is bad for cross-db
(#95) 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
(#30) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.
(#47) The use of the AS keyword to alias tables is bad for cross-db
(#56) The use of the AS keyword to alias tables is bad for cross-db
(#57) 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.

Javascript coding style problems

(0 errors, 6 warnings)

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

blocks/quickfindlist/module.js
(#8) The array literal notation [] is preferable.
(#20) Missing semicolon.
(#45) Expected '!==' and instead saw '!='.
(#61) Creating global 'for' variable. Should be 'for (var p ...'.
(#73) Expected '!==' and instead saw '!='.
(#84) Missing semicolon.

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(7 errors, 1 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

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]


Mustache template problems

(0 errors, 0 warnings)

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