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

(38 errors, 3 warnings)

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

repository/coursefilearea/db/access.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
repository/coursefilearea/file.php
(#40) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.
(#87) Empty IF statement detected
(#125) Empty IF statement detected
(#190) Expected 1 space(s) before asterisk; 0 found
(#191) Expected 1 space(s) before asterisk; 0 found
(#192) Expected 1 space(s) before asterisk; 0 found
repository/coursefilearea/lib.php
(#24) Expected 1 space(s) before asterisk; 0 found
(#31) Expected MOODLE_INTERNAL check or config.php inclusion
(#41) Expected 5 space(s) before asterisk; 4 found
(#42) Expected 5 space(s) before asterisk; 4 found
(#43) Expected 5 space(s) before asterisk; 4 found
(#116) Variable "root_path" must not contain underscores.
(#117) Variable "root_path" must not contain underscores.
(#118) Variable "root_path" must not contain underscores.
(#120) Variable "root_path" must not contain underscores.
(#123) Variable "root_path" must not contain underscores.
(#125) Variable "root_path" must not contain underscores.
(#125) Variable "root_path" must not contain underscores.
(#126) Variable "root_path" must not contain underscores.
(#129) Variable "current_path" must not contain underscores.
(#131) Variable "current_path" must not contain underscores.
(#134) Variable "current_path" must not contain underscores.
(#144) Expected 5 space(s) before asterisk; 4 found
(#145) Expected 5 space(s) before asterisk; 4 found
(#146) Expected 5 space(s) before asterisk; 4 found
(#147) Expected 5 space(s) before asterisk; 4 found
(#162) Expected 5 space(s) before asterisk; 4 found
(#163) Expected 5 space(s) before asterisk; 4 found
(#164) Expected 5 space(s) before asterisk; 4 found
(#165) Expected 5 space(s) before asterisk; 4 found
(#166) Public method name "repository_coursefilearea::checkURL" must be in lower-case letters only
repository/coursefilearea/test.php
(#18) Expected 1 space(s) before asterisk; 0 found
(#19) Expected 1 space(s) before asterisk; 0 found
(#20) Expected 1 space(s) before asterisk; 0 found
(#21) Expected 1 space(s) before asterisk; 0 found
(#22) Expected 1 space(s) before asterisk; 0 found
(#23) Expected 1 space(s) before asterisk; 0 found
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#26) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.
repository/coursefilearea/version.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.

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

(2 errors, 0 warnings)

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

repository/coursefilearea/file.php
(#17) No one-line description found in phpdocs for file
repository/coursefilearea/lib.php
(#17) No one-line description found in phpdocs for file

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]