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

(21 errors, 6 warnings)

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

blocks/coursefiles/all.php
(#43) Expected 1 space before "=>"; 0 found
(#43) Expected 1 space after "=>"; 0 found
blocks/coursefiles/block_coursefiles.php
(#30) Visibility must be declared on method "init"
(#34) Visibility must be declared on method "applicable_formats"
(#38) Visibility must be declared on method "has_config"
(#42) Visibility must be declared on method "instance_allow_multiple"
(#46) Visibility must be declared on method "get_content"
(#81) Expected 1 space before "=>"; 0 found
(#81) Expected 1 space after "=>"; 0 found
(#83) Expected 1 space before "=>"; 0 found
(#83) Expected 1 space after "=>"; 0 found
(#84) Expected 1 space before "=>"; 0 found
(#84) Expected 1 space after "=>"; 0 found
(#85) Inline comments must end in full-stops, exclamation marks, or question marks
(#87) Inline comments must end in full-stops, exclamation marks, or question marks
(#88) Expected 1 space before "=>"; 0 found
(#88) Expected 1 space after "=>"; 0 found
(#88) Line exceeds 132 characters; contains 133 characters
(#89) Inline comments must end in full-stops, exclamation marks, or question marks
(#90) Expected 1 space before "=>"; 0 found
(#90) Expected 1 space after "=>"; 0 found
(#90) Line exceeds 132 characters; contains 158 characters
(#92) Expected 1 space before "=>"; 0 found
(#92) Expected 1 space after "=>"; 0 found
(#93) Inline comments must end in full-stops, exclamation marks, or question marks
(#94) Expected 1 space before "=>"; 0 found
(#94) Expected 1 space after "=>"; 0 found

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

(1 errors, 0 warnings)

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

blocks/coursefiles/styles.css
(#2) Expected indentation of 4 spaces (indentation)

PHPDocs style problems

(9 errors, 0 warnings)

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

blocks/coursefiles/block_coursefiles.php
(#29) Class block_coursefiles is not documented
(#30) Function block_coursefiles::init is not documented
(#34) Function block_coursefiles::applicable_formats is not documented
(#38) Function block_coursefiles::has_config is not documented
(#42) Function block_coursefiles::instance_allow_multiple is not documented
(#46) Function block_coursefiles::get_content is not documented
blocks/coursefiles/locallib.php
(#27) Function block_coursefiles_get_filelist is not documented
(#54) Function block_coursefiles_get_total_filesize is not documented
(#79) Function block_coursefiles_get_all_courses is not documented

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 "stylelint:css" 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]