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

(28 errors, 58 warnings)

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

blocks/selectrss/block_selectrss.php
(#1) DocBlock missing a @package tag for file block_selectrss.php. Expected @package block_selectrss
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#86) Short array syntax must be used to define arrays
(#89) There should be a comma after the last array item in a multi-line array.
(#117) Spaces must be used to indent lines; tabs are not allowed
(#117) Tab found within whitespace
(#117) Line indented incorrectly; expected at least 8 spaces, found 2
blocks/selectrss/classes/util.php
(#1) DocBlock missing a @package tag for file util.php. Expected @package block_selectrss
(#29) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#84) File must end with a newline character
blocks/selectrss/db/access.php
(#28) Short array syntax must be used to define arrays
(#29) Short array syntax must be used to define arrays
(#33) Short array syntax must be used to define arrays
(#35) There should be a comma after the last array item in a multi-line array.
(#37) There should be a comma after the last array item in a multi-line array.
(#39) Short array syntax must be used to define arrays
(#43) Short array syntax must be used to define arrays
(#44) There should be a comma after the last array item in a multi-line array.
(#45) There should be a comma after the last array item in a multi-line array.
(#46) There should be a comma after the last array item in a multi-line array.
(#47) File must end with a newline character
blocks/selectrss/db/tasks.php
(#1) DocBlock missing a @package tag for file tasks.php. Expected @package block_selectrss
(#28) Short array syntax must be used to define arrays
(#29) File must end with a newline character
blocks/selectrss/db/upgrade.php
(#30) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#45) Short array syntax must be used to define arrays
(#52) File must end with a newline character
blocks/selectrss/edit_form.php
(#1) DocBlock missing a @package tag for file edit_form.php. Expected @package block_selectrss
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#26) Import statements must not begin with a leading backslash
blocks/selectrss/lang/en/block_selectrss.php
(#34) The string key "selectrss:managefeeds" is not in the correct order, it should be before "selectrss:myaddinstance"
(#35) The string key "rss_items" is not in the correct order, it should be before "selectrss:managefeeds"
(#36) The string key "rss_item_title" is not in the correct order, it should be before "rss_items"
(#37) The string key "rss_item_intro" is not in the correct order, it should be before "rss_item_title"
(#38) The string key "rss_feeds" is not in the correct order, it should be before "rss_item_intro"
(#40) The string key "num_items" is not in the correct order, it should be before "rss_feeds_info"
(#42) The string key "get_num_items" is not in the correct order, it should be before "num_items_info"
(#46) The string key "autocleanafter" is not in the correct order, it should be before "max_keep_items_info"
(#49) The string key "date" is not in the correct order, it should be before "status"
(#51) The string key "source" is not in the correct order, it should be before "title"
(#53) The string key "itemsedit" is not in the correct order, it should be before "viewfeed"
(#54) The string key "feedurl" is not in the correct order, it should be before "itemsedit"
(#56) The string key "publish" is not in the correct order, it should be before "unpublish"
(#57) The string key "active" is not in the correct order, it should be before "publish"
(#59) The string key "get_items" is not in the correct order, it should be before "inactive"
(#61) The string key "blockid" is not in the correct order, it should be before "viewfeeds"
(#63) The string key "default_publish" is not in the correct order, it should be before "manageitems"
(#65) The string key "cleanfeeds" is not in the correct order, it should be before "default_publish"
(#67) The string key "custom_title" is not in the correct order, it should be before "synchronizefeeds"
(#71) The string key "months" is not in the correct order, it should be before "weeks"
(#76) The string key "messagesubject" is not in the correct order, it should be before "msg:unpublished"
(#77) The string key "messagehtml" is not in the correct order, it should be before "messagesubject"
(#82) Unexpected string end, it should be a line feed after a semicolon
(#82) File must end with a newline character
blocks/selectrss/lang/nl/block_selectrss.php
(#34) The string key "selectrss:managefeeds" is not in the correct order, it should be before "selectrss:myaddinstance"
(#35) The string key "rss_items" is not in the correct order, it should be before "selectrss:managefeeds"
(#36) The string key "rss_item_title" is not in the correct order, it should be before "rss_items"
(#37) The string key "rss_item_intro" is not in the correct order, it should be before "rss_item_title"
(#38) The string key "rss_feeds" is not in the correct order, it should be before "rss_item_intro"
(#40) The string key "num_items" is not in the correct order, it should be before "rss_feeds_info"
(#42) The string key "get_num_items" is not in the correct order, it should be before "num_items_info"
(#46) The string key "autocleanafter" is not in the correct order, it should be before "max_keep_items_info"
(#49) The string key "date" is not in the correct order, it should be before "status"
(#51) The string key "source" is not in the correct order, it should be before "title"
(#53) The string key "itemsedit" is not in the correct order, it should be before "viewfeed"
(#54) The string key "feedurl" is not in the correct order, it should be before "itemsedit"
(#56) The string key "publish" is not in the correct order, it should be before "unpublish"
(#57) The string key "active" is not in the correct order, it should be before "publish"
(#59) The string key "get_items" is not in the correct order, it should be before "inactive"
(#61) The string key "blockid" is not in the correct order, it should be before "viewfeeds"
(#63) The string key "default_publish" is not in the correct order, it should be before "manageitems"
(#65) The string key "cleanfeeds" is not in the correct order, it should be before "default_publish"
(#67) The string key "custom_title" is not in the correct order, it should be before "synchronizefeeds"
(#71) The string key "months" is not in the correct order, it should be before "weeks"
(#76) The string key "messagesubject" is not in the correct order, it should be before "msg:unpublished"
(#77) The string key "messagehtml" is not in the correct order, it should be before "messagesubject"
(#82) Unexpected string end, it should be a line feed after a semicolon
(#82) File must end with a newline character
blocks/selectrss/settings.php
(#30) Whitespace found at end of line
(#35) File must end with a newline character
blocks/selectrss/version.php
(#33) File must end with a newline character
blocks/selectrss/view/viewfeed.php
(#1) Missing @copyright tag
(#1) Missing @license tag
(#1) Missing docblock for file viewfeed.php
(#30) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#35) This comment is 50% valid code; is this commented out code?

Javascript coding style problems

(0 errors, 0 warnings)

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


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]

blocks/selectrss/block_selectrss.php
(#69) Inline phpdocs tag {@link instance_allow_multiple()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#69) Inline phpdocs tag {@link instance_allow_multiple()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}

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]