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

(172 errors, 7 warnings)

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

admin/tool/globaladtool/classes/privacy/provider.php
(#24) Expected MOODLE_INTERNAL check or config.php inclusion
(#27) Whitespace found at end of line
admin/tool/globaladtool/globaladtool_form.php
(#21) Whitespace found at end of line
(#27) Whitespace found at end of line
(#28) Opening brace must be the last content on the line
(#33) Whitespace found at end of line
(#35) Commas (,) must be followed by white space.
(#62) Whitespace found at end of line
(#63) Whitespace found at end of line
(#67) Whitespace found at end of line
(#71) Whitespace found at end of line
(#81) Spaces must be used to indent lines; tabs are not allowed
(#81) Tab found within whitespace
(#81) Line indented incorrectly; expected at least 8 spaces, found 2
(#82) Spaces must be used to indent lines; tabs are not allowed
(#82) Tab found within whitespace
(#82) Line indented incorrectly; expected at least 8 spaces, found 2
(#84) Whitespace found at end of line
(#100) Expected "if (...) {\n"; found "if(...) {\n"
(#104) Spaces must be used to indent lines; tabs are not allowed
(#104) Tab found within whitespace
(#104) Line indented incorrectly; expected at least 28 spaces, found 25
(#104) Whitespace found at end of line
(#111) Whitespace found at end of line
(#118) Expected "if (...) {\n"; found "if(...) {\n"
(#122) Line exceeds 132 characters; contains 141 characters
(#122) Whitespace found at end of line
(#127) Spaces must be used for alignment; tabs are not allowed
(#127) Tab found within whitespace
(#127) Whitespace found at end of line
(#129) Whitespace found at end of line
(#130) Whitespace found at end of line
(#131) Whitespace found at end of line
(#132) Spaces must be used for alignment; tabs are not allowed
(#132) Tab found within whitespace
(#132) Line indented incorrectly; expected at least 8 spaces, found 7
(#133) Spaces must be used for alignment; tabs are not allowed
(#133) Tab found within whitespace
(#133) Whitespace found at end of line
(#135) Spaces must be used for alignment; tabs are not allowed
(#135) Tab found within whitespace
(#135) Whitespace found at end of line
(#136) Commas (,) must be followed by white space.
(#136) Commas (,) must be followed by white space.
(#140) Whitespace found at end of line
admin/tool/globaladtool/index.php
(#60) Expected 1 space before "!="; 0 found
(#60) Expected 1 space after "!="; 0 found
(#60) Expected 1 space before "!="; 0 found
(#60) Expected 1 space after "!="; 0 found
(#60) Expected 1 space before "!="; 0 found
(#60) Expected 1 space after "!="; 0 found
(#60) Expected 1 space before "!="; 0 found
(#60) Expected 1 space after "!="; 0 found
(#60) Expected 1 space before "!="; 0 found
(#60) Expected 1 space after "!="; 0 found
(#60) Expected 1 space before "!="; 0 found
(#60) Expected 1 space after "!="; 0 found
(#60) Expected 1 space before "!="; 0 found
(#60) Expected 1 space after "!="; 0 found
(#60) Expected 1 space before "!="; 0 found
(#60) Expected 1 space after "!="; 0 found
(#60) Expected 1 space before "!="; 0 found
(#60) Expected 1 space after "!="; 0 found
(#60) Line exceeds maximum limit of 180 characters; contains 227 characters
(#78) Whitespace found at end of line
(#94) Whitespace found at end of line
(#97) Expected 1 space before "!="; 0 found
(#97) Expected 1 space after "!="; 0 found
(#97) Expected 1 space before "!="; 0 found
(#97) Expected 1 space after "!="; 0 found
(#97) Expected 1 space before "!="; 0 found
(#97) Expected 1 space after "!="; 0 found
(#97) Expected 1 space before "!="; 0 found
(#97) Expected 1 space after "!="; 0 found
(#97) Expected 1 space before "!="; 0 found
(#97) Expected 1 space after "!="; 0 found
(#97) Expected 1 space before "!="; 0 found
(#97) Expected 1 space after "!="; 0 found
(#97) Expected 1 space before "!="; 0 found
(#97) Expected 1 space after "!="; 0 found
(#97) Expected 1 space before "!="; 0 found
(#97) Expected 1 space after "!="; 0 found
(#97) Expected 1 space before "!="; 0 found
(#97) Expected 1 space after "!="; 0 found
(#97) Line exceeds maximum limit of 180 characters; contains 227 characters
(#115) Whitespace found at end of line
(#117) Whitespace found at end of line
(#119) Whitespace found at end of line
(#120) Whitespace found at end of line
(#130) Line indented incorrectly; expected at least 12 spaces, found 10
(#133) Whitespace found at end of line
(#138) Whitespace found at end of line
(#144) Whitespace found at end of line
(#158) Whitespace found at end of line
admin/tool/globaladtool/lang/en/tool_globaladtool.php
(#16) Whitespace found at end of line
admin/tool/globaladtool/lang/es/tool_globaladtool.php
(#16) Whitespace found at end of line
admin/tool/globaladtool/lib.php
(#28) Opening brace must be the last content on the line
(#31) Whitespace found at end of line
(#34) Whitespace found at end of line
(#41) Expected "if (...) {\n"; found "if(...){\n"
(#43) Line indented incorrectly; expected at least 12 spaces, found 10
(#45) Whitespace found at end of line
(#49) Commas (,) must be followed by white space.
(#55) Expected "if (...) {\n"; found "if(...) {\n"
(#63) Whitespace found at end of line
(#64) Expected "if (...) {\n"; found "if (...){\n"
(#66) Whitespace found at end of line
(#80) Variable "block_manager" must not contain underscores.
(#81) Variable "block_manager" must not contain underscores.
(#83) Variable "block_manager" must not contain underscores.
(#85) Variable "block_manager" must not contain underscores.
(#86) Whitespace found at end of line
(#88) Whitespace found at end of line
(#98) Whitespace found at end of line
(#100) Whitespace found at end of line
(#102) Whitespace found at end of line
(#110) Whitespace found at end of line
(#111) Whitespace found at end of line
(#116) Whitespace found at end of line
(#122) Opening brace must be the last content on the line
(#133) Commas (,) must be followed by white space.
(#134) Whitespace found at end of line
(#144) Whitespace found at end of line
(#147) Whitespace found at end of line
(#158) Variable "block_manager" must not contain underscores.
(#159) Variable "block_manager" must not contain underscores.
(#161) Variable "block_manager" must not contain underscores.
(#163) Variable "block_manager" must not contain underscores.
(#164) Whitespace found at end of line
(#180) Whitespace found at end of line
(#188) Whitespace found at end of line
(#189) Whitespace found at end of line
(#191) Whitespace found at end of line
(#192) Whitespace found at end of line
(#212) Line indented incorrectly; expected at least 12 spaces, found 10
(#214) Whitespace found at end of line
(#231) Whitespace found at end of line
(#232) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#241) Whitespace found at end of line
(#244) Whitespace found at end of line
(#254) Opening brace must be the last content on the line
(#254) Line exceeds 132 characters; contains 160 characters
(#285) Variable "block_manager" must not contain underscores.
(#286) Variable "block_manager" must not contain underscores.
(#286) Whitespace found at end of line
(#288) Variable "block_manager" must not contain underscores.
(#289) Whitespace found at end of line
(#290) Variable "block_manager" must not contain underscores.
(#291) Whitespace found at end of line
(#292) Line indented incorrectly; expected 12 spaces, found 16
(#293) Whitespace found at end of line
(#294) Line indented incorrectly; expected 16 spaces, found 20
(#296) Line indented incorrectly; expected 20 spaces, found 24
(#300) Line indented incorrectly; expected 20 spaces, found 24
(#302) Line indented incorrectly; expected 16 spaces, found 20
(#303) Whitespace found at end of line
(#304) Line indented incorrectly; expected 12 spaces, found 16
(#305) Whitespace found at end of line
(#306) Whitespace found at end of line
(#311) Whitespace found at end of line
(#320) Line exceeds 132 characters; contains 137 characters
(#329) Commas (,) must be followed by white space.
(#329) Commas (,) must be followed by white space.
(#329) Commas (,) must be followed by white space.
(#329) Line exceeds maximum limit of 180 characters; contains 207 characters
(#330) Whitespace found at end of line
(#339) Whitespace found at end of line
(#355) Inline comments must end in full-stops, exclamation marks, or question marks
(#359) Line indented incorrectly; expected at least 24 spaces, found 23
(#359) Line exceeds 132 characters; contains 174 characters
(#364) Whitespace found at end of line
(#369) Whitespace found at end of line
admin/tool/globaladtool/settings.php
(#17) Expected 2 space(s) before asterisk; 1 found
(#18) Expected 2 space(s) before asterisk; 1 found
(#19) Expected 2 space(s) before asterisk; 1 found
(#20) Expected 2 space(s) before asterisk; 1 found
admin/tool/globaladtool/version.php
(#21) Whitespace found at end of line
(#23) Whitespace found at end of line
(#25) 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

(8 errors, 0 warnings)

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

admin/tool/globaladtool/styles.css
(#2) Expected newline before "}" (block-closing-brace-newline-before)
(#2) Expected single space before "!" (declaration-bang-space-before)
(#8) Expected single space before "!" (declaration-bang-space-before)
(#2) Unexpected !important (declaration-no-important)
(#8) Unexpected !important (declaration-no-important)
(#2) Unexpected whitespace at end of line (no-eol-whitespace)
(#7) Expected newline after "," (selector-list-comma-newline-after)
(#7) Unexpected whitespace before "," (selector-list-comma-space-before)

PHPDocs style problems

(15 errors, 0 warnings)

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

admin/tool/globaladtool/classes/privacy/provider.php
(#24) Class provider is not documented
(#16) No one-line description found in phpdocs for file
admin/tool/globaladtool/globaladtool_form.php
(#26) Class globaladtool_form is not documented
(#28) Function globaladtool_form::definition is not documented
(#16) No one-line description found in phpdocs for file
admin/tool/globaladtool/index.php
(#16) No one-line description found in phpdocs for file
admin/tool/globaladtool/lang/en/tool_globaladtool.php
(#17) No one-line description found in phpdocs for file
admin/tool/globaladtool/lang/es/tool_globaladtool.php
(#17) No one-line description found in phpdocs for file
admin/tool/globaladtool/lib.php
(#28) Function tool_globaladtool_wherecreate is not documented
(#122) Function tool_globaladtool_wheredelete is not documented
(#197) Function tool_globaladtool_blocks is not documented
(#254) Function tool_globaladtool_createdash is not documented
(#16) No one-line description found in phpdocs for file
admin/tool/globaladtool/settings.php
(#16) No one-line description found in phpdocs for file
admin/tool/globaladtool/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

(1 errors, 1 warnings)

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

Problems running grunt
Task "stylelint:css" failed. Use --force to continue.

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]