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

(5 errors, 20 warnings)

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

local/temporary_enrolments/tests/privacy_test.php
(#34) Member variable "course_contexts" must not contain underscores.
(#103) Inline comments must end in full-stops, exclamation marks, or question marks
(#108) Inline comments must end in full-stops, exclamation marks, or question marks
(#114) This comment is 50% valid code; is this commented out code?
(#154) Commas (,) must be followed by white space.
(#154) Commas (,) must be followed by white space.
(#165) Line exceeds 132 characters; contains 133 characters
(#186) Inline comments must end in full-stops, exclamation marks, or question marks
(#186) This comment is 47% valid code; is this commented out code?
(#193) Inline comments must end in full-stops, exclamation marks, or question marks
(#193) This comment is 47% valid code; is this commented out code?
(#200) Inline comments must end in full-stops, exclamation marks, or question marks
(#200) This comment is 46% valid code; is this commented out code?
(#206) Inline comments must end in full-stops, exclamation marks, or question marks
(#218) Inline comments must end in full-stops, exclamation marks, or question marks
(#218) This comment is 53% valid code; is this commented out code?
(#227) Inline comments must end in full-stops, exclamation marks, or question marks
(#227) This comment is 47% valid code; is this commented out code?
(#235) Inline comments must end in full-stops, exclamation marks, or question marks
(#250) Inline comments must start with a capital letter, digit or 3-dots sequence
(#300) Inline comments must end in full-stops, exclamation marks, or question marks
(#331) Inline comments must end in full-stops, exclamation marks, or question marks
local/temporary_enrolments/tests/temporary_enrolments_test.php
(#140) Public method name "local_temporary_enrolments_testcase::emailHas" must be in lower-case letters only
(#189) Line indented incorrectly; expected at least 16 spaces, found 12
(#593) Inline comments must start with a capital letter, digit or 3-dots sequence

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]

local/temporary_enrolments/classes/privacy/provider.php
(#142) Phpdocs for function provider::_get_contexts_for_userid has incomplete parameters list
(#257) Phpdocs for function provider::delete_for_users_in_contexts has incomplete parameters list
local/temporary_enrolments/tests/privacy_test.php
(#29) Class local_temporary_enrolments_privacy_testcase is not documented
(#31) Variable local_temporary_enrolments_privacy_testcase::$role is not documented
(#32) Variable local_temporary_enrolments_privacy_testcase::$users is not documented
(#33) Variable local_temporary_enrolments_privacy_testcase::$courses is not documented
(#34) Variable local_temporary_enrolments_privacy_testcase::$course_contexts is not documented
local/temporary_enrolments/tests/temporary_enrolments_test.php
(#34) Class local_temporary_enrolments_testcase is not documented
(#36) Variable local_temporary_enrolments_testcase::$eventid is not documented
(#135) Phpdocs for function local_temporary_enrolments_testcase::emailHas has incomplete parameters list
(#21) Category phpunit 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]