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

(46 errors, 7 warnings)

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

report/modstats/constants.php
(#1) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
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
(#26) "require_once" must be immediately followed by an open parenthesis
(#39) Line exceeds maximum limit of 180 characters; contains 214 characters
(#39) The use of the AS keyword to alias tables is bad for cross-db
(#42) The use of the AS keyword to alias tables is bad for cross-db
(#44) Whitespace found at end of line
(#46) The use of the AS keyword to alias tables is bad for cross-db
(#46) Line exceeds maximum limit of 180 characters; contains 237 characters
(#50) The use of the AS keyword to alias tables is bad for cross-db
(#50) Line exceeds 132 characters; contains 145 characters
(#52) Whitespace found at end of line
(#60) Whitespace found at end of line
(#63) Variable "chart_labels" must not contain underscores.
(#64) Variable "chart_values" must not contain underscores.
(#73) Variable "chart_labels" must not contain underscores.
(#73) Whitespace found at end of line
(#74) 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
(#25) "require_once" must be immediately followed by an open parenthesis
(#40) Line indented incorrectly; expected at least 4 spaces, found 2
(#41) The use of the AS keyword to alias tables is bad for cross-db
(#41) Line exceeds 132 characters; contains 133 characters
(#43) Line indented incorrectly; expected at least 4 spaces, found 2
(#44) Whitespace found at end of line
(#45) Line indented incorrectly; expected at least 4 spaces, found 2
(#46) The use of the AS keyword to alias tables is bad for cross-db
(#46) Line exceeds 132 characters; contains 155 characters
(#48) Line indented incorrectly; expected at least 4 spaces, found 2
(#57) Line indented incorrectly; expected at least 4 spaces, found 2
(#59) Whitespace found at end of line
(#61) Whitespace found at end of line
(#62) Line indented incorrectly; expected at least 4 spaces, found 2
report/modstats/report_modstats_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
(#30) Whitespace found at end of line
(#33) Variable "cat_names" must not contain underscores.
(#35) Variable "cat_names" must not contain underscores.
(#39) Inline comments must start with a capital letter, digit or 3-dots sequence
(#39) Inline comments must end in full-stops, exclamation marks, or question marks
(#42) Whitespace found at end of line
(#46) Variable "cat_names" must not contain underscores.
(#49) Variable "cat_names" must not contain underscores.
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

(10 errors, 0 warnings)

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

report/modstats/constants.php
(#19) Package report is not valid
report/modstats/index.php
(#19) Package report is not valid
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
report/modstats/report_modstats_categories_form.php
(#26) Class report_modstats_categories_form is not documented
(#27) Function report_modstats_categories_form::definition is not documented
(#19) Package report is not valid
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]


Gherkin .feature problems

(0 errors, 0 warnings)

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