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

(1 errors, 4 warnings)

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

report/overviewstats/classes/chart.php
(#437) Commas (,) must be followed by white space.
report/overviewstats/lang/en/report_overviewstats.php
(#31) The string key "chart-countries" is not in the correct order, it should be before "pluginname"
(#37) The string key "chart-courses-percategory-coursesown" is not in the correct order, it should be before "chart-courses-percategory-coursesrecursive"
(#50) The string key "course-numbers" is not in the correct order, it should be before "user-numbers"
report/overviewstats/lib.php
(#35) 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

(5 errors, 0 warnings)

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

report/overviewstats/styles.css
(#2) Expected single space before "{" (block-opening-brace-space-before)
(#19) Expected single space before "{" (block-opening-brace-space-before)
(#27) Expected single space before "{" (block-opening-brace-space-before)
(#4) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#9) Unexpected !important (declaration-no-important)

PHPDocs style problems

(4 errors, 0 warnings)

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

report/overviewstats/classes/chart.php
(#365) Phpdocs for function report_overviewstats_chart::report_overviewstats_chart_enrolments has incomplete parameters list
(#411) Phpdocs for function report_overviewstats_chart::prepare_data_chart_enrollments has incomplete parameters list
report/overviewstats/renderer.php
(#42) Phpdocs for function report_overviewstats_renderer::charts has incomplete parameters list
(#42) Inline phpdocs tag {@link report_overviewstats_chart} 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

(1 errors, 1 warnings)

This section shows files built by grunt and not commited [More info]

Problems running grunt
Task "stylelint:css" failed. Use --force to continue.

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]