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

(16 errors, 2 warnings)

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

blocks/globalad/block_globalad.php
(#26) Expected 1 space before opening brace; found 0
(#37) Inline comments must end in full-stops, exclamation marks, or question marks
(#45) Opening brace must be the last content on the line
(#51) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#53) Whitespace found at end of line
(#54) Whitespace found at end of line
(#68) Empty IF statement detected
(#81) Line indented incorrectly; expected at least 12 spaces, found 11
(#89) Whitespace found at end of line
(#95) No space found before comment text; expected "// Editar el anuncio global." but found "//Editar el anuncio global."
blocks/globalad/classes/privacy/provider.php
(#24) Expected MOODLE_INTERNAL check or config.php inclusion
(#27) Whitespace found at end of line
blocks/globalad/db/access.php
(#31) Whitespace found at end of line
(#42) Whitespace found at end of line
blocks/globalad/settings.php
(#35) Spaces must be used to indent lines; tabs are not allowed
(#35) Tab found within whitespace
blocks/globalad/version.php
(#21) Whitespace found at end of line
(#23) Whitespace found at end of line

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

(13 errors, 0 warnings)

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

blocks/globalad/block_globalad.php
(#24) Class block_globalad is not documented
(#26) Function block_globalad::init is not documented
(#35) Function block_globalad::html_attributes is not documented
(#41) Function block_globalad::has_config is not documented
(#45) Function block_globalad::get_content is not documented
(#16) No one-line description found in phpdocs for file
blocks/globalad/classes/privacy/provider.php
(#24) Class provider is not documented
(#16) No one-line description found in phpdocs for file
blocks/globalad/db/access.php
(#16) No one-line description found in phpdocs for file
blocks/globalad/lang/en/block_globalad.php
(#16) No one-line description found in phpdocs for file
blocks/globalad/lang/es/block_globalad.php
(#16) No one-line description found in phpdocs for file
blocks/globalad/settings.php
(#16) No one-line description found in phpdocs for file
blocks/globalad/version.php
(#16) 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]