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

(41 errors, 8 warnings)

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

report/questionstats/constants.php
(#1) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
report/questionstats/index.php
(#23) "require" must be immediately followed by an open parenthesis
(#24) "require_once" must be immediately followed by an open parenthesis
(#25) "require_once" must be immediately followed by an open parenthesis
(#26) "require_once" must be immediately followed by an open parenthesis
(#37) Variable "extraQuery" must be all lower-case
(#40) Variable "extraQuery" must be all lower-case
(#42) Variable "extraQuery" must be all lower-case
(#44) Variable "extraQuery" must be all lower-case
(#46) Variable "extraQuery" must be all lower-case
(#50) The use of the AS keyword to alias tables is bad for cross-db
(#50) Variable "extraQuery" must be all lower-case
(#50) Line exceeds 132 characters; contains 180 characters
(#53) The use of the AS keyword to alias tables is bad for cross-db
(#53) Variable "extraQuery" must be all lower-case
(#60) Line exceeds 132 characters; contains 135 characters
(#63) Variable "chart_labels" must not contain underscores.
(#64) Variable "chart_values" must not contain underscores.
(#66) Variable "ctype_name" must not contain underscores.
(#76) Variable "ctype_name" must not contain underscores.
(#78) Variable "ctype_name" must not contain underscores.
(#79) Variable "ctype_name" must not contain underscores.
(#82) Variable "chart_labels" must not contain underscores.
(#82) Variable "ctype_name" must not contain underscores.
(#82) Whitespace found at end of line
(#83) Variable "chart_values" must not contain underscores.
(#85) Variable "ctype_name" must not contain underscores.
(#85) Whitespace found at end of line
(#89) Whitespace found at end of line
(#96) Whitespace found at end of line
(#102) Variable "chart_values" must not contain underscores.
(#105) Variable "chart_labels" must not contain underscores.
report/questionstats/report_questionstats_categories_form.php
(#23) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#23) "require_once" must be immediately followed by an open parenthesis
(#24) "require_once" must be immediately followed by an open parenthesis
(#28) Whitespace found at end of line
(#30) Variable "cat_names" must not contain underscores.
(#31) Variable "cat_names" must not contain underscores.
(#32) Variable "cat_names" must not contain underscores.
(#33) Variable "cat_names" must not contain underscores.
(#34) Variable "cat_names" must not contain underscores.
(#35) Variable "cat_names" must not contain underscores.
(#37) Variable "cat_names" must not contain underscores.
report/questionstats/settings.php
(#25) Line exceeds 132 characters; contains 168 characters
report/questionstats/version.php
(#25) Inline comments must end in full-stops, exclamation marks, or question marks
(#26) Inline comments must end in full-stops, exclamation marks, or question marks
(#27) Inline comments must end in full-stops, exclamation marks, or question marks
(#28) Inline comments must end in full-stops, exclamation marks, or question marks
(#29) 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

(0 errors, 0 warnings)

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


PHPDocs style problems

(9 errors, 0 warnings)

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

report/questionstats/constants.php
(#19) Package report is not valid
report/questionstats/index.php
(#19) Package report is not valid
report/questionstats/lang/en/report_questionstats.php
(#19) Package report is not valid
report/questionstats/lang/pt_br/report_questionstats.php
(#19) Package report is not valid
report/questionstats/report_questionstats_categories_form.php
(#19) Package report is not valid
(#26) Class report_questionstats_categories_form is not documented
(#27) Function report_questionstats_categories_form::definition is not documented
report/questionstats/settings.php
(#19) Package report is not valid
report/questionstats/version.php
(#19) Package report 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

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


Gherkin .feature problems

(0 errors, 0 warnings)

This section shows problems detected in behat .feature files [More info]