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

(2 errors, 9 warnings)

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

availability/condition/maxviews/classes/condition.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#138) Line exceeds 132 characters; contains 134 characters
availability/condition/maxviews/classes/form/override.php
(#19) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
availability/condition/maxviews/classes/frontend.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
availability/condition/maxviews/classes/output/index.php
(#18) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#67) Line exceeds 132 characters; contains 143 characters
availability/condition/maxviews/classes/output/renderer.php
(#18) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
availability/condition/maxviews/db/upgrade.php
(#17) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#28) Functions must not contain multiple empty lines in a row; found 2 empty lines
availability/condition/maxviews/lib.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
availability/condition/maxviews/version.php
(#28) Inline comments must end in full-stops, exclamation marks, or question marks

Javascript coding style problems

(0 errors, 1 warnings)

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

availability/condition/maxviews/yui/src/form/js/form.js
(#6) Identifier 'availability_maxviews' is not in camel case. (camelcase)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(6 errors, 2 warnings)

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

availability/condition/maxviews/classes/condition.php
(#38) Variable condition::$viewslimit is not documented
availability/condition/maxviews/classes/form/override.php
(#32) Function override::definition is not documented
availability/condition/maxviews/classes/output/index.php
(#43) Function index::export_for_template is not documented
(#34) Variable index::$reports is not documented
(#36) Phpdocs for function index::__construct has incomplete parameters list
availability/condition/maxviews/db/upgrade.php
(#19) Package is not specified for function xmldb_availability_maxviews_upgrade. It is also not specified in file-level phpdocs
(#17) File-level phpdocs block is not found
availability/condition/maxviews/lib.php
(#27) Function availability_maxviews_extend_navigation_course is not documented

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, 0 warnings)

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

availability/condition/maxviews/yui/build/moodle-availability_maxviews-form/moodle-availability_maxviews-form-min.js
Uncommitted change detected.

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]