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

(15 errors, 10 warnings)

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

report/overviewstats/classes/chart.php
(#2) The opening <?php tag must be followed by exactly one newline.
report/overviewstats/classes/chart_countries.php
(#2) The opening <?php tag must be followed by exactly one newline.
report/overviewstats/classes/chart_courses.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#101) Inline comments must end in full-stops, exclamation marks, or question marks
(#124) Inline comments must end in full-stops, exclamation marks, or question marks
(#137) This comment is 49% valid code; is this commented out code?
report/overviewstats/classes/chart_enrolments.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#127) Inline comments must end in full-stops, exclamation marks, or question marks
(#138) Line exceeds 132 characters; contains 134 characters
report/overviewstats/classes/chart_langs.php
(#2) The opening <?php tag must be followed by exactly one newline.
report/overviewstats/classes/chart_logins.php
(#2) The opening <?php tag must be followed by exactly one newline.
report/overviewstats/classes/manager.php
(#2) The opening <?php tag must be followed by exactly one newline.
report/overviewstats/db/access.php
(#2) The opening <?php tag must be followed by exactly one newline.
report/overviewstats/index.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#33) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Inline comments must end in full-stops, exclamation marks, or question marks
report/overviewstats/lang/en/report_overviewstats.php
(#2) The opening <?php tag must be followed by exactly one newline.
report/overviewstats/lib.php
(#2) The opening <?php tag must be followed by exactly one newline.
report/overviewstats/locallib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#28) Inline comments must end in full-stops, exclamation marks, or question marks
(#32) Inline comments must end in full-stops, exclamation marks, or question marks
report/overviewstats/renderer.php
(#2) The opening <?php tag must be followed by exactly one newline.
report/overviewstats/settings.php
(#2) The opening <?php tag must be followed by exactly one newline.
report/overviewstats/version.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#29) Inline comments must end in full-stops, exclamation marks, or question marks

Javascript coding style problems

(0 errors, 10 warnings)

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

report/overviewstats/yui/src/charts/js/countries.js
(#1) Identifier 'report_overviewstats' is not in camel case. (camelcase)
(#5) Missing JSDoc parameter type for 'data'. (valid-jsdoc)
report/overviewstats/yui/src/charts/js/courses.js
(#1) Identifier 'report_overviewstats' is not in camel case. (camelcase)
(#5) Missing JSDoc parameter type for 'data'. (valid-jsdoc)
report/overviewstats/yui/src/charts/js/enrolments.js
(#1) Identifier 'report_overviewstats' is not in camel case. (camelcase)
(#5) Missing JSDoc parameter type for 'data'. (valid-jsdoc)
report/overviewstats/yui/src/charts/js/langs.js
(#1) Identifier 'report_overviewstats' is not in camel case. (camelcase)
(#5) Missing JSDoc parameter type for 'data'. (valid-jsdoc)
report/overviewstats/yui/src/charts/js/logins.js
(#1) Identifier 'report_overviewstats' is not in camel case. (camelcase)
(#5) Missing JSDoc parameter type for 'data'. (valid-jsdoc)

CSS problems

(24 errors, 1 warnings)

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

report/overviewstats/styles.css
(#1) Expected newline before "}" (block-closing-brace-newline-before)
(#2) Expected newline before "}" (block-closing-brace-newline-before)
(#1) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#2) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#1) Expected newline after "{" (block-opening-brace-newline-after)
(#2) Expected newline after "{" (block-opening-brace-newline-after)
(#1) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#2) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#1) Expected single space before "{" (block-opening-brace-space-before)
(#2) Expected single space before "{" (block-opening-brace-space-before)
(#2) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#2) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#2) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#2) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#1) Expected a trailing semicolon (declaration-block-trailing-semicolon)
(#2) Expected a trailing semicolon (declaration-block-trailing-semicolon)
(#1) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#2) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#2) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#2) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#2) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#2) Expected line length to be no more than 132 characters (max-line-length)
(#1) Expected newline after "," (selector-list-comma-newline-after)
(#2) Expected newline after "," (selector-list-comma-newline-after)
report/overviewstats/styles.less
(#1) Expected newline after "," (selector-list-comma-newline-after)

PHPDocs style problems

(45 errors, 15 warnings)

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

report/overviewstats/classes/chart.php
(#2) Empty line found after PHP open tag
(#18) No one-line description found in phpdocs for file
(#42) Phpdocs for function report_overviewstats_chart::__construct has incomplete parameters list
(#74) Phpdocs for function report_overviewstats_chart::inject_page_requirements has incomplete parameters list
(#26) Class report_overviewstats_chart does not have @copyright tag
(#26) Class report_overviewstats_chart does not have @license tag
report/overviewstats/classes/chart_countries.php
(#2) Empty line found after PHP open tag
(#18) No one-line description found in phpdocs for file
(#31) There is no description in phpdocs for function get_content
(#49) There is no description in phpdocs for function inject_page_requirements
(#49) Phpdocs for function report_overviewstats_chart_countries::inject_page_requirements has incomplete parameters list
(#26) Class report_overviewstats_chart_countries does not have @copyright tag
(#26) Class report_overviewstats_chart_countries does not have @license tag
report/overviewstats/classes/chart_courses.php
(#2) Empty line found after PHP open tag
(#18) No one-line description found in phpdocs for file
(#33) There is no description in phpdocs for function get_content
(#77) There is no description in phpdocs for function inject_page_requirements
(#77) Phpdocs for function report_overviewstats_chart_courses::inject_page_requirements has incomplete parameters list
(#28) Class report_overviewstats_chart_courses does not have @copyright tag
(#28) Class report_overviewstats_chart_courses does not have @license tag
report/overviewstats/classes/chart_enrolments.php
(#2) Empty line found after PHP open tag
(#18) No one-line description found in phpdocs for file
(#36) There is no description in phpdocs for function get_content
(#61) There is no description in phpdocs for function inject_page_requirements
(#61) Phpdocs for function report_overviewstats_chart_enrolments::inject_page_requirements has incomplete parameters list
(#28) Class report_overviewstats_chart_enrolments does not have @copyright tag
(#28) Class report_overviewstats_chart_enrolments does not have @license tag
report/overviewstats/classes/chart_langs.php
(#2) Empty line found after PHP open tag
(#33) There is no description in phpdocs for function get_content
(#51) There is no description in phpdocs for function inject_page_requirements
(#51) Phpdocs for function report_overviewstats_chart_langs::inject_page_requirements has incomplete parameters list
(#28) Class report_overviewstats_chart_langs does not have @copyright tag
(#28) Class report_overviewstats_chart_langs does not have @license tag
report/overviewstats/classes/chart_logins.php
(#2) Empty line found after PHP open tag
(#18) No one-line description found in phpdocs for file
(#33) There is no description in phpdocs for function get_content
(#52) There is no description in phpdocs for function inject_page_requirements
(#52) Phpdocs for function report_overviewstats_chart_logins::inject_page_requirements has incomplete parameters list
(#28) Class report_overviewstats_chart_logins does not have @copyright tag
(#28) Class report_overviewstats_chart_logins does not have @license tag
report/overviewstats/classes/manager.php
(#2) Empty line found after PHP open tag
(#18) No one-line description found in phpdocs for file
(#26) Class report_overviewstats_manager does not have @copyright tag
(#26) Class report_overviewstats_manager does not have @license tag
report/overviewstats/db/access.php
(#2) Empty line found after PHP open tag
(#18) No one-line description found in phpdocs for file
report/overviewstats/index.php
(#2) Empty line found after PHP open tag
report/overviewstats/lang/en/report_overviewstats.php
(#2) Empty line found after PHP open tag
(#18) No one-line description found in phpdocs for file
(#19) Package report_verviewstats is not valid
report/overviewstats/lib.php
(#2) Empty line found after PHP open tag
report/overviewstats/locallib.php
(#2) Empty line found after PHP open tag
report/overviewstats/renderer.php
(#2) Empty line found after PHP open tag
(#29) Class report_overviewstats_renderer does not have @copyright tag
(#29) Class report_overviewstats_renderer does not have @license tag
report/overviewstats/settings.php
(#2) Empty line found after PHP open tag
(#18) No one-line description found in phpdocs for file
(#20) Category admin is not valid
report/overviewstats/version.php
(#2) Empty line found after PHP open tag
(#18) 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

(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]