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

(5 errors, 8 warnings)

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

blocks/quickscan/block_quickscan.php
(#30) Inline comments must end in full-stops, exclamation marks, or question marks
(#35) Inline comments must end in full-stops, exclamation marks, or question marks
(#51) Inline comments must end in full-stops, exclamation marks, or question marks
(#52) Visibility must be declared on method "has_config"
blocks/quickscan/db/access.php
(#2) The opening <?php tag must be followed by exactly one newline.
blocks/quickscan/launchtest.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#29) Inline comments must start with a capital letter, digit or 3-dots sequence
(#29) Inline comments must end in full-stops, exclamation marks, or question marks
(#29) No space found before comment text; expected "// if no courseid is given" but found "//if no courseid is given"
(#42) Inline comments must end in full-stops, exclamation marks, or question marks
blocks/quickscan/renderer.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion
blocks/quickscan/settings.php
(#2) The opening <?php tag must be followed by exactly one newline.
blocks/quickscan/version.php
(#30) Inline comments must end in full-stops, exclamation marks, or question marks

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

(15 errors, 0 warnings)

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

blocks/quickscan/styles.css
(#3) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#4) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#5) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#7) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#3) Unexpected single-line block (block-no-single-line)
(#4) Unexpected single-line block (block-no-single-line)
(#5) Unexpected single-line block (block-no-single-line)
(#7) Unexpected single-line block (block-no-single-line)
(#3) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#4) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#5) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#7) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#7) Expected no more than 1 declaration(s) (declaration-block-single-line-max-declarations)
(#7) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#7) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)

PHPDocs style problems

(13 errors, 3 warnings)

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

blocks/quickscan/block_quickscan.php
(#28) Class block_quickscan is not documented
(#31) Function block_quickscan::init is not documented
(#36) Function block_quickscan::get_content is not documented
(#52) Function block_quickscan::has_config is not documented
(#20) Package block is not valid
blocks/quickscan/db/access.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
blocks/quickscan/lang/en/block_quickscan.php
(#20) Package block is not valid
blocks/quickscan/launchtest.php
(#2) Empty line found after PHP open tag
(#21) Package block is not valid
blocks/quickscan/renderer.php
(#26) Class block_quickscan_renderer is not documented
(#30) Phpdocs for function block_quickscan_renderer::get_block_content has incomplete parameters list
(#20) Package block is not valid
blocks/quickscan/settings.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
blocks/quickscan/version.php
(#20) Package block is not valid

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]