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

(42 errors, 5 warnings)

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

report/modstats/categories.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
(#29) Whitespace found at end of line
(#32) Variable "cat_names" must not contain underscores.
(#34) Variable "cat_names" must not contain underscores.
(#37) Variable "cat_names" must not contain underscores.
(#40) Variable "cat_names" must not contain underscores.
report/modstats/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
(#40) Line exceeds maximum limit of 180 characters; contains 209 characters
(#40) The use of the AS keyword to alias tables is bad for cross-db
(#43) The use of the AS keyword to alias tables is bad for cross-db
(#45) Whitespace found at end of line
(#47) The use of the AS keyword to alias tables is bad for cross-db
(#47) Line exceeds maximum limit of 180 characters; contains 232 characters
(#51) The use of the AS keyword to alias tables is bad for cross-db
(#51) Line exceeds 132 characters; contains 145 characters
(#53) Whitespace found at end of line
(#60) Whitespace found at end of line
(#61) Whitespace found at end of line
(#64) Variable "chart_labels" must not contain underscores.
(#65) Variable "chart_values" must not contain underscores.
(#74) Variable "chart_labels" must not contain underscores.
(#74) Whitespace found at end of line
(#75) Variable "chart_values" must not contain underscores.
(#79) Line exceeds maximum limit of 180 characters; contains 188 characters
(#80) Whitespace found at end of line
(#89) Variable "chart_values" must not contain underscores.
(#92) Variable "chart_labels" must not contain underscores.
report/modstats/modusage.php
(#23) "require" must be immediately followed by an open parenthesis
(#24) "require_once" must be immediately followed by an open parenthesis
(#41) Line indented incorrectly; expected at least 4 spaces, found 2
(#42) The use of the AS keyword to alias tables is bad for cross-db
(#42) Line exceeds 132 characters; contains 133 characters
(#44) Line indented incorrectly; expected at least 4 spaces, found 2
(#45) Whitespace found at end of line
(#46) Line indented incorrectly; expected at least 4 spaces, found 2
(#47) The use of the AS keyword to alias tables is bad for cross-db
(#47) Line exceeds 132 characters; contains 155 characters
(#49) Line indented incorrectly; expected at least 4 spaces, found 2
(#58) Line indented incorrectly; expected at least 4 spaces, found 2
(#60) Whitespace found at end of line
(#62) Whitespace found at end of line
(#63) Line indented incorrectly; expected at least 4 spaces, found 2
report/modstats/settings.php
(#25) Line exceeds 132 characters; contains 153 characters
report/modstats/version.php
(#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

(11 errors, 0 warnings)

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

report/modstats/categories.php
(#19) Package report is not valid
(#25) Class categories_form is not documented
(#26) Function categories_form::definition is not documented
report/modstats/index.php
(#19) Package report is not valid
(#29) Constant ALL_CATEGORIES is not documented
report/modstats/lang/en/report_modstats.php
(#19) Package report is not valid
report/modstats/lang/pt_br/report_modstats.php
(#19) Package report is not valid
report/modstats/modusage.php
(#19) Package report is not valid
(#28) Constant ALL_CATEGORIES is not documented
report/modstats/settings.php
(#19) Package report is not valid
report/modstats/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]