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

(10 errors, 9 warnings)

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

blocks/files/block_files.php
(#37) Line exceeds maximum limit of 180 characters; contains 262 characters
(#42) Line exceeds maximum limit of 180 characters; contains 346 characters
(#101) Inline comments must start with a capital letter, digit or 3-dots sequence
(#101) Inline comments must end in full-stops, exclamation marks, or question marks
(#116) Inline comments must end in full-stops, exclamation marks, or question marks
(#151) Empty CATCH statement detected
(#220) Line exceeds 132 characters; contains 142 characters
(#292) Inline comments must start with a capital letter, digit or 3-dots sequence
(#292) Inline comments must end in full-stops, exclamation marks, or question marks
(#294) Inline comments must end in full-stops, exclamation marks, or question marks
(#300) Inline comments must start with a capital letter, digit or 3-dots sequence
(#424) Must use "self::" for local static member reference
(#424) Line exceeds 132 characters; contains 154 characters
(#425) Must use "self::" for local static member reference
(#425) Line exceeds maximum limit of 180 characters; contains 208 characters
blocks/files/db/access.php
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
blocks/files/lang/de/block_files.php
(#22) Whitespace found at end of line
blocks/files/lang/en/block_files.php
(#22) Whitespace found at end of line
blocks/files/settings.php
(#23) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.

Javascript coding style problems

(0 errors, 0 warnings)

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


CSS problems

(0 errors, 5 warnings)

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

blocks/files/styles.css
(#1) Rule is empty.
(#9) Rule is empty.
(#15) display:inline has no effect on floated elements (but may be used to fix the IE6 double-margin bug).
(#24) Use of !important
(#29) Use of !important

PHPDocs style problems

(30 errors, 0 warnings)

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

blocks/files/block_files.php
(#59) Function block_files::init is not documented
(#64) Function block_files::specialization is not documented
(#74) Function block_files::has_config is not documented
(#85) Function block_files::get_content is not documented
(#17) No one-line description found in phpdocs for file
(#25) No one-line description found in phpdocs for class block_files
(#413) There is no description in phpdocs for function create_more_less_button
(#137) Phpdocs for function block_files::pin_item has incomplete parameters list
(#161) Phpdocs for function block_files::unpin_item has incomplete parameters list
(#175) Phpdocs for function block_files::format_time has incomplete parameters list
(#185) Phpdocs for function block_files::is_current has incomplete parameters list
(#196) Phpdocs for function block_files::compare_time_modified has incomplete parameters list
(#248) Phpdocs for function block_files::get_pinned_file_items has incomplete parameters list
(#275) Phpdocs for function block_files::get_file_items has incomplete parameters list
(#333) Phpdocs for function block_files::create_file_item has incomplete parameters list
(#356) Phpdocs for function block_files::create_table has incomplete parameters list
(#390) Phpdocs for function block_files::create_content_recent has incomplete parameters list
(#414) Phpdocs for function block_files::create_more_less_button has incomplete parameters list
(#25) Class block_files does not have @copyright tag
(#25) Class block_files does not have @license tag
blocks/files/db/access.php
(#17) No one-line description found in phpdocs for file
blocks/files/edit_form.php
(#29) Function block_files_edit_form::specific_definition is not documented
(#17) No one-line description found in phpdocs for file
(#24) Class block_files_edit_form does not have @copyright tag
(#24) Class block_files_edit_form does not have @license tag
blocks/files/lang/de/block_files.php
(#17) No one-line description found in phpdocs for file
blocks/files/lang/en/block_files.php
(#17) No one-line description found in phpdocs for file
blocks/files/settings.php
(#17) No one-line description found in phpdocs for file
blocks/files/version.php
(#17) No one-line description found in phpdocs for file
blocks/files/viewall.php
(#17) No one-line description found in phpdocs for file

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]